CC1310DK_7XD 编译问题
你好
我跑CC1310DK_7XD\rfEasyLinkRx(Tx)的IAR工程,碰到两个问题:
(1)编译过程非常慢,怎么提快编译过程
(2)在sample code上需要修改哪些地方,可以发送addrSize = 8 的数据包? 目前当把地址长度改为8以后,收发都出错了
谢谢
/// \brief Structure for the TX Packet
typedef struct
{
uint8_t dstAddr[8]; /// Dst Address
uint32_t absTime; ///Absolute time to Tx packet (0 for immediate)
///Layer will use last SeqNum used + 1
uint8_t len; ///Payload Length
uint8_t payload[EASYLINK_MAX_DATA_LENGTH]; ///Payload
} EasyLink_TxPacket;
TxPacket.dstAddr 长度本身是8byte, 你只要修改其值就可以。
但是rx中也需要修改AddrFilter长度
#ifdef RFEASYLINKRX_ADDR_FILTER
uint8_t addrFilter = 0xaa;
EasyLink_enableRxAddrFilter(&addrFilter, 1, 1);
#endif //RFEASYLINKRX_ADDR_FILTER
rfc_CMD_PROP_RX_t RF_cmdPropRx =
uint8_t address0; //!< Address
uint8_t address1; //!< \brief Address (set equal to <code>address0</code> to accept only one address. If 0xFF, accept
//!< 0x00 as well) uint8_t address0;
这两个地址是什么呢?不想过了地址的话,应该怎么设置呢?