wifi_aggregator_set_profile_security_psk_passphrase()

Configure the pre-shared key (PSK) passphrase of a Wi-Fi aggregator profile.

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_aggregator_set_profile_security_psk_passphrase(wifi_aggregator_t *aggregator, const char *passphrase)

Since:

BlackBerry 10.2.0

Arguments:

aggregator

The aggregator returned in wifi_aggregator_register().

passphrase

A null-terminated Wi-Fi Protected Access (WPA) ASCII passphrase between 8 and 63 characters in length.

Library:

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

Description:

This function configures the PSK passphrase.

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