JN5168 ZigBee UnicastAckDataRequests are sent twice over the air

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

JN5168 ZigBee UnicastAckDataRequests are sent twice over the air

697 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Alessandro DR on Thu Oct 30 08:28:25 MST 2014
Hello, I'm posting here because I did not find any other NXP/Jennic support community, so feel free to move the post or point me to the right place.

My basic goal is to send custom data between a node and the Coordinator on JN5168 ZigBee MCUs.
I populate my hAPduInst (Handle of APDU instance to be sent) and send it using the following function
uint16 u16NwkAddress = 0x00;  /* coordinator */
ZPS_teStatus zpsStatus = ZPS_eAplAfUnicastAckDataReq(s_hAPduInst,
0xFDDD,/* custom cluster */
147,/* source endpoint */
147,/* dest endpoint */
u16NwkAddress,/* dest address */
ZPS_E_APL_AF_SECURE_NWK,
0 /* default radius */,
NULL);/* we won't track the TSN */
if (ZPS_E_SUCCESS == zpsStatus)
{
DBG_vPrintf("SUCCESS\n");
}

My payloads are quite huge so I enabled fragmentation in both coordinator and nodes. When I send 4 payloads in a loop using ZPS_eAplAfUnicastAckDataReq I see that some are sent over the air twice, even if there are 4 "SUCCESS" on debug output.
How can I solve this bug? Any suggestion on how to investigate the situation is welcome.

I started from JN-AN-1135-Smart-Energy-HAN-Solutions project and customized it.

My IDE and libraries are:
JN-SW-4041 Jennic toolchain v1.1
JN-SW-4064 ZigBee Smart Energy 1.x v993


Thank you.
Labels (1)
0 Kudos
4 Replies

494 Views
dheerajsawant
Contributor V

Hi lpcware‌, 

i am new to this Communication. 

i am also at same situation. 

i want to make one JN5168 module as Coordinator and another one as END POINT. 

i am reading JN-AN-3113 PDF. but unable to understand how to make coordinator and end point. 

please need your help. 

if you have demo file then please provide.

Thank You for your time!

0 Kudos

494 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hatahuang1214 on Thu Oct 30 10:21:29 MST 2014
please try http://www.jennic.com/index.php
0 Kudos

494 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Alessandro DR on Thu Oct 30 08:51:25 MST 2014
That's the first place I tried and never had any real answer to my questions :-(
0 Kudos

494 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Oct 30 08:42:36 MST 2014
Those guys don't hang out here.

Try
http://www.nxp.com/technicalsupport
0 Kudos