STMicroelectronics / STM32CubeWL

STM32Cube MCU Full FW Package for the STM32WL series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on boards provided by ST (Nucleo boards)
Other
107 stars 54 forks source link

Fix missing return status for LmHandlerJoin #67

Open xanthio opened 1 year ago

xanthio commented 1 year ago

In OTAA mode, the join procedure may fail due to Retransmission Back-off (see https://lora-developers.semtech.com/documentation/tech-papers-and-guides/the-book/joining-and-rejoining).

In this case, Application will never receive any OnJoinRequest callback an so may stall.

This PR intend allow Application to be aware of such a failure to send Join Request and behave in consequence.

xanthio commented 1 year ago

Note to reviewer: I'm not a ABP mode user and so may have not been placed at the good position.

ASELSTM commented 1 year ago

ST Internal Reference: 152150