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.

CCS/CC3200: How to get SSID autoly connected by policy set

Part Number: CC3200

Tool/software: Code Composer Studio

I am currently using set auto connection policy to connect WIFI around from saved wifi profiles. 

Now I need to know the SSID in the stored profiles, which I am successfully connected to and send it to other devices. 

Does anyone who is also doing this feature and know which API is most suitable to do this? 

Thanks a lot.  

  • Hi Xiaomin,

    You can use the sl_WlanProfileGet API to get the SSIDs of your stored profiles. For more details on the Simplelink APIs, please see the SDK documentation: docs/wifi_host_driver_api/html/group___wlan.html

    If you only want the SSID of the network you are connected to, you should use the pWlanEvent->Data.Connect.SsidName parameter from the SimpleLinkWlanEventHandler. You can find an example of this in any of the Wi-Fi SDK examples.

    Best regards,
    Sarah
  • Hi Sarah,

    Thank you so much for answering my question. The method for checking connected wifi by using the event data is what I am looking for. Your answer is very helpful! I'll go and try that!

    Thanks

    Xiaomin