Page 1 of 1

does ESP32 support console cmd mode to test wifi channel link?

Posted: Thu May 10, 2018 1:08 am
by mkseven32
Hi all
As different countries support different wifi channels. so there is a testing about wifi channel support in laboratory.
is there any tool or console Cmd which could set the esp32 to link the assigned channel?

BR!

Re: does ESP32 support console cmd mode to test wifi channel link?

Posted: Thu May 10, 2018 1:11 am
by kolban
There is an API called esp_wifi_set_country() which is used to set the operating country. It may be that also chooses the correct channels.

When calling esp_wifi_set_config() one of the properties that can be set is called "channel" which I believe instructs the WiFi connection to use a specific channel.

Re: does ESP32 support console cmd mode to test wifi channel link?

Posted: Thu May 10, 2018 2:42 am
by mkseven32
yeah you are right ,

but what i need is something like console cmd which could be writing in a script file 。
so Tester using a PC to run the script file ,then it would be autorun ( set different channel different SSID ,key ..) to linked and dislinked,

and ESP connect PC by UART or something other。。。

it seems that those action is to confirm the software wifi channel setting part,to check whether its setting is right or not !!!!

Re: does ESP32 support console cmd mode to test wifi channel link?

Posted: Thu May 10, 2018 2:59 am
by chegewara