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.

CC3220S-LAUNCHXL: How to set the WEP index when connect an AP with WEP security? Some AP can choose a key within 4 group, does CC3220S use defaulte index 1 to connect the AP?

Part Number: CC3220S-LAUNCHXL

seems in struct SlWlanSecParams_t do not have the parameter WEP index in sl_WlanConnect(const _i8*  pName,const  _i16 NameLen,const _u8 *pMacAddr,const SlWlanSecParams_t* pSecParams ,const SlWlanSecParamsExt_t* pSecExtParams);

typedef struct
{
_u8 Type;
_i8* Key;
_u8 KeyLen;
}SlWlanSecParams_t;

Some AP can set the WEP index like the picture below:

  • Hi Xiaozhong Zhang,

    WEP is a very insecure protocol. It would be wise to move to a newer, more secure, protocol.

    I believe this function is carried out by your router for the most part since it can only use one index at a time. I think the user chooses which index (or key) its router will look for during authentication.

    Best,
    Kevin