Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant