Tizen Native API  4.0
Wi-Fi (Deprecated)

The Wi-Fi API provides functions for managing Wi-Fi and monitoring the state of Wi-Fi.

Required Header

#include <wifi.h>

Overview

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.

Related Features

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.

Function Documentation

int wifi_deinitialize ( void  )

Deinitializes Wi-Fi.

Deprecated:
Deprecated since 3.0. Use wifi_manager_deinitialize() instead.
Since :
2.3
Returns:
0 on success, otherwise negative error value
Return values:
WIFI_ERROR_NONESuccessful
WIFI_ERROR_INVALID_OPERATIONInvalid operation
WIFI_ERROR_OPERATION_FAILEDOperation failed
WIFI_ERROR_NOT_SUPPORTEDNot supported
int wifi_initialize ( void  )

Initializes Wi-Fi.

Deprecated:
Deprecated since 3.0. Use wifi_manager_initialize() instead.
Since :
2.3
Privilege Level:
public
Privilege:
http://tizen.org/privilege/network.get
Returns:
0 on success, otherwise negative error value
Return values:
WIFI_ERROR_NONESuccessful
WIFI_ERROR_INVALID_OPERATIONInvalid operation
WIFI_ERROR_OPERATION_FAILEDOperation failed
WIFI_ERROR_PERMISSION_DENIEDPermission Denied
WIFI_ERROR_NOT_SUPPORTEDNot supported