I modifed the rfEasyLinkNp_CC1310DK_7XD_TI_CC1310F128 example and just use it to test receice and transimit. But I found that the packet length was limited less than 255. (I have changed EASYLINK_MAX_DATA_LENGTH as 512).
Since in that example, it used command rfc_CMD_PROP_RX_ADV_s(0x3804), due to the pdf and register details, it can received a packet with unlimited length or unknow length if we set the maxPktLen as 0:
uint16_t maxPktLen; //!< \brief Packet length for fixed length, maximum packet length for variable length<br>
//!< 0: Unlimited or unknown length
Actually when I set EasyLink_cmdPropRxAdv.maxPktLen = 0, I found cc1310 can receive nothing, so I had to recover its value as
EasyLink_cmdPropRxAdv.maxPktLen = EASYLINK_MAX_DATA_LENGTH +
EASYLINK_MAX_ADDR_SIZE;
then I can receive a packet whose length is less than 255.
Is anyone can tell me how to do to receive a packet with more over than 255bytes or unlimited length???
I will appreciate for your reply.