wifi_aggregator_login_complete()

Report completion of hotspot/network login process.

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_aggregator_login_complete(wifi_aggregator_t *aggregator, wifi_aggregator_login_status_t status)

Since:

BlackBerry 10.2.0

Arguments:

aggregator

The aggregator returned in wifi_aggregator_register().

status

The login status.

Library:

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

Description:

Call this function when the hotspot/network login is completed and when the interface is expected to have Internet connectivity. If this function is not called within 60 seconds after Wi-Fi has connected, the Wi-Fi network will be disconnected and an event sent to the application. If the application needs more time to complete a login, it can send WIFI_AGGREGATOR_LOGIN_NEED_MORE_TIME. The application is allowed a maximum of 5 minutes from the time of the Wi-Fi connected event to login completion. After the maximum time has expired, further requests for more time will be rejected with return code WIFI_ERROR_REQUEST_REFUSED.

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