wifi_aggregator_network_match()

Report that a network is found for connection from the last scan results.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

aggregator

The aggregator returned in wifi_aggregator_register().

match

true if a match was found, false otherwise.

Library:

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

Description:

Call this function when the aggregator has completed network selection against received scan results. If a network is found, first configure the profile by calling the funtions to set profile parameters and then call this function to signal a match is found and that the profile is configured. If no network is found for connection, call this function with match set to false to allow the Wi-Fi connection manager to continue network selection without waiting. If the application does not call this function it may be deregistered and the profile deleted.

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