Part Number:CC2538
Tool/software: TI-RTOS
Hi,
About using AF_ACK_REQUEST in AF_DataRequest, I got confused. Please help to see which of my understanding below is correct (A or B)? If A, B are both wrong, please correct me !
About Zigbee transmission ackowledgment, there exists "APSC_MAX_FRAME_RETRIES and ASPC_ACK_WAIT_DURATION_POLLED" in f8wConfig.cfg.
(A):
When I use AF_DataRequest (Option: AF_ACK_REQUEST is NOT SET), ZStack will NOT do any acknowledge checking. Data is just transmitted to Antenna and then AF_DataRequest returns SUCCESS.
When I use AF_DataRequest (Option: AF_ACK_REQUEST is SET), ZStack will do acknowledge checking based on APSC_MAX_FRAME_RETRIES and ASPC_ACK_WAIT_DURATION_POLLED. If AF_DataRequest get acknowledgment, it returns SUCCESS and then run AF_DATA_CONFIRM_CMD, Otherwise, AF_DataRequest returns Error.
(B):
When I use AF_DataRequest (No matter whether the Option AF_ACK_REQUEST is SET or not), ZStack will do acknowledge checking based on APSC_MAX_FRAME_RETRIES and ASPC_ACK_WAIT_DURATION_POLLED. If AF_DataRequest get acknowledgment, it returns SUCCESS, otherwise, it returns Error. The only purpose of setting AF_ACK_REQUEST is that when Zstack got the acknowledgment signal, it runs AF_DATA_CONFIRM_CMD .
Thank you very much
Bruce Lam