More MQTT data information

Hello,
I am using the Chirpstack application server with a localhost MQTT connection to retrieve data from my object.
Current forwarded messages are providing the following information:

{
“applicationID”: “1”,
“applicationName”: “app_123”,
“deviceName”: “device-123”,
“devEUI”: “123456789”,
“rxInfo”: [
{
“gatewayID”: “aa555a0123456789”,
“uplinkID”: “c7276e2e-3e9f-4f09-84f5-348086e6eeb0”,
“name”: “gateway-123”,
“rssi”: -50,
“loRaSNR”: 10,
“location”: {
“latitude”: 0,
“longitude”: 0,
“altitude”: 0
}
}
],
“txInfo”: {
“frequency”: 868300000,
“dr”: 0
},
“adr”: false,
“fCnt”: 4,
“fPort”: 2,
“data”: “AAA”
}

I would ideally like more info such as the channel, crcStatus, spreading factor, devAddr (these information can be seen via the web app so I believe it is just a matter of what’s being forwarded via MQTT).

How do I achieve that ?

Thank you, Adrien M.

1 Like

In your chirpstack-application-server.toml you will find a config option marshaler, set this to json instead of json_v3. See also: https://www.chirpstack.io/application-server/integrations/events/.

1 Like

Hello Orne,
Thank you for the advice, the modification worked well.
Regards,
Adrien M.