cancel
Showing results for 
Search instead for 
Did you mean: 

WEP in AP mode

toby
Associate II
Posted on June 15, 2015 at 12:34

Is there a limitation/restriction of of the WEP key lengths in AP mode?

Set password to 'test1':

AT+S.SCFG=wifi_wep_keys[0],7465737431

AT+S.SCFG=wifi_wep_key_lens,05

This works OK.  I can connect fine with WEP authentication.

However trying :

Set password to 'test11':

AT+S.SCFG=wifi_wep_keys[0],746573743131

AT+S.SCFG=wifi_wep_key_lens,06

Doesn't work I can't connet to the access point?

However, if I change key to 14 bytes, and wep ley length to '0D' it seems to works again?

Can the length only be '05' or '0D'?

Thanks in advance.  (P.S. I am running 3.4 firmware).

2 REPLIES 2
toby
Associate II
Posted on June 15, 2015 at 13:25

Just an update:

Looking into this the WEP keys can only be 5 ASCII or 13 ASCII in length..

So the 05 length works - However for a 13 ASCII key, the wifi_wep_key_lens needs to be set to 0D for some reason(14)!

Seems to work then..

Posted on June 15, 2015 at 16:01

Hi Toby,

Correct. wifi_wep_key_lens possible values are 05 and 0D

________________

Attachments :

WEP_key_config.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I1Hv&d=%2Fa%2F0X0000000bmi%2FSgXsQdCu6NIwrSNakVGtuzcqQr1tgUPHwByXhe8GKUY&asPdf=false