Modify the enable status of a Wi-Fi aggregator profile.
#include <wifi/wifi_service.h>
WIFI_API wifi_result_t wifi_aggregator_enable_profile(wifi_aggregator_t *aggregator, bool enable)
BlackBerry 10.2.0
The aggregator returned in wifi_aggregator_register().
true to enable the profile, false to disable it.
This function enables or disables the Wi-Fi aggregator profile according to the enable flag provided. Enabled profiles may be used for connection by the internal Wi-Fi connection manager.
This function may be used to disconnect from the aggregator network. If enable is set to false and the currently connected network corresponds to the Wi-Fi aggregator profile, the network will be disconnected and the profile disabled.
If the profile is not properly configured yet it cannot be enabled and WIFI_ERROR_AGGREGATOR_PROFILE_NOT_READY will be returned.
A return code from wifi_result_t.