Part Number: CC3100
Other Parts Discussed in Thread: DISCOVERY-ADAPT
I am developing a test instrument using CC3100. My software for the project uses the SimpleLink API/Drivers. I am trying to scan for available SSIDs with the "sl_WlanGetNetworkList" API call. The issue is that most of the time this call never returns, however sometimes it completes correctly listing the SSIDs available.
I thought the issue was the maximum number of SSIDs permitted (20) because the first time this call worked I had reduced the number to 2. However I increased the number incrementally back to 20 and it continued to work. That is until I started to debug my project again this morning when it once again failed. I also tried putting a delay before my call to set the scan policy, this appeared to make it work, however later in testing the issue returned.
I am at a loss as to where to look next, any advice would be much appreciated,
Sid