PubInv / krake

A wireless alarm device which makes loud noises and flashes lights to alert a human
GNU Affero General Public License v3.0
0 stars 1 forks source link

Set WiFi Country Code Prior to Shipping #30

Open nk25719 opened 2 hours ago

nk25719 commented 2 hours ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] There is difference in Wifi protocols from one country to another, and each country has a WiFi country code, this is a preset variable that should be defined by the manufacturer in the device testing phase prior to shipping to user.

Describe the solution you'd like A clear and concise description of what you want to happen. As a user, ship the machine to me with the correct country code.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

ForrestErickson commented 2 hours ago

There is an interesting discussion about country code here: https://github.com/espressif/esp-idf/issues/9521

In particular, if true, this:

mhdong commented on Aug 16, 2022 Hi @davidzuhn @AxelLin The default country is "01" (world safe mode) , it will not violate regulatory before calling esp_wifi_set_country_code.