Embedded TCP/IP stack  4.7.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

enum  fnet_wifi_op_mode_t {
  FNET_WIFI_OP_MODE_NONE,
  FNET_WIFI_OP_MODE_STATION,
  FNET_WIFI_OP_MODE_ACCESS_POINT
}
 Wi-Fi operation mode. More...
 
enum  fnet_wifi_wpa_mode_t {
  FNET_WIFI_WPA_NONE,
  FNET_WIFI_WPA,
  FNET_WIFI_WPA2
}
 WPA-personal security mode. s. More...
 

Functions

fnet_return_t fnet_wifi_connect (fnet_netif_desc_t netif_desc, fnet_wifi_connect_params_t *params)
 Start Wi-Fi connection in station mode. More...
 
fnet_return_t fnet_wifi_disconnect (fnet_netif_desc_t netif_desc)
 Disconnect 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)
 Initialize a Wi-Fi access point. More...
 
fnet_wifi_op_mode_t fnet_wifi_get_op_mode (fnet_netif_desc_t netif_desc)
 Retrieve current operation mode of the Wi-Fi interface. More...
 
fnet_uint32_t fnet_wifi_fw_get_version (fnet_netif_desc_t netif_desc)
 Retrieve firmware version number of the Wi-Fi interface module. More...
 
fnet_return_t fnet_wifi_set_country_code (fnet_netif_desc_t netif_desc, const fnet_char_t *country_code)
 Set country code of the Wi-Fi interface. More...
 
fnet_return_t fnet_wifi_get_country_code (fnet_netif_desc_t netif_desc, fnet_char_t *country_code)
 Retrieve country code used by the Wi-Fi interface. 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)
 Update firmware of the Wi-Fi interface. More...
 

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net