终端节点接收到协调器广播过来的那个无线数据包,然后存储在哪儿里?
如题,协调器广播消息,广播过来的是一个无线数据包,
typedef struct
{
osal_event_hdr_t hdr; /* OSAL Message header */
uint16 groupId; /* Message's group ID - 0 if not set */
uint16 clusterId; /* Message's cluster ID */
afAddrType_t srcAddr; /* Source Address, if endpoint is STUBAPS_INTER_PAN_EP,
it's an InterPAN message */
uint16 macDestAddr; /* MAC header destination short address */
uint8 endPoint; /* destination endpoint */
uint8 wasBroadcast; /* TRUE if network destination was a broadcast address */
uint8 LinkQuality; /* The link quality of the received data frame */
uint8 correlation; /* The raw correlation value of the received data frame */
int8 rssi; /* The received RF power in units dBm */
uint8 SecurityUse; /* deprecated */
uint32 timestamp; /* receipt timestamp from MAC */
afMSGCommandFormat_t cmd; /* Application Data */
} afIncomingMSGPacket_t;
那么我想知道,终端节点接收到这个无线数据包之后,把它存储在哪儿里呢
请TI的员工解答下这个问题,我可以用指针获得上述结构体里面的一些量,但是我想知道终端接收到这个无线数据包之后,把这个无线数据包存储在哪儿里,或者是哪儿个寄存器里。谢谢了!
协议栈不做存储,你可以在应用层收到事件以后,把收到的数据拷贝下来。