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.

Is applicable WEP security of CC3200?

Other Parts Discussed in Thread: CC3200, CC3100

Hello all,

I try to connect to my AP, on which I set WEP security accesses. When I change the settings of my AP (WEP to WPA basically) I connect to it correct. But when I change its settings to WEP, I can't get a access to AP. I use wlan_stntion, tcp_socket and serial_profile examples to build my code. Can anybody help me in which SDK example is used WEP access connection, or to give me an advice if it's possible to connect CC3200 to AP with WEP security access?

Thanks in advice,

Best regards,

Sergey Mihaylov!

  • Hi Sergei,

    CC3100/CC3200 support only 64 and 128 bit WEP mode security using ASCII key.

    Please make sure you are configuring the AP with WEP to use either of the mentioned mode.

     

    Regards,

    Ankur

  • HI Ankur,

    in my application I use serial_wifi example firmware as a background. In this firmware there are several macros witch  can be used to config SSID, wifi pass and type of security:

    //*****************************************************************************
    // State Machine values
    //*****************************************************************************
    #define SSID_NAME           "UUU"             
    #define SECURITY_TYPE       SL_SEC_TYPE_WPA
    #define SECURITY_KEY        "1234567800"

    the second macros, I change it to SL_SEC_TYPE_WEP, the other macros are the same. Then I use a part of my code:

    lRetVal = WlanConnect();

    which is related to program manual (according of description of how is used WlanConnect() function ), and my lRetVal variabel, get negative value. This according WlanConnect() API function means that there is some error when try to connect to my AP. With another module - WizFI210, I connect to AP with same SSID, security type (WEP), and the same security key.

    Best regards,

    Sergey Mihaylov.

  • Sergey,

    As I mentioned in the above post the CC3100/CC3200 supports the 64 and 128 bit WEP mode using ASCII key.

    The 64 bit WEP security corresponds to 5 ASCII characters (equivalent 10 hexadecimal characters) similarly the 128 bit WEP security corresponds to 13 ASCII characters (equivalent to 26 hexadecimal characters).

    In above example you are passing a key of 10 ASCII characters which is invalid for WEP type security.

    Please make sure you are passing the key of either 5 characters or 13 characters and configuring the AP to use either of same security modes (64/128 bit) with ASCII characters.

    Regards,

    Ankur

  • OK Ankur,

    now I see, I will verify it. Thanks !

    Best regards,

    Sergey.

  • Hi Sergei,

    I hope you were able to get WEP security working on your setup.

    I am closing this thread, If issue still exists please open a new thread and add a link to this one for reference.

    Regards,

    Ankur