Embedded TCP/IP stack
4.7.0
|
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.
[in] | netif_desc | Network interface descriptor. |
[out] | country_code | String buffer that receives a two-letter country code (3 bytes - null-terminated string). |
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.