Other Parts Discussed in Thread: CC2530, Z-STACK
In AF.c, function "afReflectError" create message “AF_REFLECT_ERROR_CMD”, and the message member "endpoint" is destination endpoint. In TI-RTOS, this message is sent to "ZStackTaskProcessEvent" and processed by function "processAfReflectErrorInd",but the function "processAfReflectErrorInd" makes a mistake.
Function "processAfReflectErrorInd" calls function "epTableFindEntryEP" with "pkt->endpoint", which is destination endpoint not source endpoint, to get "ICall dest".