diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2025-02-15 00:58:01 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-03-05 16:15:31 +1100 |
commit | 4d034f817c861b90cbe7ab0cb59d85036031750f (patch) | |
tree | f8c8162a91376b12a66cb44245ca56de3f18c339 /docs/esp32 | |
parent | 6fba1e406bde7ddf00f7cf52bd8c44764c8a1a97 (diff) |
esp8266/network_wlan: Allow enumerating connected stations in AP mode.
This commit introduces the ability to obtain a list of stations
connected to the device when in soft-AP mode.
A new parameter ("stations") to pass to WLAN.status is supported,
returning a tuple of (bssid, ipv4) entries, one per connected station.
An empty tuple is returned if no stations are connected, and an
exception is raised if an error occurred whilst building the python
objects to return to the interpreter.
Documentation is also updated to cover the new parameter.
This fixes #5395.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions