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.

cc3100 : wpa/wp2-enterprise connection

Other Parts Discussed in Thread: CC3100, UNIFLASH, CC3200

hi

CC3100 not connected. it only needs id and password, not a client certificate. when connects to wifi in window, linux and android, ca certificate's not used.

wpa enterprise spec.
Security : WPA & WPA2 Enterprise
Authentication : Protected EAP (PEAP)
CA certificate is not needed
PEAP version : peap0
Inner authentication : MSCHAPv2
Username and Password are correct.


Ca certificate's been needed in sdk document , which one should I use?

source code

------------

#define EAP_SSID_NAME   "my_ssid"
#define EAP_USER_NAME   "my_id"
#define EAP_PASS_KEY    "my_pass"
#define EAP_SEC_METHOD  SL_ENT_EAP_METHOD_PEAP0_MSCHAPv2
#define EAP_SEC_TYPE    SL_SEC_TYPE_WPA_ENT

SlSecParams_t secParams;
SlSecParamsExt_t eapParams;
    
secParams.Key = EAP_PASS_KEY;
secParams.KeyLen = strlen(EAP_PASS_KEY);
secParams.Type = EAP_SEC_TYPE;
    
eapParams.EapMethod = EAP_SEC_METHOD;
eapParams.User = EAP_USER_NAME;
eapParams.UserLen = strlen(EAP_USER_NAME);
eapParams.AnonUserLen = 0;
        
sl_WlanConnect(EAP_SSID_NAME, strlen(EAP_SSID_NAME), NULL, &secParams, &eapParams);

------------

Regards

kaien