What is the max_connection limit for SoftAP? How to increase it?

sarjan

What is the max_connection limit for SoftAP? How to increase it?

Postby sarjan » Sat Mar 12, 2016 6:05 pm

I want to connect more than 10 stations (maybe like 25 stations) to one softAP. Is it possible to do it without having to use mesh?

Here in the changelog it mentions the following
4.ESP8266 soft-AP can connected to 8 stations at most, softap_config.max_connection default is 4
viewtopic.php?f=5&t=481

Where does this limit of 8 stations come from? :? :?

Thanks :)

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: What is the max_connection limit for SoftAP? How to increase it?

Postby ESP_Faye » Mon Mar 14, 2016 8:30 pm

Hi,

It is due to the limitation of memory. ESP8266 soft-AP can connected to 8 stations at most.

You can set softap_config.max_connection = 8; then call wifi_softap_set_config.

Thanks for your interest in ESP8266 !

alx1
Posts: 1
Joined: Tue May 10, 2016 11:22 am

Re: What is the max_connection limit for SoftAP? How to increase it?

Postby alx1 » Tue May 10, 2016 11:28 am

Hello, I have some units to try an increased max_connection with but I don't know how to modify the code, I'm willing to try though if you have en example!

ty,

Alexandre

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: What is the max_connection limit for SoftAP? How to increase it?

Postby ESP_Faye » Thu May 12, 2016 11:20 am

Hi,

Here is an example of softAP configuration http://bbs.espressif.com/viewtopic.php?f=31&t=227.

You can change it as below, but it will take more memory.

Code: Select all

 softap_config.max_connection = 8;


Thanks for your interest in ESP8266 !

Marco
Posts: 6
Joined: Fri May 20, 2016 12:21 pm

Re: What is the max_connection limit for SoftAP? How to increase it?

Postby Marco » Thu Jul 14, 2016 7:12 pm

But
softap_config.max_connection = 8;

not work for me , max connection still 4.

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

Re: What is the max_connection limit for SoftAP? How to increase it?

Postby ESP_Rubin » Fri Jul 15, 2016 9:49 am

Hi,
which SDK version you used?

Who is online

Users browsing this forum: No registered users and 327 guests