Fahad Mirza
/
Nucleo_HXC900
A demo application for HXC900 LoRaWAN module using Nucleo-L053R8.
Diff: LoRa/lora_driver.c
- Revision:
- 16:2179ec24dff8
- Parent:
- 12:f1fd61aa85e0
- Child:
- 17:e682a18c3914
--- a/LoRa/lora_driver.c Wed Jul 25 17:38:48 2018 +0000 +++ b/LoRa/lora_driver.c Thu Jul 26 17:31:10 2018 +0000 @@ -85,7 +85,7 @@ /****************************************************************************** * @Brief : Initialize LoRa Modem * @Param : sLoraConfig_t - * @Return : none + * @Return : None ******************************************************************************/ void Lora_init(sLoraConfig_t *loraConfig, sLoraDriverParam_t *loraDriverParam) { @@ -230,7 +230,7 @@ /****************************************************************************** * @Brief : Read the received downlink packet * @Param : Pointer to sRecvDataBinary_t variable - * @Return : none + * @Return : None ******************************************************************************/ static void Lora_ReadData(sRecvDataBinary_t *receivedData) { @@ -425,6 +425,11 @@ } } +/****************************************************************************** + * @Brief : Set Join request timer + * @Param : none + * @Return : none +******************************************************************************/ static void setJoinRequestTimer(void) { // Use a random delay to avoid synchronized join request from all LoRa node after power up