SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
Functions used for enabling or disabling authentication check. By default, authentication check is disabled.
Function name | Description | Parameters |
---|---|---|
| Enables or disables the HTTP server authentication check Auth_enable value is true/false. | appId = SL_NET_APP_HTTP_SERVER_ID Option = NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK pOptionLen = 1 (size of UINT8) pOptionValue = pointer to auth_enable (true/false) |
| Gets the current authentication status. Return auth_enable value is true/false. | appId = SL_NET_APP_HTTP_SERVER_ID Option = NETAPP_SET_GET_HTTP_OPT_AUTH_CHECK pOptionLen = user-supplied pointer for the returned value len pOptionValue = user-supplied pointer for the returned value |