Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

add wlan_ap_tcpip_sta_list function that lists the connected devices … #415

Open
wants to merge 1 commit into
base: Dev
Choose a base branch
from

Conversation

agicquel
Copy link
Contributor

…when lopy set in ap mode.

The function retuns a list of tuple containing the mac address and the ipv4 address of all connected devices. It may be useful to monitor the network.

Example in micropython:
for mac, ip in wlan.ap_tcpip_sta_list(): print("mac = " + str(mac)) print("ip = " + str(ip) + "\n")

`mac = b',:\xe8=\xe4N'
ip = 0.0.0.0

mac = b'\x18\x1d\xea<I/'
ip = 10.42.31.3`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant