This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530: Share my optimized z-stack 3.0.1

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

wellcome to download and develop it.

1, In AF.c, the function "AF_DataRequestExtended" is added, instead of "AF_DataRequest". When call AF_DataRequestExtended, a callback "afCnfCB" and its parameter "param"  will be transmit to application task by AF_DATA_CONFIRM_CMD message

2, A callback function to process ZDP Command's  AF_DATA_CONFIRM_CMD message can be also set by use ZDP_SetSendConfirm before "fillAndSend", the ZDP's seqNum and ZDP's transID are mutual independence, to avoid ZDP Response's trans-ID disturb the ZDP Request's transID when AF_DATA_CONFIRM_CMD.

3,per ZCL command can also set unique AF_DATA_CONFIRM_CMD callback by use zcl_SetSendConfirmCallback before zcl_SendCommand.

4,fix zcl_SendReportCmd to reporting the attribute that is accessed by read/write attribute data callback functions.

5, my fixing code is better than Zigbee Known Issues and Proposed Fixes 

https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/158/Z_2D00_stack-3.0.0.7z