|
Tizen HAL API
1.0
|
The Wi-Fi provides functions for Wi-Fi devices.
#include <hal-wifi.h>
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. | |
| struct _hal_backend_wifi_funcs |
The structure type of the Wi-Fi HAL functions.
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) |
| 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 struct _hal_backend_wifi_funcs hal_backend_wifi_funcs |
The structure type of the Wi-Fi HAL functions.