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.
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
Hi Bálint,
Although your code is very similar to the getting_started_with_wlan_ap example, have you tried running that example without modifying the main.c code and seeing if you get the same result?
With the CC3100MODBOOST + MSP-EXP430FR5969, I am able to use that example to set the CC3100 into AP mode, and then connect to it without issues on my PC.
If you haven't done so already, I also suggest that you update the servicepack of the CC3100 to the latest version. See my post here for instructions:https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/p/829251/3085209#3085209
Regards,
Michael
Dear Michael,
I am going try your ideas and get back to you with the results as soon as possible.
Bálint
Hi Bálint,
I assume that you have resolved your issue since I have not heard back from you. If not, feel free to post a response to this thread, or open a new thread regarding this issue.
Regards,
Michael
Dear Micheal,
sorry for the late response.
I haven't resolved my issue.
I tried the example code without success. The service pack is installed too. Everything seems to be OK on the software side.
We are investigating the hardware right now. First series of our boards have working Wi-Fi, the second series does not, and there is minimal difference between them.
Thank you for your patience.
Bálint
Hi Bálint,
Have you confirmed that this is a hardware issue? Typically the best way to do so is to run your code on a launchpad to see if it exhibits the same issue as what you're seeing on your custom board.
Also, have you taken a look at the hardware design review checklist? You can find it on this wiki page: http://processors.wiki.ti.com/index.php/CC3100_%26_CC3200_Hardware_Design_Review
Regards,
Michael
Dear Micheal,
It is a problem on our custom board. The launchpad works just fine.
Thank you for your help and patience.
Best regards,
Bálint