Page 1 of 1

WIFI Supported country codes

Posted: Thu Feb 29, 2024 2:03 am
by prasad.samudrala
Hello all,

I am looking at the esp_wifi_set_country_code() supported country code list. The \esp-idf-v5.1.2\components\esp_wifi\include\esp_wifi.h file , the document says, these are the supported country codes

* @attention 6. Supported country codes are "01"(world safe mode) "AT","AU","BE","BG","BR",
* "CA","CH","CN","CY","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HK","HR","HU",
* "IE","IN","IS","IT","JP","KR","LI","LT","LU","LV","MT","MX","NL","NO","NZ","PL","PT",
* "RO","SE","SI","SK","TW","US"

The list seems to be pretty small and missing major countries. Is the full list supported by ESP-IDF? How do we handle the other countries then Can we consider assigning one of these countries code to when other countries are selected. There could be a possibility of wifi country specific settings and regulations (Channel list, Transmit Power, DFS etc.) are exactly matching for some countries so we can as well use one country setting for other if they are perfectly matches. Do anyone have such a list of country code merging for multiple countries?

Prasad