I’m currently having some issues getting data into my application as it stops showing up in the app console as soon as I start sending a payload with some bytes in it.
My program is a (lightly) modified version of the I-Cube-lrwan software v1.2.0
let me first explain the program, you can go ahead and ignore this part if you want to jump to the actual problem:
My nodes are joining in OTAA mode, and then start pinging the server with blank payload until they get a downlink containing a timestamp (the timestamp will obviously not be the real time but this is not required for the project I have in mind)
Once they do get the timestamps, the nodes then use it in order to send their uplinks during the night every 2 days (so basically maximum 3 unconfirmed uplinks every week). Of course during testing sessions, it sends the data every 30 seconds for me to check if everything is working as planned.
The nodes will be monitoring the fouling speed of ventilation shaft, hence the maximum 3 uplink/week.
Now to get to the problems i’m encountering right now, until the node receive the downlink, it sends blank payload (on Fport 0 instead of the port 04 asked but I suppose it’s normal behaviour when sending no payload? When sending something it shows up with the correct port) which are correctly displayed both in the gateway console data, and in the application data.
But when the actual payloads is sent, it appears that messages from the nodes are correctly forwarded by the gateway (as seen in the gateway data), but not in the application (app console does not show any data and the node status is not updated)
The data is sent on Fport 04 as shown in the LoRaWAN 1.0.x packet decoder, so i don’t think it’s an issue related to other people having issues with the i-cube-lrwan software and fport0 data…
Am I missing something obvious here?
I know there are some issues with my implementation so feel free to point me out if i made something really bad here
Thanks in advance,
example of data received according to the gateway console:
Prior to downlink reception, forwarded to the app = 402A2E0126800100006287970A73
After downlink reception, not forwarded to app = 402A2E01268103000D0402F7F9C4A264