How to decrypt the RG1xx debug messages?

Answer

There are a lot of messages related to LoRa, Wi-Fi, remote management and etc in debug window. Depending on the area of interest, you can filter messages with a string to display messages you want see only.  


For example, if you are interested in looking at different types of LoRaWAN messages, filter with "msgtype" or your packet type to see if join request has been sent and uplink/downlink messages are sent/received as expected. In the below example, jreq is join request, dnmsg is downlink message and updf is uplink message.

  • RG1xx2A32B0 lora user.notice May 17 11:06:59 2024-05-17 11:06:56.001 [AIO:XDEB] [3|WS] > {"msgtype":"jreq","MHdr":0,"JoinEUI":"F9-C6-0E-CE-A3-AD-C6-BD","DevEUI":"00-25-CA-0A-00-01-59-FA","DevNonce":31818,"MIC":-1175426342,"RefTime":1715944018.869189,"DR":4,"Freq":904600000,"upinfo":{"rctx":0,"xtime":281477270906114,"gpstime":0,"fts":-1,"rssi":-42,"snr":10.75,"rxtime":1715944016.001405}} 


  • RG1xx2A32B0 lora user.notice May 17 11:06:52 2024-05-17 11:06:49.255 [AIO:XDEB] [3|WS] < {"msgtype":"dnmsg","DevEui":"00-00-00-00-00-00-00-00","regionid":1000,"dnmode":"updn","dC":0,"diid":17102,"pdu":"6065835201a0030060b9465b","priority":1,"RxDelay":1,"RX1DR":13,"RX1Freq":927500000,"xtime":281477263724260,"rctx":0,"MuxTime":1715944012.126807} 


  • RG1xx2A32B0 lora user.notice May 17 11:06:52 2024-05-17 11:06:48.811 [AIO:XDEB] [3|WS] > {"msgtype":"updf","MHdr":128,"DevAddr":22184805,"FCtrl":130,"FCnt":3,"FOpts":"0307","FPort":1,"FRMPayload":"8646EF419D90BB76CBA6C4","MIC":-1912354618,"RefTime":1715944011.682198,"DR":3,"Freq":905300000,"upinfo":{"rctx":0,"xtime":281477263724260,"gpstime":0,"fts":-1,"rssi":-11,"snr":7.5,"rxtime":1715944008.811094}}