Page 1 of 1

esp8266 AP_IF Mac-adress list

Posted: Thu Jun 18, 2020 6:22 pm
by Evilmentat
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.

Re: esp8266 AP_IF Mac-adress list

Posted: Mon Jun 29, 2020 7:04 am
by jimmo
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).