Configure the security type of a Wi-Fi aggregator profile.
WIFI_API wifi_result_t wifi_aggregator_set_profile_security_type(wifi_aggregator_t *aggregator, wifi_security_type_t security)
The aggregator returned in wifi_aggregator_register().
An attribute value defined in wifi_security_type_t.
Library:libwifi (For the qcc command, use the -l wifi option to link against this library)
This function configures the security type attribute and removes the pre-configured security credentials for the profile. This attribute is mandatory for the configuration of the aggregator profile. An app must configure the security type by using this function before configuring any other security credentials.
If the existing aggregator profile corresponds to the currently connected network, WIFI_ERROR_AGGREGATOR_PROFILE_BUSY is returned and the profile is not changed.
If a security type is not supported, WIFI_ERROR_REQUEST_UNSUPPORTED is returned.
A return code from wifi_result_t.
Last modified: 2014-05-14