-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Description
Here's what I've just tried:
- Connect to the TTN using OTAA.
- Watch some successful uplinks and downlinks.
- Call
LoRaWANInterface::disconnect()
. - Wait a minute.
- Call
LoRaWANInterface::connect()
, receiving the join-accept message. - Watch some successful uplinks.
- Do something that requires a downlink, for example add a link check request.
- Downlinks fail with
[ERR ][LMAC]: MIC failed
.
My feeling is that there is a problem with downlink_counter
; while processing the first downlink it has the value of 65537.
I also tried disconnecting and then connecting again to a different TTN app, the behaviour was the same.
The documentation has a great deal to say in **NOTES ON RECONNECTION:**
but I'm not sure what any of it means for me. Just calling 'disconnect' and 'connect` seems like the obvious thing to do.
SHA 2a824a1
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug
Metadata
Metadata
Assignees
Labels
No labels