This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3100: How do I make the CC3100 to use passive scan?

Part Number: CC3100
Other Parts Discussed in Thread: CC3100

Hello,


I try to figure out how provide passive Wi-Fi scan with CC3100,
because I need silent device which will connect to AP only if it find appropriate AP with target SSID.

I've understood that this code:

_u32 intervalInSeconds = 60;
#define SL_SCAN_ENABLE 1
sl_WlanPolicySet(SL_POLICY_SCAN,SL_SCAN_ENABLE, (_u8 *)&intervalInSeconds,sizeof(intervalInSeconds)); 

will start  active scan (https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/p/602872/2218533?tisearch=e2e-sitesearch&keymatch=scan%20cc3100#2218533


Can I force passive scan without sending any frames?




Or I need delete all profiles, disable scan and write my own low-level sniffer? Any ideas?

  • hi Suhoy,

    The default scan will be active. The device doesn't support an API to make it passive.
    As you mentioned you can use the transceiver mode to listen/scan the required channels and then restart the device in a station mode once the required AP is found.

    Br,
    Kobi