Tizen Native API
|
The Wi-Fi API provides functions for managing Wi-Fi and monitoring the state of Wi-Fi.
#include <wifi.h>
Wi-Fi allows your application to connect to a Wireless Local Area Network (WLAN) and to transfer data over the network. The Wi-Fi Manager enables your application to activate and deactivate a local Wi-Fi device, and to connect to a WLAN network in the infrastructure mode.
This API is related with the following features:
Functions | |
int | wifi_initialize (void) TIZEN_DEPRECATED_API |
Initializes Wi-Fi. | |
int | wifi_deinitialize (void) TIZEN_DEPRECATED_API |
Deinitializes Wi-Fi. |
int wifi_deinitialize | ( | void | ) |
Deinitializes Wi-Fi.
WIFI_ERROR_NONE | Successful |
WIFI_ERROR_INVALID_OPERATION | Invalid operation |
WIFI_ERROR_OPERATION_FAILED | Operation failed |
WIFI_ERROR_NOT_SUPPORTED | Not supported |
int wifi_initialize | ( | void | ) |
Initializes Wi-Fi.
0
on success, otherwise negative error value WIFI_ERROR_NONE | Successful |
WIFI_ERROR_INVALID_OPERATION | Invalid operation |
WIFI_ERROR_OPERATION_FAILED | Operation failed |
WIFI_ERROR_PERMISSION_DENIED | Permission Denied |
WIFI_ERROR_NOT_SUPPORTED | Not supported |