ESP8266 Developer Zone The Official ESP8266 Forum 2017-12-24T00:56:11+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=8768 2017-12-24T00:56:11+08:00 2017-12-24T00:56:11+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8768&p=18801#p18801 <![CDATA[Re: Limit WiFi channels for FCC compliance]]> Statistics: Posted by blubb — Sun Dec 24, 2017 12:56 am


]]>
2017-12-20T00:24:12+08:00 2017-12-20T00:24:12+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8768&p=18741#p18741 <![CDATA[Re: Limit WiFi channels for FCC compliance]]>

Code:

wifi_country_t wc = {.cc="USA", .schan=1, .nchan=12, .policy=WIFI_COUNTRY_POLICY_AUTO};
wifi_set_country(&wc);


Edit: Please report if it worked and if calling it in user_init is enough. Otherwise try putting it in user_rf_pre_init, I guess.

Statistics: Posted by blubb — Wed Dec 20, 2017 12:24 am


]]>
2017-12-18T23:12:39+08:00 2017-12-18T23:12:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=8768&p=18723#p18723 <![CDATA[Limit WiFi channels for FCC compliance]]>
We are working on a product based around the ESP8266 (WROOM-02). We are having problems requiring FCC approval due to the fact that the ESP radiates on channels 13 and 14, which is not allowed for the North America market.
I have found this topic (viewtopic.php?f=7&t=2206) and implement a custom scan for each channel so that we can limit the active scans to channels 1-12.
However, during FCC tests the ESP still radiates on channels 13 and 14. It seems to be scanning for the latest known AP on every channel when auto re-connect is activated after boot.
Because the chip itself is FCC approved it should be possible to complete disable channels 13-14. Can you please tell me how this can be achieved and what API's to use in order to do so?

With kind regards,
Pim Knops
The Netherlands

Statistics: Posted by pimbutton — Mon Dec 18, 2017 11:12 pm


]]>