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 __SX1509_H__
|
||||
#define __SX1509_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define SX1509_I2C_ADDRESS 0x3E
|
||||
@@ -156,7 +161,7 @@ void SX1509Init( void );
|
||||
/*!
|
||||
* \brief Resets the device
|
||||
*
|
||||
* \retval status [LORA_SUCCESS, LORA_FAIL]
|
||||
* \retval status [SUCCESS, FAIL]
|
||||
*/
|
||||
uint8_t SX1509Reset( void );
|
||||
|
||||
@@ -165,7 +170,7 @@ uint8_t SX1509Reset( void );
|
||||
*
|
||||
* \param [IN]: addr
|
||||
* \param [IN]: data
|
||||
* \retval status [LORA_SUCCESS, LORA_FAIL]
|
||||
* \retval status [SUCCESS, FAIL]
|
||||
*/
|
||||
uint8_t SX1509Write( uint8_t addr, uint8_t data );
|
||||
|
||||
@@ -175,7 +180,7 @@ uint8_t SX1509Write( uint8_t addr, uint8_t data );
|
||||
* \param [IN]: addr
|
||||
* \param [IN]: data
|
||||
* \param [IN]: size
|
||||
* \retval status [LORA_SUCCESS, LORA_FAIL]
|
||||
* \retval status [SUCCESS, FAIL]
|
||||
*/
|
||||
uint8_t SX1509WriteBuffer( uint8_t addr, uint8_t *data, uint8_t size );
|
||||
|
||||
@@ -184,7 +189,7 @@ uint8_t SX1509WriteBuffer( uint8_t addr, uint8_t *data, uint8_t size );
|
||||
*
|
||||
* \param [IN]: addr
|
||||
* \param [OUT]: data
|
||||
* \retval status [LORA_SUCCESS, LORA_FAIL]
|
||||
* \retval status [SUCCESS, FAIL]
|
||||
*/
|
||||
uint8_t SX1509Read( uint8_t addr, uint8_t *data );
|
||||
|
||||
@@ -194,7 +199,7 @@ uint8_t SX1509Read( uint8_t addr, uint8_t *data );
|
||||
* \param [IN]: addr
|
||||
* \param [OUT]: data
|
||||
* \param [IN]: size
|
||||
* \retval status [LORA_SUCCESS, LORA_FAIL]
|
||||
* \retval status [SUCCESS, FAIL]
|
||||
*/
|
||||
uint8_t SX1509ReadBuffer( uint8_t addr, uint8_t *data, uint8_t size );
|
||||
|
||||
@@ -212,4 +217,8 @@ void SX1509SetDeviceAddr( uint8_t addr );
|
||||
*/
|
||||
uint8_t SX1509GetDeviceAddr( void );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __SX1509_H__
|
||||
|
Reference in New Issue
Block a user