hi,
i'm try to do a ZDP IEEE_Addr_req with a plain APS_DataReq_t not using the BitCloud ZDO_ZdpReq_t (the reason for this is the request data comes from PC and i just want to forward it into a APS request)
The problem is i got no APS_DataConf callback and it seems that memory gets overwritten wildly.
I'm using the following request data (BitCloud 1.10):
static asdu[MAX_ASDU_SIZE]; req.dstAddrMode = 0x02; // short addr mode req.dstAddress.shortAddress = 0x0000; req.dstEndopint = 0x00; // ZDO endpoint req.profileID = 0x0000; // ZDP profile req.clusterID = 0x0001; // IEEE_Addr_req req.srcEndpoint = 0xE0; // my app endpoint (simple descriptor exits) req.asduLength = 5; req.asdu = asdu; // asdu is { 0x12, 0x00, 0x00, 0x00, 0x00 } req.txOptions = all 0; req.radius = 5; req.APS_DataConf = appApsDataConf; // gets never called?!
any ideas whats going on here?