CMSIS-Driver  Version 2.7.1
Peripheral Interface for Middleware and Application Code
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
WiFi Option Codes

WiFi Option Codes for ARM_WIFI_SetOption or ARM_WIFI_GetOption function. More...

Macros

#define ARM_WIFI_BSSID   1U
 Station/AP Set/Get BSSID of AP to connect or of AP; data = &bssid, len = 6, uint8_t[6]. More...
 
#define ARM_WIFI_TX_POWER   2U
 Station/AP Set/Get transmit power; data = &power, len = 4, uint32_t: 0 .. 20 [dBm]. More...
 
#define ARM_WIFI_LP_TIMER   3U
 Station Set/Get low-power deep-sleep time; data = &time, len = 4, uint32_t [seconds]: 0 = disable (default) More...
 
#define ARM_WIFI_DTIM   4U
 Station/AP Set/Get DTIM interval; data = &dtim, len = 4, uint32_t [beacons]. More...
 
#define ARM_WIFI_BEACON   5U
 AP Set/Get beacon interval; data = &interval, len = 4, uint32_t [ms]. More...
 
#define ARM_WIFI_MAC   6U
 Station/AP Set/Get MAC; data = &mac, len = 6, uint8_t[6]. More...
 
#define ARM_WIFI_IP   7U
 Station/AP Set/Get IPv4 static/assigned address; data = &ip, len = 4, uint8_t[4]. More...
 
#define ARM_WIFI_IP_SUBNET_MASK   8U
 Station/AP Set/Get IPv4 subnet mask; data = &mask, len = 4, uint8_t[4]. More...
 
#define ARM_WIFI_IP_GATEWAY   9U
 Station/AP Set/Get IPv4 gateway address; data = &ip, len = 4, uint8_t[4]. More...
 
#define ARM_WIFI_IP_DNS1   10U
 Station/AP Set/Get IPv4 primary DNS address; data = &ip, len = 4, uint8_t[4]. More...
 
#define ARM_WIFI_IP_DNS2   11U
 Station/AP Set/Get IPv4 secondary DNS address; data = &ip, len = 4, uint8_t[4]. More...
 
#define ARM_WIFI_IP_DHCP   12U
 Station/AP Set/Get IPv4 DHCP client/server enable/disable; data = &dhcp, len = 4, uint32_t: 0 = disable, non-zero = enable (default) More...
 
#define ARM_WIFI_IP_DHCP_POOL_BEGIN   13U
 AP Set/Get IPv4 DHCP pool begin address; data = &ip, len = 4, uint8_t[4]. More...
 
#define ARM_WIFI_IP_DHCP_POOL_END   14U
 AP Set/Get IPv4 DHCP pool end address; data = &ip, len = 4, uint8_t[4]. More...
 
#define ARM_WIFI_IP_DHCP_LEASE_TIME   15U
 AP Set/Get IPv4 DHCP lease time; data = &time, len = 4, uint32_t [seconds]. More...
 
#define ARM_WIFI_IP6_GLOBAL   16U
 Station/AP Set/Get IPv6 global address; data = &ip6, len = 16, uint8_t[16]. More...
 
#define ARM_WIFI_IP6_LINK_LOCAL   17U
 Station/AP Set/Get IPv6 link local address; data = &ip6, len = 16, uint8_t[16]. More...
 
#define ARM_WIFI_IP6_SUBNET_PREFIX_LEN   18U
 Station/AP Set/Get IPv6 subnet prefix length; data = &len, len = 4, uint32_t: 1 .. 127. More...
 
#define ARM_WIFI_IP6_GATEWAY   19U
 Station/AP Set/Get IPv6 gateway address; data = &ip6, len = 16, uint8_t[16]. More...
 
#define ARM_WIFI_IP6_DNS1   20U
 Station/AP Set/Get IPv6 primary DNS address; data = &ip6, len = 16, uint8_t[16]. More...
 
#define ARM_WIFI_IP6_DNS2   21U
 Station/AP Set/Get IPv6 secondary DNS address; data = &ip6, len = 16, uint8_t[16]. More...
 
#define ARM_WIFI_IP6_DHCP_MODE   22U
 Station/AP Set/Get IPv6 DHCPv6 client mode; data = &mode, len = 4, uint32_t: ARM_WIFI_IP6_DHCP_xxx (default Off) More...
 

Description

WiFi Option Codes for ARM_WIFI_SetOption or ARM_WIFI_GetOption function.

Many parameters of the WiFi module are configured using the ARM_WIFI_SetOption or ARM_WIFI_GetOption function.

Macro Definition Documentation

#define ARM_WIFI_BSSID   1U

Station/AP Set/Get BSSID of AP to connect or of AP; data = &bssid, len = 6, uint8_t[6].

Specifies the BSSID of the access point to connect or the access point itself.

See Also
WiFi Option Codes
#define ARM_WIFI_TX_POWER   2U

Station/AP Set/Get transmit power; data = &power, len = 4, uint32_t: 0 .. 20 [dBm].

Specifies the transmit power in dBm.

