Hi KPN,
I have a sensor network running on the TheThingsNetwork. The data gets transfered to our application server. The system is operational and works good.
I'm now testing the KPN Lora Network, implemented the keys and device address of one ot teh sensors and create a gateway to our application server. So far so good. The moment i send data from the sensor a json-packet is received at our application server.
My problem is that the payload data is not present in the json construct. In the TheThingsNetwork there is decoder option available to process the data that comes from the sensor. I'm missing this functionality on the KPN network.
The sensor-setup we created is a Pro Mini with RFM95W and BME280 sensor.
The data received looks like
{"DevEUI_location":{"DevEUI":"0059AC0000180300","DevAddr":"1420XXXX","Lrcid":"0059AC01","NwGeolocAlgo":"0","NwGeolocTdoaOpt":"0","Time":"2018-08-21T17:06:16.700+02:00","DevLocTime":"2018-08-21T17:06:16.700+02:00","DevLAT":"50.912807","DevLON":"5.883530","DevAlt":"0.000000","DevAcc":"0.000000","DevLocRadius":"109.501305","DevAltRadius":"0.000000","DevUlFCntUpUsed":"0","DevLocDilution":"0.517441","DevAltDilution":"0.000000","DevNorthVel":"-0.000000","DevEastVel":"-0.000000","CustomerID":"10000XXXX"}}
Hello TonB,
Problem solved,
Our application server works like a charm and picked up all the messages. Because it wasn't clear what the KPN server is sending i got side tracked. The tool https://webhook,site is a nice tool that makes things clear. Thx for the help.
Roel
Problem solved,
Our application server works like a charm and picked up all the messages. Because it wasn't clear what the KPN server is sending i got side tracked. The tool https://webhook,site is a nice tool that makes things clear. Thx for the help.
Roel
The uplink and location messages are two separate POSTs to your application server. I suspect you must look for the problem in your application server.
You could try generating a POST endpoint using https://webhook.site and temporarily using that in the KPN portal (as a replacement of your application server URL), then you can see the raw messages coming in in real-time.
You could try generating a POST endpoint using https://webhook.site and temporarily using that in the KPN portal (as a replacement of your application server URL), then you can see the raw messages coming in in real-time.
Hallo tonb,
If i turn off the geolocation i'm getting the right data.
{"DevEUI_uplink":{"Time":"2018-08-22T12:17:58.612+02:00","DevEUI":"0059AC0000180300","FPort":"1","FCntUp":"0","ADRbit":"1","MType":"2","FCntDn":"4","payload_hex":"2493648000","mic_hex":"f1cfe94c","Lrcid":"0059AC01","LrrRSSI":"-105.000000","LrrSNR":"8.000000","SpFact":"7","SubBand":"G1","Channel":"LC1","DevLrrCnt":"2","Lrrid":"FF010EDF","Late":"0","DevUlFCntUpUsed":"0","DevLocDilution":"0.178168","DevAltDilution":"0.000000","DevNorthVel":"0.000000","DevEastVel":"0.000000","CustomerID":"100006356","CustomerData":{"alr":{"pro":"Static","ver":"1"}},"ModelCfg":"0","DevAddr":"14203301"}}
But if i turn the geolocation on again this information disappears. Is this information send as one package? The application server listens to all information that is send to it.
If i turn off the geolocation i'm getting the right data.
{"DevEUI_uplink":{"Time":"2018-08-22T12:17:58.612+02:00","DevEUI":"0059AC0000180300","FPort":"1","FCntUp":"0","ADRbit":"1","MType":"2","FCntDn":"4","payload_hex":"2493648000","mic_hex":"f1cfe94c","Lrcid":"0059AC01","LrrRSSI":"-105.000000","LrrSNR":"8.000000","SpFact":"7","SubBand":"G1","Channel":"LC1","DevLrrCnt":"2","Lrrid":"FF010EDF","Late":"0","DevUlFCntUpUsed":"0","DevLocDilution":"0.178168","DevAltDilution":"0.000000","DevNorthVel":"0.000000","DevEastVel":"0.000000","CustomerID":"100006356","CustomerData":{"alr":{"pro":"Static","ver":"1"}},"ModelCfg":"0","DevAddr":"14203301"}}
But if i turn the geolocation on again this information disappears. Is this information send as one package? The application server listens to all information that is send to it.
Reageer
Meld je aan
Heb je al een account? Inloggen
Welkom
Nog geen account? Maak een account aan
Inloggen of registreren met sociaal netwerk
Inloggen met Facebook Login with LinkedInof
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.