wifi_aggregator_set_profile_security_wep_key_str()

Configure the Wired Equivalent Privacy (WEP) key attribute of the Wi-Fi aggregator profile.

Synopsis:

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

Since:

BlackBerry 10.3.0

Arguments:

aggregator

The aggregator returned in wifi_aggregator_register().

wep_key

A null-terminated WEP key. Both ASCII and hexadecimal keys are supported.

Library:

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

Description:

This function configures the WEP key using a null-terminated string.

If the existing aggregator profile corresponds to the currently connected network, the function returns WIFI_ERROR_AGGREGATOR_PROFILE_BUSY without making the requested configuration change. If the security type is unmatched, the function returns WIFI_ERROR_INVALID_PARAMETERS.

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