Function esp_idf_svc::sys::esp_wifi_get_country_code
source ยท pub unsafe extern "C" fn esp_wifi_get_country_code(
country: *mut i8,
) -> i32
Expand description
@brief get the current country code
@param country country code
@return
- ESP_OK: succeed
- ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
- ESP_ERR_INVALID_ARG: invalid argument