Configure the Wired Equivalent Privacy (WEP) key attribute of the Wi-Fi aggregator profile.
#include <wifi/wifi_service.h>
WIFI_API wifi_result_t wifi_aggregator_set_profile_security_wep_key(wifi_aggregator_t *aggregator, const uint8_t *wep_key, int wep_key_byte_len)
BlackBerry 10.2.0
The aggregator returned in wifi_aggregator_register().
A WEP key of maximum length WIFI_MAX_WEP_KEY_LEN. Both ASCII and hexadecimal keys are supported.
The length of the WEP key in bytes. An ASCII WEP key needs to be either 5 or 13 ASCII characters. A hexadecimal WEP key needs to be either 10 or 26 hexadecimal characters.
This function configures the WEP key.
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.
A return code from wifi_result_t.