Skip to content

Commit 5423d4b

Browse files
committed
Changed LmHandlerDeviceTimeReq API to be publicly accessible
1 parent 3e31fba commit 5423d4b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/apps/LoRaMac/common/LmHandler/LmHandler.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,6 @@ static void MlmeConfirm( MlmeConfirm_t *mlmeConfirm );
186186
*/
187187
static void MlmeIndication( MlmeIndication_t *mlmeIndication );
188188

189-
/*!
190-
* Requests network server time update
191-
*
192-
* \retval status Returns \ref LORAMAC_HANDLER_SET if joined else \ref LORAMAC_HANDLER_RESET
193-
*/
194-
static LmHandlerErrorStatus_t LmHandlerDeviceTimeReq( void );
195-
196189
/*!
197190
* Starts the beacon search
198191
*
@@ -517,7 +510,7 @@ LmHandlerErrorStatus_t LmHandlerSend( LmHandlerAppData_t *appData, LmHandlerMsgT
517510
}
518511
}
519512

520-
static LmHandlerErrorStatus_t LmHandlerDeviceTimeReq( void )
513+
LmHandlerErrorStatus_t LmHandlerDeviceTimeReq( void )
521514
{
522515
LoRaMacStatus_t status;
523516
MlmeReq_t mlmeReq;

src/apps/LoRaMac/common/LmHandler/LmHandler.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,13 @@ LoRaMacRegion_t LmHandlerGetActiveRegion( void );
334334
*/
335335
LmHandlerErrorStatus_t LmHandlerSetSystemMaxRxError( uint32_t maxErrorInMs );
336336

337+
/*!
338+
* Requests network server time update
339+
*
340+
* \retval status Returns \ref LORAMAC_HANDLER_SET if joined else \ref LORAMAC_HANDLER_RESET
341+
*/
342+
LmHandlerErrorStatus_t LmHandlerDeviceTimeReq( void );
343+
337344
/*
338345
*=============================================================================
339346
* PACKAGES HANDLING

0 commit comments

Comments
 (0)