Hi,
I am using CC2530 with TIMAC sample code. I encountered a problem that sometimes I cannot get the scan confirm (MAC_MLME_SCAN_CNF). The scenario to reproduce this problem is as follows: 1. Associate (using MAC_MlmeAssociateReq()) the device with a coordinator 2. If a sync loss indication is received, try to re-sync with the beacon (using MAC_MlmeSyncReq()) 3. If we continuously loss the beacon for 3 times, do not re-sync with the beacon and start scanning the channels. 4. The channels are scanned one by one. That is, scan channel n, get the scan confirm. Scan channel (n+1), get the scan confirm. and so on. Each trigger of the scan depends on the scan confirm of previous scan.
Sometimes, this mechanism works well. I can round scan all channels many times. But sometimes the scan confirm does not come back. And so I cannot trigger the next scan. If I never associate with a coordinator, and just round scan all channels, this problem never occurs.
Appreciate for you help.
-- Ares