More softAPs at once
-
- Posts: 28
- Joined: Fri Jun 09, 2017 10:17 pm
More softAPs at once
Postby Jan Kijonka » Mon Sep 04, 2017 8:26 pm
I would like to activate more ESP8266 to softAP mode at once. I found out, only the first activated softAP ESP8266 can be visible in a wirelless connection list. The others get error during switching to SoftAP mode. Maybe they detect the 192.168.4.1 IP address is already occupied. What is the best way to avoid it? I thought I can try to increase the IP address in some range e.g. from 192.168.4.1 to 192.168.104.1 and try to switch to SoftAP mode until get no error for each device.
Thanky you,
Jan
Re: More softAPs at once
Postby pratik » Tue Sep 05, 2017 4:34 pm
Or do you want to have 2 softAP+STA mode ESPs connected to each other?
-
- Posts: 28
- Joined: Fri Jun 09, 2017 10:17 pm
Re: More softAPs at once
Postby Jan Kijonka » Tue Sep 05, 2017 9:32 pm
-
- Posts: 28
- Joined: Fri Jun 09, 2017 10:17 pm
Re: More softAPs at once
Postby Jan Kijonka » Wed Sep 06, 2017 3:54 pm
-
- Posts: 28
- Joined: Fri Jun 09, 2017 10:17 pm
Re: More softAPs at once
Postby Jan Kijonka » Thu Sep 07, 2017 10:31 pm
Although I can see all the ESP in SoftAP mode in the Wi-Fi Network Connection List in my laptop, it's not possible to connect all of them. Sometimes incorrect password is reported, sometimes I can connect only one of them. Now I test 6 ESPs:
- each ESP has unique SSID, unique password, unique Wi-Fi channel (I use 2, 4, 6, 8, 10, 12)
- I have tried different encryptions, multiple connection enabled/disabled, server enabled/disabled
Results:one ESP in SoftAP mode is no problem. The more units the greater the problem to connect each of them.
In my application, more people in the same area could change to SoftAP mode and try to connect to their ESP. How to solve this problem ?
Re: More softAPs at once
Postby pratik » Tue Sep 19, 2017 2:25 pm
I can set >10 ESPs to softAP mode in the same room.
-
- Posts: 28
- Joined: Fri Jun 09, 2017 10:17 pm
Re: More softAPs at once
Postby Jan Kijonka » Thu Sep 28, 2017 3:57 pm
1) wi-fi CHANNEL= 1
2) AT+CWMODE_CUR=2 (softAP mode)
3) If automatic reset caused by ESP module is captured within two seconds => CHANNEL++, AT+CWMODE_CUR=3, AT+CWSAP_CUR="SSID","PSWD","CHANNEL","3"
else CHANNEL is OK
Do you have any better solution than waiting for automatic ESP reset in case the channel is occupied ?
Who is online
Users browsing this forum: No registered users and 4 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.