You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a few Grasshopper LoRaWAN boards operating in some remote locations, transmitting room temperature and humidity every 10 min.
I find that they transmit to the gateway for about a week and then they stop transmitting. When I pick up the sensor and reset they rejoin the gateway OK and carry on transmitting until I get the issue again. I think that it is hanging somewhere in the code
At the moment the transmitting code is inside an if statement:
if (!LoRaWAN.busy() && LoRaWAN.joined())
code here
end
Is this if statement robust enough to ensure that the code won't hang if the packet send fails? Is there something else that I can include?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I have a few Grasshopper LoRaWAN boards operating in some remote locations, transmitting room temperature and humidity every 10 min.
I find that they transmit to the gateway for about a week and then they stop transmitting. When I pick up the sensor and reset they rejoin the gateway OK and carry on transmitting until I get the issue again. I think that it is hanging somewhere in the code
At the moment the transmitting code is inside an if statement:
if (!LoRaWAN.busy() && LoRaWAN.joined())
code here
end
Is this if statement robust enough to ensure that the code won't hang if the packet send fails? Is there something else that I can include?
Thanks
The text was updated successfully, but these errors were encountered: