esp8266 AP_IF Mac-adress list

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
Evilmentat
Posts: 1
Joined: Wed Oct 09, 2019 10:25 pm
Location: Russian Federation

esp8266 AP_IF Mac-adress list

Post by Evilmentat » Thu Jun 18, 2020 6:22 pm

Hello, is there a way to get a list of MAC addresses of devices connected to AP_IF?
When connecting or disconnecting a device, the message "station: 24: ec: 99: 73: 09: 3f leave, AID = 1" is displayed in REPL, is there a way to track the moment of connection and read this address? Thank.

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: esp8266 AP_IF Mac-adress list

Post by jimmo » Mon Jun 29, 2020 7:04 am

Evilmentat wrote:
Thu Jun 18, 2020 6:22 pm
Hello, is there a way to get a list of MAC addresses of devices connected to AP_IF?
I don't believe this is currently possible, but could maybe be implemented. There's been some discussion around adding a "irq" method to WLAN for events like this (e.g. station connected/disconnected), and this would be also usefor for station mode too (i.e. an event for successful connection to the AP).

Post Reply