【Feedback】Setting regulatory domain/country/enabled Wi-Fi channels

mash
Posts: 5
Joined: Thu Feb 04, 2016 12:30 am

【Feedback】Setting regulatory domain/country/enabled Wi-Fi channels

Postby mash » Mon May 23, 2016 5:11 pm

The Wi-Fi channels we can use in each country is different.
See https://en.wikipedia.org/wiki/List_of_W ... e_concerns

How do we change the regulatory domain in ESP8266?
If there isn't a way, I'm thinking of a work around to call

Code: Select all

wifi_station_scan
11-14 times depending on the country the client is in, do you think this'll work?

Another related question, does

Code: Select all

wifi_station_scan
start a active scan or a passive scan?

My understanding is that active scanning for Wi-Fi APs radiates electric waves, so we have to stop scanning for channels 12-14 in USA, but there might be APs on channel 12-14 in Japan.

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

【Feedback】Re: Setting regulatory domain/country/enabled Wi-Fi channels

Postby ESP_Rubin » Thu Jun 30, 2016 5:07 pm

your understand is correct. and you can set the special channel in "wifi_station_scan" as a work around

RogerFL
Posts: 16
Joined: Fri Jul 24, 2015 10:32 pm

Re: 【Feedback】Setting regulatory domain/country/enabled Wi-Fi channels

Postby RogerFL » Sat Apr 07, 2018 5:07 am

I would like to see Espressif provide a way of changing the country and enabled channels in the RF configuration so that it would work with either SDK or AT commands. We have products based on both SDK (NONOS) and the AT commands and we would like to support our target markets and also with more clarity than just scanning the right channels (with SDK).

Clarity would be improved - maybe even compliance - by changing the regulatory domain to match the target market and match the way the channels are being used.

Note, for example, on Apple OS X, Wireless Diagnostics -> Window -> Scan, country is one of the fields shown, and our product always shows CN for this field.

Btw, it also shows protocol as 802.11b/g but I would expect that to read 802.11b/g/n.

Can you comment on this suggestion?
Roger Collins
Espressif fan and developer of flame boss smoker controller

blubb
Posts: 99
Joined: Mon Jun 22, 2015 5:35 am

Re: 【Feedback】Setting regulatory domain/country/enabled Wi-Fi channels

Postby blubb » Sat Apr 07, 2018 7:03 am

Have you tried the wifi_set_country api?

RogerFL
Posts: 16
Joined: Fri Jul 24, 2015 10:32 pm

Re: 【Feedback】Setting regulatory domain/country/enabled Wi-Fi channels

Postby RogerFL » Sat Apr 14, 2018 2:07 am

You added it in 2.2.0 and it is just what I was looking for - and you added an AT command for it too - perfect - like you read my mind. Thanks!
Roger Collins
Espressif fan and developer of flame boss smoker controller

Who is online

Users browsing this forum: No registered users and 4 guests