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.
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