How can I decode LoRaWAN frames in ChirpStack Gateways?

Dear all,

I am encountering some issues with LoRaWAN frames in ChirpStack Gateways. According to the result, I need to understand the pay_payload , rx_info , and tx_info construction. Additionally, if these are transmitted in a MQTT topic and the feedback is in hexadecimal format, how can I decode it?

Case in point, I try to use lora-packet of library to assist me with the decoding process. This result is not ideal. Does anyone have similar experience or other methods?

I really appreciate you.

Source:
lora-packet: lora-packet

Gateway payload formats are available in the protobuf definitions, with some additional descriptions here:

https://www.chirpstack.io/docs/chirpstack-gateway-bridge/payloads/events.html

For decrypted device payloads, you will want to use an integration and have ChirpStack decrypt them for you before forwarding them on:

https://www.chirpstack.io/docs/chirpstack/integrations/events.html

If you’re asking how to decrypt the device payloads yourself, this probably isn’t the best place to ask, as most people here are using ChirpStack to do that work.

1 Like

Ok! I see. Thank you, sir!