A protocol analyzer would be nice, but I am just a student working on a senior design project.
From what I can tell, your code looks similar to mine:
/* set up address information */
addrInfo.dstAddrMode = gZbAddrMode16Bit_c;
Copy2Bytes(addrInfo.dstAddr.aNwkAddr, 0x0000);
addrInfo.dstEndPoint = 1;
addrInfo.srcEndPoint = appEndPoint;
addrInfo.txOptions = gApsTxOptionNone_c;
addrInfo.radiusCounter = afDefaultRadius_c;
/* set up cluster */
Copy2Bytes(addrInfo.aClusterId, appDataCluster);
/* send the data request */
(void)AF_DataRequest(&addrInfo, sizeof(TxOTADataBuffer), TxOTADataBuffer, NULL);
As I said earlier, this does not work. However, if i replace 0x000 with 0x9A6, it does work. So it appears that for some reason the coordinator has NWK address of 0x9A6. How would this happen? This is a project that was created in Beekit (Beestack Codebase) based on the GenericApp.
Thanks