Embedded TCP/IP stack  4.7.0

◆ fnet_wifi_set_country_code()

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.

Parameters
[in]netif_descNetwork interface descriptor.
[in]country_codeA two-letter country code (3 bytes - null-terminated string).
Returns
This function returns:
See also
fnet_wifi_get_country_code()

This function sets the country code (ISO3166) to indicate the country-specific regulatory domain in with the W-Fi device is operating.
For example, "US" - United State, "JP" - Japan.

Note
QCA4002/4 WiFi module supports only up to three set operations.

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