由于项目需求,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工程师,地址扩展应该修改哪些地方呢
Viki Shi:
请参考论坛的类似问题:e2e.ti.com/…/575982