Quantcast
Viewing all articles
Browse latest Browse all 116964

Forum Post: problem in connecting CC3000 using WPA2-PSK.

Im working on CC3000 basic WiFi application using FRAM board. In that im trying  to connect CC3000 with AP using WPA2-PSK seurity enabled. 

The following figure shows the wireless setting in TP-LINK AP.

Version: WPA2-PSK

Encryption: AES
PSK Password: smartconfigAES16

Group Key Update Period: 0

Image may be NSFW.
Clik here to view.

And i made the following  changes in the basic_wifi_application.c program.

 
//AES key "smartconfigAES16"
const unsigned char smartconfigkey[] = {0x73,0x6d,0x61,0x72,0x74,0x63,0x6f,0x6e,0x66,0x69,0x67,0x41,0x45,0x53,0x31,0x36};

unsigned char *skey;

.

.

.case UART_COMMAND_CC3000_CONNECT:
        {
            ulSsidLen = atoc(usBuffer[2]);
            pcSsid = (char *)&usBuffer[3];
                        skey=(unsigned char*)&smartconfigkey[0];
            
#ifndef CC3000_TINY_DRIVER         
                    wlan_connect(WLAN_SEC_WPA2, pcSsid, ulSsidLen,NULL,skey, 0x10);

After these changes i download the program into CC3000. Then i try to connect

to CC3000 with AP using WPA2-PSK. In Hyper terminal i got the following output

which showing that CC3000 is Connected to AP

Image may be NSFW.
Clik here to view.

But when i look into TP-LINK AP using laptop it shows CC3000 is not connected to AP. only my

laptop is connected to AP. Can any one Help me in this...? How to connect CC3000 with AP(WPA2-PSK Security Enabled)


Viewing all articles
Browse latest Browse all 116964

Trending Articles