wifi_service_initialize()

Initialize the Wi-Fi service system and start receiving Wi-Fi events.

Synopsis:

#include <wifi/wifi_service.h>
 
WIFI_API wifi_result_t wifi_service_initialize(wifi_service_t **wifi_service)

Since:

BlackBerry 10.2.0

Arguments:

wifi_service

The service handle that will be created and initialized by this function.

Library:

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

Description:

This function connects the application to the Wi-Fi service system and lets it start receiving events. It creates and initializes the handle that is used for receiving events. An application may only call this function once.

The application must call wifi_service_shutdown() to clean up and release the handle.

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