This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1310在使用easylink时,如何将8位地址扩展位16位

Other Parts Discussed in Thread: CC1310

由于项目需求,CC1310子节点会大于256个,想做地址扩展,

在使用easylink例程中尝试修改过以下地方:

Easylink.h中

//! \brief defines the Tx/Rx Max Address Size
#define EASYLINK_MAX_ADDR_SIZE 16 //8 修改点

//! \brief defines the Max number of Rx Address filters
#define EASYLINK_MAX_ADDR_FILTERS 16  // 8 修改点

typedef struct

uint16_t dstAddr[4];  //uint8_t dstAddr[8]修改点
uint32_t absTime; 
uint8_t len;

uint8_t payload[EASYLINK_MAX_DATA_LENGTH];

} EasyLink_TxPacket;

typedef struct
{
uint16_t dstAddr[4]; //uint8_t dstAddr[8]修改点
int8_t rssi; 
uint32_t absTime; 
uint32_t rxTimeout;

uint8_t len; 
uint8_t payload[EASYLINK_MAX_DATA_LENGTH];
} EasyLink_RxPacket;

修改后CC1310未正常运行,

请问下TI工程师,地址扩展应该修改哪些地方呢