wifi_aggregator_enable_profile()

Modify the enable status of a Wi-Fi aggregator profile.

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_aggregator_enable_profile(wifi_aggregator_t *aggregator, bool enable)

Since:

BlackBerry 10.2.0

Arguments:

aggregator

The aggregator returned in wifi_aggregator_register().

enable

true to enable the profile, false to disable it.

Library:

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

Description:

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.

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