Tizen HAL API  1.0
Wi-Fi

The Wi-Fi provides functions for Wi-Fi devices.

Required Header

#include <hal-wifi.h>

Overview

The Wi-Fi devices have various specifications, so it's hard to control them using single code. The Wi-Fi HAL provides common abstraction interfaces to control Wi-Fi devices which are different.

Key functionalities include:

For more information on the Wi-Fi features and the macros, see HAL Wi-Fi programming guides and tutorials.

Typedefs

typedef struct
_hal_backend_wifi_funcs 
hal_backend_wifi_funcs
 The structure type of the Wi-Fi HAL functions.

Data Structure Documentation

struct _hal_backend_wifi_funcs

The structure type of the Wi-Fi HAL functions.

Since:
HAL_MODULE_WIFI 1.0

Data Fields

int(* sta_start )(const char *ifname)
int(* p2p_start )(const char *ifname)
int(* softap_start )(const char *ifname)
int(* stop )(const char *ifname)
int(* get_mac )(const char *ifname, char **mac)

Field Documentation

int(* _hal_backend_wifi_funcs::get_mac)(const char *ifname, char **mac)

Controls the Wi-Fi device using a custom command

int(* _hal_backend_wifi_funcs::p2p_start)(const char *ifname)

Starts Wi-Fi in SoftAP mode

int(* _hal_backend_wifi_funcs::softap_start)(const char *ifname)

Stops the WiFi mode

int(* _hal_backend_wifi_funcs::sta_start)(const char *ifname)

< Starts Wi-Fi in station mode Starts Wi-Fi in P2P mode

int(* _hal_backend_wifi_funcs::stop)(const char *ifname)

Retrieves the MAC address of the specified network interface


Typedef Documentation

The structure type of the Wi-Fi HAL functions.

Since:
HAL_MODULE_WIFI 1.0