See Also
WiFi Option Codes
#define ARM_WIFI_LP_TIMER   3U

Station Set/Get low-power deep-sleep time; data = &time, len = 4, uint32_t [seconds]: 0 = disable (default)

Specifies the low-power deep-sleep time in seconds for station (disabled when 0 - default).

See Also
WiFi Option Codes
#define ARM_WIFI_DTIM   4U

Station/AP Set/Get DTIM interval; data = &dtim, len = 4, uint32_t [beacons].

Specifies the DTIM interval in number of beacons.

See Also
WiFi Option Codes
#define ARM_WIFI_BEACON   5U

AP Set/Get beacon interval; data = &interval, len = 4, uint32_t [ms].

Specifies the beacon interval in milliseconds for access point.

See Also
WiFi Option Codes
#define ARM_WIFI_MAC   6U

Station/AP Set/Get MAC; data = &mac, len = 6, uint8_t[6].

Specifies the MAC address.

See Also
WiFi Option Codes
#define ARM_WIFI_IP   7U

Station/AP Set/Get IPv4 static/assigned address; data = &ip, len = 4, uint8_t[4].

Specifies the IP address.

See Also
WiFi Option Codes
#define ARM_WIFI_IP_SUBNET_MASK   8U

Station/AP Set/Get IPv4 subnet mask; data = &mask, len = 4, uint8_t[4].

Specifies the subnet mask.

See Also
WiFi Option Codes
#define ARM_WIFI_IP_GATEWAY   9U

Station/AP Set/Get IPv4 gateway address; data = &ip, len = 4, uint8_t[4].

Specifies the gateway IP address.

See Also
WiFi Option Codes
#define ARM_WIFI_IP_DNS1   10U

Station/AP Set/Get IPv4 primary DNS address; data = &ip, len = 4, uint8_t[4].

Specifies the IP address of the primary DNS server.

See Also
WiFi Option Codes
#define ARM_WIFI_IP_DNS2   11U

Station/AP Set/Get IPv4 secondary DNS address; data = &ip, len = 4, uint8_t[4].

Specifies the IP address of the secondary DNS server.

See Also
WiFi Option Codes
#define ARM_WIFI_IP_DHCP   12U

Station/AP Set/Get IPv4 DHCP client/server enable/disable; data = &dhcp, len = 4, uint32_t: 0 = disable, non-zero = enable (default)

Enables or disables the DHCP client for station or DHCP server for access point.

See Also
WiFi Option Codes
#define ARM_WIFI_IP_DHCP_POOL_BEGIN   13U

AP Set/Get IPv4 DHCP pool begin address; data = &ip, len = 4, uint8_t[4].

Specifies the start IP address for DHCP server (access point).

See Also
WiFi Option Codes
#define ARM_WIFI_IP_DHCP_POOL_END   14U

AP Set/Get IPv4 DHCP pool end address; data = &ip, len = 4, uint8_t[4].

Specifies the end IP address for DHCP server (access point).

See Also
WiFi Option Codes
#define ARM_WIFI_IP_DHCP_LEASE_TIME   15U

AP Set/Get IPv4 DHCP lease time; data = &time, len = 4, uint32_t [seconds].

Specifies the lease time for DHCP server (access point).

See Also
WiFi Option Codes
#define ARM_WIFI_IP6_GLOBAL   16U

Station/AP Set/Get IPv6 global address; data = &ip6, len = 16, uint8_t[16].

Specifies the global IPv6 address.

See Also
WiFi Option Codes
#define ARM_WIFI_IP6_LINK_LOCAL   17U

Station/AP Set/Get IPv6 link local address; data = &ip6, len = 16, uint8_t[16].

Specifies the link-local IPv6 address.

See Also
WiFi Option Codes
#define ARM_WIFI_IP6_SUBNET_PREFIX_LEN   18U

Station/AP Set/Get IPv6 subnet prefix length; data = &len, len = 4, uint32_t: 1 .. 127.

Specifies the address prefix length.

See Also
WiFi Option Codes
#define ARM_WIFI_IP6_GATEWAY   19U

Station/AP Set/Get IPv6 gateway address; data = &ip6, len = 16, uint8_t[16].

Specifies the gateway IPv6 address.

See Also
WiFi Option Codes
#define ARM_WIFI_IP6_DNS1   20U

Station/AP Set/Get IPv6 primary DNS address; data = &ip6, len = 16, uint8_t[16].

Specifies the IPv6 address of the primary DNS server.

See Also
WiFi Option Codes
#define ARM_WIFI_IP6_DNS2   21U

Station/AP Set/Get IPv6 secondary DNS address; data = &ip6, len = 16, uint8_t[16].

Specifies the IPv6 address of the secondary DNS server.

See Also
WiFi Option Codes
#define ARM_WIFI_IP6_DHCP_MODE   22U

Station/AP Set/Get IPv6 DHCPv6 client mode; data = &mode, len = 4, uint32_t: ARM_WIFI_IP6_DHCP_xxx (default Off)

Specifies the operation mode of the DHCPv6 client.

See Also
WiFi Option Codes