Closed aqllmcdavid closed 10 months ago
thanks; I'll investigate
The payload MIAAAA==
is 30800000
in hex, i.e. 4 bytes
This can't possibly be a valid "Join Accept", which should be 17 or 33 bytes long
lora-packet should throw an error in fromWire(); I'll fix that.
I wrote a script that logs out packets as they are received from the sensors. Data messages work without issue, however when it tries to read in a
Join Accept
it will throw an error when stringify is attempted.If you uncomment the second payload,
.toString()
will work without issue.This occurs on every join accept received, currently I am simply ignoring the output of these message types but it would be extremely helpful if this data could be logged in this format.