mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-07-16 07:32:52 +02:00
Reset LMIC on AT command provisioning
This commit is contained in:
@ -222,12 +222,12 @@ void onEvent (ev_t ev) {
|
||||
}
|
||||
else if (clientAction == eActionJoining)
|
||||
{
|
||||
if (ev != EV_JOINED && EV_REJOIN_FAILED)
|
||||
if (ev != EV_JOINED && ev != EV_REJOIN_FAILED && ev != EV_RESET)
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ev != EV_TXCOMPLETE && ev != EV_LINK_DEAD)
|
||||
if (ev != EV_TXCOMPLETE && ev != EV_LINK_DEAD && ev != EV_RESET)
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user