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+MSP430F5529 module can not be connected by android 4.0.4 tablet

Other Parts Discussed in Thread: MSP430F5529, CC3100, CC3100SDK

hi, all

I found a serious problem on the module(CC3100+MSP430F5529), the following is my context description

we are developing a customized android tablet, android verison is 4.0.4, the SOC is samsung s5pv210, all drivers work fine under android platform,  surfing on internet and pinging local PC by wifi module are both very good. I have install wifi starter(http://www.ti.com/tool/wifistarter) on our android tablet. I also burning ti official program into CC3100+MSP430F5529, the program info is as following:

it is based on ti official SDK project C:\ti\CC3100SDK_1.0.0\cc3100-sdk\platform\msp430f5529lp\example_project_ccs\getting_started_with_wlan_station  (I using default installation path,CC3100SDK-1.0.0-windows-installer.exe,CC31xx_CC32xx_ServicePack-1.0.0.1.2-windows-installer.exe,CC3100_OTA_Update-1.0.0-windows-installer.exe,Code Composer Studio 6.0.1 ), the line 527 in main.c under the project path(my path is D:\CCS6_WS\workspace_v6_0-wlan-station\getting_started_with_wlan_station)

retVal = sl_WlanConnect((_i8 *)SSID_NAME, pal_Strlen(SSID_NAME), 0, &secParams, 0);

is changed to the following contents:

 CLI_Write(" Starting smartconfig process \n\r");

    /* Clear all profiles */
        /* This is of course not a must, it is used in this example to make sure
        * we will connect to the new profile added by SmartConfig
        */
        sl_WlanProfileDel(WLAN_DEL_ALL_PROFILES);
        /* set AUTO policy */
        sl_WlanPolicySet(SL_POLICY_CONNECTION,SL_CONNECTION_POLICY(1,0,0,0,0),NULL,0);


        /* Start SmartConfig
            * This example uses the unsecured SmartConfig method
            */
        retVal = sl_WlanSmartConfigStart(1,                          /* groupIdBitmask */
                                   1,   /* cipher */
                                   0,                          /* publicKeyLen */
                                   0,                          /* group1KeyLen */
                                   0,                          /* group2KeyLen */
                                   (const unsigned char *)"",  /* publicKey */
                                   (const unsigned char *)"",  /* group1Key */
                                   (const unsigned char *)""); /* group2Key */
        if (retVal) {
            CLI_Write("Failed to connect AP \r\n");
               return -1;
        }

no any other modifications are done in relevant source code;

the question is

when I run wifi starter on our customized android tablet, wifi starter can not found the device(CC3100+MSP430F5529), the following is the device print info:

Getting started with station application - Version 1.1.0
*******************************************************************************
 Device is configured in default state
 Device started as STATION
 Starting smartconfig process

then I run wifi starter on my cell phone or other android tablet on-sale to find devcie(CC3100+MSP430F5529),  the device is normally found, the following is device console print info:

 Getting started with station application - Version 1.1.0
*******************************************************************************
 Device is configured in default state
 Device started as STATION
 Starting smartconfig process
 [WLAN EVENT] Unexpected event
 Connection established w/ AP and IP is acquired
 Pinging...!
 Device successfully connected to the LAN and internet

 

In addition, I found that when I restore source code modification I describle above, only make a SSID name and passkey modification in C:\ti\CC3100SDK_1.0.0\cc3100-sdk\examples\common\sl_common.h, the wifi starter on our customized android tablet can found the device(CC3100+MSP430F5529), namely, after the credentials is verified, the device can communicate with wifi starter.

any suggestions and ideas are welcome

 

 

 

 

 

 

  • Hi Liu,

    You have shown the same program works with a standard Android tablet, but does not work with your custom tablet:

    yuening liu said:

    when I run wifi starter on our customized android tablet, wifi starter can not found the device ... then I run wifi starter on my cell phone or other android tablet on-sale to find devcie(CC3100+MSP430F5529),  the device is normally found, ..

    There may be an issue with the Wifi starter app's Smartconfig routine on your custom tablet perhaps. Can you send me a packet sniffer log of the time when the App is performing Smartconfig?

    Thanks,

    Aaron

  • hi, Aaron

    thank you for your reply, pls refer to my inserted files. but I did not have found any exception from two packet sets except for IP address and checksum

    7536.pkt_capture.zip