Chat freely about anything...

User avatar
By spaceman
#83902 Hi all


There are 2 questions that I am curious about, and did not find an answer for them in the Datasheet
(0a-esp8266ex_datasheet_en.pdf)
regarding ESP8266's SoftAP Mode

1) When the ESP8266 is in SoftAP Mode, how many wi-fi devices can connect to it?

2) Assuming several devices connected to the WLAN created by the ESP8266 in SoftAP Mode,
can the devices only commuמicate with the SoftAP (in TCP or UDP), or can they also communicate
between themselves (meaning the SoftAP behaves like a small Wireless Router)?


Is there any webpage/document with some specification about this issue?

As said, it seems that the Datasheet does not answer these 2 questions..


Thank you very much
User avatar
By davydnorris
#83906 By default the maximum number of clients that can connect to an AP is 4, but you can change that and recompile.

This just connects the clients, it doesn't pass traffic between them. To do that you would need to add code like the below:

https://github.com/martin-ger/esp_wifi_repeater

NB: It's worthwhile noting that this code has increased the number of concurrent clients to 8
User avatar
By spaceman
#83907 Hi davydnorris

Thank you for your reply.


OK so you say that If someone does not change the source code, then 4 Clients can connect, and the only communication is ESP8266<->Clients, and not Clients between them via the help of the ESP8266..

Nice, thank you.

BTW for some reason no mention about these 2 basic details in the Datasheet..
Last edited by spaceman on Tue Sep 24, 2019 11:23 pm, edited 1 time in total.
User avatar
By davydnorris
#83916 It's not mentioned in the datasheet because it's software specific - since you can configure it yourself, it's not a property of the hardware module.

You may find that, just like the code I pointed you to, the values may be different for Arduino, Lua, AT, RTOS etc etc