esp_wifi_get_country_code() function
get the current country code
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init - ESP_ERR_INVALID_ARG: invalid argument
Examples
esp_wifi_get_country_code() is referenced by 1 libraries and example projects: