JN5168 Receive frame from a device

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

JN5168 Receive frame from a device

1,405 次查看
bricesup
Contributor I

Hello,

I'm working on the JN5168 , I have some problems. I want to know how I can receive and store the Zigbee frame from a device in a variable.

My device send frame with the format of zigbee green power.

Can you tell me what is the command to do that and in which library i can find this command ?

Thanks.

标签 (1)
0 项奖励
回复
1 回复

1,136 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi

The following Receive functions are provided in the MicroMAC API

Could you please check the ZigBee Green Power User Guide? JN-UG-3095

http://www.nxp.com/documents/user_manual/JN-UG-3095.pdf?fsrch=1&sr=8&pageNum=1 

void vMMAC_StartMacReceive(tsMacFrame *psFrame,  teRxOption eOptions);

uPayload is a union containing the payload data as either a byte-array or word-array:

 au8Byte[127] is the payload data as an array of bytes

 au32Word[32] is the payload data as an array of words

Hope it helps.

Mario

0 项奖励
回复