From a55c17dc69ac43cd41e7efe603e20298a5513b06 Mon Sep 17 00:00:00 2001 From: adzierzanowski Date: Thu, 16 Jan 2020 11:16:43 +0100 Subject: esp32/modnetwork: Add max_clients kw-arg to WLAN.config for AP setting. This allows the user to configure the maximum number of clients that are connected to the access point. Resolves #5125. --- docs/esp32/quickref.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst index c58f4aa76..8861ca4ac 100644 --- a/docs/esp32/quickref.rst +++ b/docs/esp32/quickref.rst @@ -82,6 +82,7 @@ The :mod:`network` module:: ap = network.WLAN(network.AP_IF) # create access-point interface ap.config(essid='ESP-AP') # set the ESSID of the access point + ap.config(max_clients=10) # set how many clients can connect to the network ap.active(True) # activate the interface A useful function for connecting to your local WiFi network is:: -- cgit v1.2.3