UnconfirmedDataDown decoding

I am successfully send a HEX message, using the Enqueue feature, to my end node: Dragino LHT65S. When I look at the UnconfirmedDataDown message in LoRaWAN frames where can I see the data I sent? I have tried using Base64 decoders on Phy_payload:frm_payload with no success.

1 Like

This may help:

Hello Liam,
Thank you for the links. There is quite a bit of data there but I could not find anything helpful. Maybe I am suffering from information overload.

The short answer is there is no easy way. The payload is encrypted and you must use your session key to decrypt it (networkSkey if its a MAC command, appSKey otherwise). The link above provided some repositories for doing so. Although I should preface this that I have never actually used these myself, but I think you are specifically looking for the function:

While this function is for uplinks, I don’t see why it wouldn’t work for downlinks as well.