JN5168 Receive frame from a device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JN5168 Receive frame from a device

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

Labels (1)
0 Kudos
1 Reply

444 Views
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 Kudos