Part Number:CC3100
Hello everybody,
This is a continue of the thread where I asked about passive scan. Finally, I was able to explore some points of 802.11 and implement proof-of-concept during my study research.
I'm writing to share this experience and code published on github.
I faced with some unstable behavior of transceiver mode described in issue. As I can see in include\socket.h the return code (-100) which is missed and I wondered why and how can I avoid this error in my real project.
Also, I'm interesting if it possible to move this functionality to the CC3100 completely?
It is looks like current driver API allows this extension, like:
#define SL_SCAN_POLICY_DISBALE (0) #define SL_SCAN_POLICY_ACTIVE (1) #define SL_SCAN_POLICY_PASSIVE (2) ... _i32 intervalInSeconds = 60; sl_WlanPolicySet(SL_POLICY_SCAN, SL_SCAN_POLICY_PASSIVE, &intervalInSeconds, sizeof(intervalInSeconds));
While channel mask and RSSI thershold are set by sl_WlanSet as it is working currently.