Part Number: CC2652R
Other Parts Discussed in Thread: Z-STACK
Tool/software: TI-RTOS
1,fix "zstack.h" and "zstacktask.c", add member "zstack_zdoSendCnf_t" to every "ZDO Interface Request Structures". This member contains a AF-Data-Confirm callback function and its parameter pointer.
/*
* Structure of ZDO Send
*/
typedef struct _zstack_zdoSendCnf_t
{
/** Function pointer of zdo send confirm callback,added by Luoyiming **/
zstack_AfCnfCb_t* afCnfCB;
/** param of confirm callback,added by Luoyiming **/
void *param;
}zstack_zdoSendCnf_t;
2, add member "transID" and "seqNum" into "ZDO Interface Request Structures". After calls ZDP send fuction such as "Zstackapi_ZdoSimpleDescReq" or "Zstackapi_ZdoActiveEndpointReq" in file "zstackapi.h", the transID and ZDP_SeqNum will be written back to "ZDO Interface Request Structures".
