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

mkseven32
Posts: 32
Joined: Mon Apr 23, 2018 1:21 am

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

Postby mkseven32 » Thu May 10, 2018 1:08 am

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!

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

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

Postby kolban » Thu May 10, 2018 1:11 am

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.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

mkseven32
Posts: 32
Joined: Mon Apr 23, 2018 1:21 am

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

Postby mkseven32 » Thu May 10, 2018 2:42 am

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 !!!!


Who is online

Users browsing this forum: Bing [Bot] and 102 guests