You could try to use the AP+STA mode.
Check in the help for more details but, basically, you should config your module in AP mode and then connect it in STA mode in the code.
Probably there still will be a problem on the IP addresses .....
Using ESP8266 as an access point
- cicciocb
- Site Admin
- Posts: 2069
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 441 times
- Been thanked: 1364 times
- Contact:
-
- Posts: 47
- Joined: Tue Feb 09, 2021 9:48 am
- Location: Monschau, Germany
- Has thanked: 8 times
- Been thanked: 2 times
Re: Using ESP8266 as an access point
Hi cicciocb,
exactly, IP address is the problem. Maybe it's a good idea to change two commands:
WIFI.APMODE SSID$, password$ [, channel] to WIFI.APMODE SSID$, password$ [, IP address, mask]
and
WIFI.CONNECT SSID$, password$ [, BSSID$] to WIFI.CONNECT SSID$, password$ [, IP address, mask [,gateway]]
instead of IP address, mask the notation IPaddress/mask length might be easier.
Cheers
Ulli
exactly, IP address is the problem. Maybe it's a good idea to change two commands:
WIFI.APMODE SSID$, password$ [, channel] to WIFI.APMODE SSID$, password$ [, IP address, mask]
and
WIFI.CONNECT SSID$, password$ [, BSSID$] to WIFI.CONNECT SSID$, password$ [, IP address, mask [,gateway]]
instead of IP address, mask the notation IPaddress/mask length might be easier.
Cheers
Ulli
The light at the end of the tunnel has been switched off for energy saving reasons.
- cicciocb
- Site Admin
- Posts: 2069
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 441 times
- Been thanked: 1364 times
- Contact:
Re: Using ESP8266 as an access point
Yes, it is already in the todo list[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Mon May 17, 2021 11:04 am Hi cicciocb,
exactly, IP address is the problem. Maybe it's a good idea to change two commands:
WIFI.APMODE SSID$, password$ [, channel] to WIFI.APMODE SSID$, password$ [, IP address, mask]
and
WIFI.CONNECT SSID$, password$ [, BSSID$] to WIFI.CONNECT SSID$, password$ [, IP address, mask [,gateway]]
instead of IP address, mask the notation IPaddress/mask length might be easier.
Cheers
Ulli
-
- Posts: 47
- Joined: Tue Feb 09, 2021 9:48 am
- Location: Monschau, Germany
- Has thanked: 8 times
- Been thanked: 2 times
Re: Using ESP8266 as an access point
Hi cicciocb,
great news!
Can't wait to have it.
Thanks
Ulli
great news!
Can't wait to have it.
Thanks
Ulli
The light at the end of the tunnel has been switched off for energy saving reasons.