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: 88
Joined: Fri Jan 04, 2019 12:00 pm

Return to Microcontrollers & Embedded

Who is online

Users browsing this forum: No registered users and 0 guests