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: Disable/enable the server authentication

Part Number: CC3100

Based on this ticket: 

 we implemented the server authentication enable/disable functionality. 

However the following code for some reason fails:

int32_t retVal;

uint8_t enable_server_authentication = 1;

retVal = sl_WlanSet((_u16)SL_WLAN_CFG_GENERAL_PARAM_ID, (_u16)19, (_u16)1 ,(_u8 *)&enable_server_authentication);

After execution the retVal is 2. What could be the cause of the error?