Hi
I am new with LoraServer, and I am trying to understand how data is processed.
As you can see in the photo, when the gateway captures the node information, it looks like this, the data field is encoded in base 64(im not sure about this).
Aug 14 09:39:05 klk-wifc-0100EA local1.notice spf: JSON up: {“rxpk”:[{“tmst”:2437753524,“time”:“2019-08-14T13:39:05Z”,“chan”:6,“rfch”:1,“freq”:916.400000,“stat”:1,“modu”:“LORA”,“datr”:“SF8BW125”,“codr”:“4/5”,“lsnr”:12.2,“rssi”:-13,“size”:24,“data”:“QL2FyQHARACIZSytDcNbMyqnt5WxkOl4”}]}
To see how this information is published in the appserver I subscribed to this mosquitto address root@prueba-VirtualBox:/etc/lora-app-server# mosquitto_sub -t “application/#” -v, and received this information
application/1/device/58a0cb0000201c1f/rx {“applicationID”:“1”,“applicationName”:“olapp”,“deviceName”:“ol1f”,“devEUI”:“58a0cb0000201c1f”,“rxInfo”:[{“gatewayID”:“7276ff00450100ea”,“name”:“ifemto2”,“time”:“2019-08-14T13:39:05Z”,“rssi”:-13,“loRaSNR”:12.2,“location”:{“latitude”:-25.280154680549128,“longitude”:-57.56811261177064,“altitude”:0}}],“txInfo”:{“frequency”:916400000,“dr”:4},“adr”:true,“fCnt”:68,“fPort”:136,“data”:“CQs2AAAAAAAAAAA=”,“object”:{“HEX”:“090b360000000000000000”}}
The question is, why the information sent by the gateway and the information shown in the appserver are different, shouldn’t it be the same information?
The node I am using is a Tracknet TBOL-100 and the Gateway is a Kerlink IfemTocell.
If you need more information to response, please tell me.
Can someone help me too to decode this data, i not sure how is encoded the information send by the node so i dont know how write a javascript code to see parameters like temperature and others.
When i connect the same node with Orbiwise and Cayenne i can see this data:
But i dont understand how to reproduce this with LoraServer, when i select Cayenne LPP in the codec show me an error.
Thanks for the help.