Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC3100: AP not visible with PC or smartphone

$
0
0

Part Number: CC3100

Hello everybody,

I would like to use the cc3100 in AP mode with msp430fr5989. I get the correct return value from all of the functions I call, but I cannot see the network with my devices.

This is what I do:

retVal=sl_Start(NULL, NULL, fptr); // retval is 0

wait for callback

retVal=sl_Stop(0xFF); // retval is 0

retVal=sl_Start(0, 0, 0);        // retval is 0

retVal=sl_WlanSetMode(ROLE_AP);// retval is 0

retVal=sl_WlanSet( SL_WLAN_CFG_AP_ID , WLAN_AP_OPT_SSID , pal_Strlen(SSID_AP_MODE) , (unsigned char *)AP_name);// retval is 0

retVal=sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_SECURITY_TYPE, SECTYPE_LEN,(unsigned char *)&SecType);// retval is 0

retVal=sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_PASSWORD, pal_Strlen(PASSWORD_AP_MODE),(unsigned char *)password);// retval is 0

retVal=sl_Stop(0xFF);// retval is 0

retVal=sl_Start(NULL,NULL,NULL);// retval is 2

These are the sl functions I call in my main loop, I think all of the return values are correct, yet I cannot see the network.

I poll the callback with _SlNonOsMainLoopTask();.

Any help is appreciated.

Bálint


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>