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:
@@ -23,6 +23,11 @@
|
||||
#ifndef __EEPROM_BOARD_H__
|
||||
#define __EEPROM_BOARD_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*!
|
||||
@@ -31,7 +36,7 @@
|
||||
* \param[IN] addr EEPROM address to write to
|
||||
* \param[IN] buffer Pointer to the buffer to be written.
|
||||
* \param[IN] size Size of the buffer to be written.
|
||||
* \retval status [LORA_SUCCESS, LORA_FAIL]
|
||||
* \retval status [SUCCESS, FAIL]
|
||||
*/
|
||||
uint8_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size );
|
||||
|
||||
@@ -41,7 +46,7 @@ uint8_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size );
|
||||
* \param[IN] addr EEPROM address to read from
|
||||
* \param[OUT] buffer Pointer to the buffer to be written with read data.
|
||||
* \param[IN] size Size of the buffer to be read.
|
||||
* \retval status [LORA_SUCCESS, LORA_FAIL]
|
||||
* \retval status [SUCCESS, FAIL]
|
||||
*/
|
||||
uint8_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size );
|
||||
|
||||
@@ -63,4 +68,8 @@ void EepromMcuSetDeviceAddr( uint8_t addr );
|
||||
*/
|
||||
uint8_t EepromMcuGetDeviceAddr( void );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __EEPROM_BOARD_H__
|
||||
|
Reference in New Issue
Block a user