Embedded TCP/IP stack  4.7.0

◆ fnet_wifi_get_country_code()

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.

Parameters
[in]netif_descNetwork interface descriptor.
[out]country_codeString buffer that receives a two-letter country code (3 bytes - null-terminated string).
Returns
This function returns:
See also
fnet_wifi_set_country_code()

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


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