Hello, it is my first post:
I have installed Loraserver system, and I have connected the MDOT-BOX with MUlTECH conduit (forward mode) with LoraServer system (lora-gateway, lora-app-server,loraServer).
I have also connected mosquitto topic with the command: “mosquitto_sub -v -t “application/3/node/008000000000XXXX/rx” -v -u someuser -P somepassword”.
This command provides the following information:
“application/3/node/008000000000db13/rx {“applicationID”:“3",“applicationName”:“Lantia_App”,“deviceName”:“MDOT-BOX”,“devEUI”:“008000000000db13",“rxInfo”:[{“mac”:“00800000a000060e”,“rssi”:-24,“loRaSNR”:11.8,“name”:“00800000a000060e”,“latitude”:0,“longitude”:0,“altitude”:0}],“txInfo”:{“frequency”:868300000,“dataRate”:{“modulation”:“LORA”,“bandwidth”:125,“spreadFactor”:12},“adr”:false,“codeRate”:“4/5"},“fCnt”:206,“fPort”:1,“data”:“Dgb/DggGTPEFA24LAZ0=“}”
For each JSON generated by Mosquitto, I have decripted it with Lora-packet and got this:
decoding from Base64: Dgb/DggGTPEFA24LAZ0=
Decoded packet
Message Type = Join Request
PHYPayload = 0E06FF0E08064CF105036E0B019D
( PHYPayload = AppEUI[8] | DevEUI[8] | DevNonce[2] | MIC[4] )
AppEUI = 05F14C06080EFF06
DevEUI = 9D010B6E03
DevNonce =
MIC = 6E0B019D
application/3/node/008000000000db13/rx {“applicationID”:“3”,“applicationName”:“Lantia_App”,“deviceName”:“MDOT-BOX”,“devEUI”:“008000000000db13”,“rxInfo”:[{“mac”:“00800000a000060e”,“rssi”:-24,“loRaSNR”:8.8,“name”:“00800000a000060e”,“latitude”:0,“longitude”:0,“altitude”:0}],“txInfo”:{“frequency”:868500000,“dataRate”:{“modulation”:“LORA”,“bandwidth”:125,“spreadFactor”:12},“adr”:false,“codeRate”:“4/5”},“fCnt”:207,“fPort”:1,“data”:“Dgb/DggGTOsFA4gLAZ0=“}
decoding from Base64: Dgb/DggGTOsFA4gLAZ0=
Decoded packet
Message Type = Join Request
PHYPayload = 0E06FF0E08064CEB0503880B019D
( PHYPayload = AppEUI[8] | DevEUI[8] | DevNonce[2] | MIC[4] )
AppEUI = 05EB4C06080EFF06
DevEUI = 9D010B8803
DevNonce =
MIC = 880B019D
application/3/node/008000000000db13/rx {“applicationID”:“3",“applicationName”:“Lantia_App”,“deviceName”:“MDOT-BOX”,“devEUI”:“008000000000db13",“rxInfo”:[{“mac”:“00800000a000060e”,“rssi”:-24,“loRaSNR”:12.2,“name”:“00800000a000060e”,“latitude”:0,“longitude”:0,“altitude”:0}],“txInfo”:{“frequency”:868300000,“dataRate”:{“modulation”:“LORA”,“bandwidth”:125,“spreadFactor”:12},“adr”:false,“codeRate”:“4/5"},“fCnt”:208,“fPort”:1,“data”:“Dgb/DggGTNkFA48LAZ0=“}
decoding from Base64: Dgb/DggGTNkFA48LAZ0=
Decoded packet
Message Type = Join Request
PHYPayload = 0E06FF0E08064CD905038F0B019D
( PHYPayload = AppEUI[8] | DevEUI[8] | DevNonce[2] | MIC[4] )
AppEUI = 05D94C06080EFF06
DevEUI = 9D010B8F03
DevNonce =
MIC = 8F0B019D
All the Json messages are JoinRequest type.
I would want to get the MDOT sensor data, i. e., temperature, pression, light, gps, but I don´t know how do this.
Best regard
Antonio