LoRaWAN packet decoder

A frontend towards lora-packet.

 
Assuming base64-encoded packet
ANwAANB+1bNwHm/t9XzurwDIhgMK8sk=

Message Type = Join Request
      AppEUI = 70B3D57ED00000DC
      DevEUI = 00AFEE7CF5ED6F1E
    DevNonce = 86C8
         MIC = 030AF2C9

Note that erroneous packets are likely to show incorrect results: lora-packet can also validate the packet's integrity and decrypt the payload if you know the node's secrets. Or to install it as a command line utility:

  • install Node.js and npm
  • run: npm install -g lora-packet
  • run: lora-packet-decode --base64 ADFGUkFEshgAdAoAAACyGADXQ5rzpZs=
    or lora-packet-decode --hex 003146524144B21800740A000000B21800D7439AF3A59B (beware that removing leading zeroes affects proper decoding)