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.

CC3100MOD: CC3100MOD: Connecting to AP with WPA Enterprise with CA

Part Number: CC3100MOD
Other Parts Discussed in Thread: UNIFLASH

Hi

We are using the Enterprise WPA for my project.

We are using the below configuration. we are not using CA validation.

    SlSecParams_t secParams;
    SlSecParamsExt_t eapParams;

    /* Set network parameters */
    secParams.Key = connectPass;
    secParams.KeyLen = strlen((const char *) connectPass);
    secParams.Type = SL_SEC_TYPE_WPA_ENT;

    /* Set network EAP parameters */
    eapParams.User = (signed char *) connectUsername;
    eapParams.UserLen = strlen((const char *) connectUsername);
    eapParams.AnonUser = (signed char*) connectUsername;
    eapParams.AnonUserLen = strlen((const char *) connectUsername);
    eapParams.CertIndex = UINT8_C(0);
    eapParams.EapMethod = SL_ENT_EAP_METHOD_PEAP0_MSCHAPv2;

    /* Call the connect function */
    slStatus = sl_WlanConnect((signed char *) "EnteriseSSID", strlen(((char *) EnteriseSSID)),
            (unsigned char *) 0, &secParams, &eapParams);

    if (WLANNWCT_SUCCESS == slStatus)
    {
      //Connection ok
    }

We need to add CA validation for the above "SL_ENT_EAP_METHOD_PEAP0_MSCHAPv2" mode.
Please let me know the changes need to be done.