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.
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.
I think this is where the codec comes in handy. You can find an awesome codec pack that you can bolt onto chirpstack with minimal googleing. Mind you, the dragino codec only covers the uplink events, you would have to add onto it to translate the downlink commands as well.
He’s looking to decode downlinks not uplink
Same applies for uplinks on the node side. I think you are right.
@k3pto why you want to see the data on the LNS level? You can “see” them in the node.