ALoRa
ALoRa copied to clipboard
Value can not be NULL
Hi Ekwus, I have been running your Alora code for a while now, and it have been working OK. Lately I have several crashes, and I cant fix it. Do you know whats causing this ?
Hey
I've not check the Alora library in a while, maybe The Things Network API has changed. I'll try and find some time later to get the test system running to check that.
If you can provide a stack trace from your error that might help pin point this specific issue.
Cheers
Dave
This is what I could get out
This is another screenshoot. Hope it can be of some help, tracking down this nasty bug :-)
Hey
The payload_raw property of the data being received from TTN looks to be null! Either the API has changed or the service/message configuration has been changed on the TTN side
So could you please do a workaround then if your code detects that the rawmessage is null then do nothing to avoid crash, The message dont contain anythin of value anyway.. That the rawmessage isnull maybe is caused by faulty device or gateay ?
I've made a few changes to check for null and catch any exception thrown when the messages are being deserialised.
You should be able to pull the latest nuget package and give it a live test.
I downloaded and installed the new packet and running again, lets see if we can running without unwanted stopps related to bad devices. -Thanks alot Ekwus :-)