Uplink Data
When adding an MQTT topic for Uplink Data type or an HTTP URL for dataUp type, the
gateway forwards the data from devices or IO interfaces.
Besides,
it supports adding wildcard "$gatewaySN", "$deviceName", "$devEUI", "$deveui", "objectID",
"objectName" to this MQTT topic. You can replace these wildcards with actual values to filter
received content when subscribing to the topic.
Note: HTTP data forwarding only supports uplink data in the Per Object format.
- Report Example for a LoRaWAN® Device without Device Model
- If a LoRaWAN® Device without device model (codec) is added to a MQTT/HTTP
data forwarding rule directly, the gateway will send the whole raw message.
Example for Combined report:
{ "applicationID": 1, //Metadata (optional) "applicationName": "server1", //Metadata (optional) "devEUI": "24e124527f418093", //Metadata (optional) "deviceID": 22, //Metadata (optional) "deviceName": "WT102", //Metadata (optional) "fCnt": 84, //Metadata (optional) "fPort": 85, //Metadata (optional) "gatewaySN": "6438F39254820003", //Metadata (optional) "gatewayTime": "2026-03-23T15:45:04+08:00", //Metadata (optional) "data": "DgPrCgDQBzxk", //Base64 format "rxInfo": [ { "altitude": 0, "gpsEnable": false, "latitude": 0, "loRaSNR": 12.2, //Metadata (optional) "longitude": 0, "mac": "c0ba1ffffe00733d", "name": "Local Gateway", "rssi": -57, //Metadata (optional) "time": "2026-03-23T07:45:04.526398Z" } ], "time": "2026-03-23T07:45:04.526398Z", "txInfo": { "adr": true, "codeRate": "4/5", "dataRate": { //Metadata (optional) "bandwidth": 125, "modulation": "LORA", "spreadFactor": 10 }, "frequency": 868100000 //Metadata (optional) } }Example for Per Object report:{ "applicationID": 1, "applicationName": "server1", "data": "DgPkCgDQBzxk", "devEUI": "24e124527f418093", "deviceID": 22, "deviceName": "WT102", "fCnt": 81, "fPort": 85, "gatewaySN": "6438F39254820003", "gatewayTime": "2026-03-23T15:39:04+08:00", "rxInfo": [ { "altitude": 0, "gpsEnable": false, "latitude": 0, "loRaSNR": 11.5, "longitude": 0, "mac": "c0ba1ffffe00733d", "name": "Local Gateway", "rssi": -58, "time": "2026-03-23T07:39:03.742711Z" } ], "time": "2026-03-23T07:39:03.742711Z", "txInfo": { "adr": true, "codeRate": "4/5", "dataRate": { "bandwidth": 125, "modulation": "LORA", "spreadFactor": 10 }, "frequency": 868100000 } }
- Report Example for Device Objects/Global Objects
- If the device objects are added to a MQTT/HTTP data forwarding rule, the gateway will
send the object values directly.Note: For AO/DO/DI interface types, the uplink data is reported only when the interface status changes.Example for Combined report:
{ "humidity": 50.3, "temperature": 27.92, "object": [ { "objectID": 475, "objectName": "Humidity" //Metadata (optional) }, { "objectID": 559, "objectName": "Temperature" //Metadata (optional) } ], "SNR": 13, //Metadata (LoRaWAN optional) "applicationID": 1, //Metadata (optional) "applicationName": "server1", //Metadata (optional) "dataRate": "SF10BW125", //Metadata (LoRaWAN optional) "devEUI": "24e124409f232585", //Metadata (LoRaWAN optional) "deviceID": 29, //Metadata (optional) "deviceName": "WT401", //Metadata (optional) "fCnt": 3, //Metadata (LoRaWAN optional) "fPort": 85, //Metadata (LoRaWAN optional) "frequency": 868300000, //Metadata (LoRaWAN optional) "gatewaySN": "6438F39254820003", //Metadata (optional) "gatewayTime": "2026-03-23T15:57:47+08:00", //Metadata (optional) "rssi": -48 //Metadata (LoRaWAN optional) }Example for Per Object report:{ "gatewaySN": "6438F39254820003", "info": { "objectID": 475, "objectValue": 50 }, "metadata": { //optional "deviceID": 29, "deviceName": "WT401", "objectName": "Humidity" } }{ "gatewaySN": "6438F39254820003", "info": { "objectID": 559, "objectValue": 27.72 }, "metadata": { //optional "deviceID": 29, "deviceName": "WT401", "objectName": "Temperature" } }//Metadata (optional) { "gatewaySN": "6438F39254820003", "info": { "objectID": 409, "objectValue": 13.8 }, "metadata": { //optional "deviceID": 29, "deviceName": "WT401", "objectName": "SNR" } }………