mcci-catena / arduino-lmic

LoraWAN-MAC-in-C library, adapted to run under the Arduino environment
https://forum.mcci.io/c/device-software/arduino-lmic/
MIT License
646 stars 212 forks source link

LMIC_unjoin() / LMIC_startJoining() sequence doesn't always reset channel mask #857

Open terrillmoore opened 2 years ago

terrillmoore commented 2 years ago

I've discovered that LMIC_unjoin() / LMIC_startJoining() doesn't always result in the US channel mask being reset to FF.FF.FF.FF.FF.FF.FF.FF.00 (which is it supposed to be). Some kind of collision between the state machine and the LMIC/Arduino_LoRaWAN implementation.