I am new to Zigbee and I've been trying simple data transfer between two JN5168 device , using Zigbee 3.0 and Application Note AN 1229.
I learn the way mentioned onSimple Data transfer ,but error occurs when I write:
PDUM_thAPduInstance hAPduInst;
hAPduInst = PDUM_hAPduAllocateAPduInstance(apduMyData);
The console show that: apduMyData' undeclared (first use in this function);
And it seems that if I declare the apduMyData,I need to initialize it,acording to the warning
warning: 'apduMyData' is used uninitialized in this function
Any one can help ? How to defind PDUM_hAPdu?It seems associate with the .zspcfg file,but I can not find documents that how to use it.
Thanks in advance .
Hi,
Remember, the custom cluster that the JN-AN-1229 has assigned the Receive APDU to the apduMyData.
Could you please provide your implementation?
Also, please look at the next community post https://community.nxp.com/message/1012968
Regards,
Mario