Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Wi-Fi Combo Forum Discussions

Anonymous
Not applicable

To define a WEP key in an application wifi_config_dct.h you must:

    1. #define CLIENT_AP_SECURITY    WICED_SECURITY_WEP_PSK

    1. #define CLIENT_AP_PASSPHRASE "x00x05""x01x02x03x04x05" // For a 40-bit key

where :

"x00" is the key index (ranging from 0 - 3)

"x05" is the length of the key being either x05 or x0D  (for 40- or 104-bit WEP)

"x01x02x03x04x05" is the value of the WEP key (40-bit in this case)

NOTE: You can only define a single key in the DCT and for most WEP configurations the default key is index 0.

0 Likes
3 Replies
ShawnA_01
Employee
Employee
25 solutions authored 10 solutions authored 5 solutions authored
I could not get the WEP feature to function either until I discovered your helpful hint.  Thank you.  In my case, my 128 bit WEP PASSPHRASE had to become

#define CLIENT_AP_PASSPHRASE "x00x0dx8ExD9x32xC1xEEx52x4Ex70x64x8Bx56x63x31"

(there are no spaces characters anywhere between the quotes even though they may appear to be there on your screen!)
0 Likes
Anonymous
Not applicable

Hi,

I'm trying to use a WEP key with above description but it fails. I must be doing something wrong.

I'm using SDK3.0.0. Here ar my details:

#define CLIENT_AP_SSID       "wiced_test"

#define CLIENT_AP_PASSPHRASE "x00x05xFBx48xE1x47x72"

Here is copy paste of the key from my AP:  FB48E14772

AP WEP Authentication mode is set to: Automatic. The other option is "shared key".

The AP is Netgear WNDR3400v2

0 Likes
Anonymous
Not applicable

Please note that we need to use the escape character. This is how your string should look like:

#define CLIENT_AP_PASSPHRASE "\x00\x05\xFB\x48\xE1\x47\x72"

0 Likes