wifi_aggregator_set_profile_security_user_name_password()

Configure the username and password of a Wi-Fi aggregator profile.

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_aggregator_set_profile_security_user_name_password(wifi_aggregator_t *aggregator, const char *username, const char *password)

Since:

BlackBerry 10.2.0

Arguments:

aggregator

The aggregator returned in wifi_aggregator_register().

username

The new attribute value for username.

password

The new attribute value for password.

Library:

libwifi (For the qcc command, use the -l wifi option to link against this library)

Description:

This function configures the username and password.

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 the security type is unmatched, WIFI_ERROR_INVALID_PARAMETERS is returned.

Returns:

A return code from wifi_result_t.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus