Closed davidbrodrick closed 3 years ago
Thanks for finding this! Just out of curiosity, are you using this version of the library because original MKRWAN has problems in your setup (eg old regions) or for other reasons?
I needed to use the AU915 sub-band 2, i.e. AU915_TTN. Do you advise against this version of the library?
No, absolutely, that's the right library for your use case!
The check for prefixing a leading zero is base 10, but the string is hex, so it should be base 16. This causes a nibble to be dropped when the value of the byte to be sent is between 0x0A and 0x0F, which causes and invalid and/or corrupted packet.