Update LoRaMac-node to Version 4.4.4,fix Security breach found by Tencent Blade Team please refer to security advisory - CVE-2020-11068
fix Security breach found by Tencent Blade Team please refer to security advisory - CVE-2020-11068
This commit is contained in:
@@ -39,6 +39,11 @@
|
||||
#ifndef __LORAMAC_CONFIRMQUEUE_H__
|
||||
#define __LORAMAC_CONFIRMQUEUE_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -77,7 +82,7 @@ typedef struct sMlmeConfirmQueue
|
||||
* Signature of callback function to be called by this module when the
|
||||
* non-volatile needs to be saved.
|
||||
*/
|
||||
typedef void ( *EventNvmCtxChanged )( void );
|
||||
typedef void ( *LoRaMacConfirmQueueNvmEvent )( void );
|
||||
|
||||
/*!
|
||||
* \brief Initializes the confirm queue
|
||||
@@ -87,7 +92,7 @@ typedef void ( *EventNvmCtxChanged )( void );
|
||||
* \param [IN] confirmQueueNvmCtxChanged - Callback function which will be called when the
|
||||
* non-volatile context needs to be saved.
|
||||
*/
|
||||
void LoRaMacConfirmQueueInit( LoRaMacPrimitives_t* primitives, EventNvmCtxChanged confirmQueueNvmCtxChanged );
|
||||
void LoRaMacConfirmQueueInit( LoRaMacPrimitives_t* primitives, LoRaMacConfirmQueueNvmEvent confirmQueueNvmCtxChanged );
|
||||
|
||||
/*!
|
||||
* Restores the internal non-volatile context from passed pointer.
|
||||
@@ -192,4 +197,8 @@ uint8_t LoRaMacConfirmQueueGetCnt( void );
|
||||
*/
|
||||
bool LoRaMacConfirmQueueIsFull( void );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __LORAMAC_CONFIRMQUEUE_H__
|
||||
|
Reference in New Issue
Block a user