Skip to content

LoRaWAN: Join procedure hangs #10590

@teijokinnunen

Description

@teijokinnunen

Description

Target board: DISCO_L072CZ_LRWAN1
MBED version: 5.12.3 (SHA 0f959db)
Toolchain: GCC ARM (gcc version 7.3.1); using Eclipse IDE, built using "develop" config

We have seen this issue only once so far, so it's rather rare.

OTAA join procedure is triggered with connect():

17:54:45: MBE: [DBG ][LSTK]: Initializing MAC layer
17:54:45: MBE: [DBG ][LSTK]: Initiating OTAA
17:54:45: MBE: [DBG ][LSTK]: Sending Join Request ...
17:54:45: MBE: [DBG ][LMAC]: Frame prepared to send at port 0
17:54:45: MBE: [DBG ][LMAC]: TX: Channel=2, TX DR=5, RX1 DR=5
17:54:45: MBE: [DBG ][LSTK]: Transmission completed
17:54:50: MBE: [DBG ][LMAC]: RX1 slot open, Freq = 868500000
17:54:51: MBE: [DBG ][LMAC]: RX2 slot open, Freq = 869525000
17:54:52: MBE: [DBG ][LMAC]: Frame prepared to send at port 0
17:54:52: MBE: [DBG ][LMAC]: TX: Channel=1, TX DR=4, RX1 DR=4
17:54:52: MBE: [DBG ][LSTK]: Transmission completed
17:54:57: MBE: [DBG ][LMAC]: RX1 slot open, Freq = 868300000
17:54:58: MBE: [DBG ][LMAC]: RX2 slot open, Freq = 869525000
17:54:58: MBE: [DBG ][LMAC]: Frame prepared to send at port 0
17:54:58: MBE: [DBG ][LMAC]: DC enforced: Transmitting in 5627 ms
17:55:04: MBE: [DBG ][LMAC]: TX: Channel=1, TX DR=3, RX1 DR=3
17:55:04: MBE: [DBG ][LSTK]: Transmission completed
17:55:09: MBE: [DBG ][LMAC]: RX1 slot open, Freq = 868300000
17:55:10: MBE: [DBG ][LMAC]: RX2 slot open, Freq = 869525000
17:55:11: MBE: [DBG ][LMAC]: Frame prepared to send at port 0
17:55:11: MBE: [DBG ][LMAC]: DC enforced: Transmitting in 14618 ms
17:55:25: MBE: [DBG ][LMAC]: TX: Channel=0, TX DR=2, RX1 DR=2
17:55:26: MBE: [DBG ][LSTK]: Transmission completed
17:55:31: MBE: [DBG ][LMAC]: RX1 slot open, Freq = 868100000
17:55:32: MBE: [DBG ][LMAC]: RX2 slot open, Freq = 869525000

The problem is that the join procedure stops here (the device was on for another 30 mins and nothing happened hereafter). The LoRaWAN stack stops trying at DR 2. We would expect the join to either continue and succeed or the application to get JOIN_FAILURE indication, neither of which happened.

Issue request type

[ ] Question
[ ] Enhancement
[ X ] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions