The Elektor Forum will close. See also this link. From Friday March 1st it is no longer possible to log in to the forum. However, the content of the forum will remain visible until the end of March. As of April 1st the forum will definitely go off the air.

How to make a WIFI channel change with the ESP8266!!

The topic on number crunching

How to make a WIFI channel change with the ESP8266!!

Postby chahath » Mon Jan 28, 2019 1:50 pm

ello,

I want to change the channel assigned in WIFI on an ESP8266, I have not found very clear information ...
I did a test with the following instructions:

#include <WS2812FX.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>

const char *ssid = "ESP8266";
const char *password = "ESP2017";
int channel = 6;

WiFi.mode(WIFI_AP);
WiFi.softAP(ssid, password, channel);https://discord.software/ FetLife https://downloader.vip/itunes/


I do not have a compilation error, but the ESP8266 is still on channel 1 ...
I use WIFI Analyze under Android for my tests.
Thank you for your help.
Cordialement
chahath
 
Posts: 94
Joined: Fri Jan 04, 2019 12:00 pm

Return to Microcontrollers & Embedded

Who is online

Users browsing this forum: No registered users and 1 guest