You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like the Range Extender feature.
It is useful to be able to use a 5$ ESP32 dev-board instead of a full-blown Wi-Fi Access Point to solve Wi-Fi reception and/or range issues.
After trying to use an 'Extender' ESP32 to cover an area with 5-6 devices, I was surprised to discover that the Extender is limited to just 4 WiFi clients.
(I did not see that mentioned in the Docs - I discovered it by going over the Extender driver source code)
Apparently, the softAP() function limits the number of Wi-Fi clients / connections to 4 by default:
//boolsoftAP(constchar* ssid, constchar* passphrase = NULL, int channel = 1, int ssid_hidden = 0, int max_connection = 4);
//
From what I understand, the ESP SDK is (hard?) limited to a maximum of 10.
I think that it would be beneficial to be able to set a different connection limit (up to 10) at compile time.
I compiled a custom test version with a 10 client limit, and it seems to run well.
(See below example with 6 clients connected - tested on a dev-board with ESP32-D0WDQ6):
These changes allow you to define WIFI_RANGE_EXTENDER_MAX_CLIENTS at compile time, with valid values of 1-10.
If it is not defined, then the previous limit of 4 is used.
Another change is that the maximum number of clients is printed to the log, so the user would be made aware of it.
The changes leave the default behavior unchanged, and thus I think it is relatively 'low-risk' to add this to the code base.
Beside the suggested changes to xdrv_58_range_extender.ino, I think that the max client limitation should be better documented in docs/Range-Extender.md.
I hope someone finds this useful, and that this could be added to the main codebase at some point. :-)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I really like the Range Extender feature.
It is useful to be able to use a 5$ ESP32 dev-board instead of a full-blown Wi-Fi Access Point to solve Wi-Fi reception and/or range issues.
After trying to use an 'Extender' ESP32 to cover an area with 5-6 devices, I was surprised to discover that the Extender is limited to just 4 WiFi clients.
(I did not see that mentioned in the Docs - I discovered it by going over the Extender driver source code)
Apparently, the softAP() function limits the number of Wi-Fi clients / connections to 4 by default:
From what I understand, the ESP SDK is (hard?) limited to a maximum of 10.
I think that it would be beneficial to be able to set a different connection limit (up to 10) at compile time.
I compiled a custom test version with a 10 client limit, and it seems to run well.
(See below example with 6 clients connected - tested on a dev-board with ESP32-D0WDQ6):
Below are the (minor) changes I made to make it work:
Tasmota/tasmota/tasmota_xdrv_driver/xdrv_58_range_extender.ino:
user_config_override.h:
These changes allow you to define WIFI_RANGE_EXTENDER_MAX_CLIENTS at compile time, with valid values of 1-10.
If it is not defined, then the previous limit of 4 is used.
Another change is that the maximum number of clients is printed to the log, so the user would be made aware of it.
The changes leave the default behavior unchanged, and thus I think it is relatively 'low-risk' to add this to the code base.
Beside the suggested changes to xdrv_58_range_extender.ino, I think that the max client limitation should be better documented in docs/Range-Extender.md.
I hope someone finds this useful, and that this could be added to the main codebase at some point. :-)
Beta Was this translation helpful? Give feedback.
All reactions