Embedded TCP/IP stack: Wi-Fi Interface API

FNET

Embedded TCP/IP stack  4.1.0

Detailed Description

This section describes API that is only for Wi-Fi network interfaces.

Data Structures

struct  fnet_wifi_connect_params_t
 Wi-Fi connection parameters for fnet_wifi_connect(). More...
 
struct  fnet_wifi_access_point_params_t
 Wi-Fi access point parameters for fnet_wifi_access_point(). More...
 

Macros

#define FNET_WIFI_SSID_SIZE   sizeof("123456789_123456789_123456789_12")
 Wi-Fi SSID (Subscription Service Identifier) can be up to 32 alphanumeric character unique identifier (zero-terminated string).

. More...

 
#define FNET_WIFI_PASSPHRASE_SIZE_MAX   sizeof("123456789_123456789_123456789_123456789_123456789_123456789_1234")
 Alphanumeric pass-phrase can contain maximum 64 hexadecimal digits (zero-terminated).

. More...

 
#define FNET_WIFI_PASSPHRASE_SIZE_MIN   sizeof("12345678")
 Alphanumeric pass-phrase can contain minimum 8 characters (zero-terminated).

. More...

 

Enumerations

Functions

fnet_return_t fnet_wifi_connect (fnet_netif_desc_t netif_desc, fnet_wifi_connect_params_t *params)
 Starts Wi-Fi connection in station mode. More...
 
fnet_return_t fnet_wifi_disconnect (fnet_netif_desc_t netif_desc)
 Disconnects from a Wi-Fi network. More...
 
fnet_return_t fnet_wifi_access_point (fnet_netif_desc_t netif_desc, fnet_wifi_access_point_params_t *params)
 Initializes a Wi-Fi access point. More...
 
fnet_wifi_op_mode_t fnet_wifi_get_op_mode (fnet_netif_desc_t netif_desc)
 Retrieves current operation mode of the Wi-Fi interface. More...
 
fnet_uint32_t fnet_wifi_fw_get_version (fnet_netif_desc_t netif_desc)
 Retrieves firmware version number of the Wi-Fi interface module. More...
 
fnet_return_t fnet_wifi_fw_update (fnet_netif_desc_t netif_desc, const fnet_uint8_t *fw_buffer, fnet_size_t fw_buffer_size)
 Updates firmware of the Wi-Fi interface. More...
 

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net