I’m using full gateway and cannot AT+JOIN TheThingsNetwork with the LoRa-E5 module (FW version 4.0.11) in OTAA mode.
TheThingsNetwork sees the Join request and rejects it due to “MIC mismatch” according to TheThingsNetwork.
So, it seems that the LoRa-E5 is not calculating the MIC properly?
This is confirmed by the packet decoder at https://lorawan-packet-decoder-0ta6puiniaut.runkit.sh/
The raw packet is from TTN Application Console:
Assuming hex-encoded packet
Message Type = Join Request
PHYPayload = 0006000000000000800203902420F1F72CD9C9589BF71A
( PHYPayload = MHDR | MACPayload[..] | MIC )
MHDR = 00
MACPayload = 06000000000000800203902420F1F72CD9C9
MIC = 589BF71A (from packet) INVALID (tried MSB 0000-FFFF)
= 4E25A4D0 (expected, assuming 32 bits frame counter with MSB 0000)
( MACPayload = AppEUI | DevEUI | DevNonce )
AppEUI = 8000000000000006
DevEUI = 2CF7F12024900302
DevNonce = C9D9
Has anyone been able to make OTAA work?