ZStack_GenericApp中先定义*MSGpkt
void GenericApp_ProcessEvent( byte task_id, UINT16 events )
{
osal_msg_received_t *msg;
afIncomingKVPPacket_t *KVPpkt;
afIncomingMSGPacket_t *MSGpkt;
后来
case AF_INCOMING_MSG_CMD:
case AF_INCOMING_GRP_MSG_CMD:
// convert to incoming packet format
MSGpkt = (afIncomingMSGPacket_t *)&(msgPtr[1]);
// Process the incoming message
GenericApp_MessageMSGCB( MSGpkt );
// Release the data buffer
osal_mem_free( MSGpkt->cmd.Data ); //Data buffer first
break;
在C语言中定义的变量 *MSGpkt,我能不能在汇编里(RAM)找到其对应的地址(空间),即接受到的“Hello World”被存在 MSGpkt->cmd.Data 中,我能不能找到其对应的 RAM 地址(空间). |