Page 1 of 1

How to use whitelist in AP mode?

Posted: Wed Jun 27, 2018 7:49 am
by jimcooper
HI all

I want to allow specific mac address can connect to AP.
How to do that? Is there have any API to use?

Re: How to use whitelist in AP mode?

Posted: Wed Jun 27, 2018 3:27 pm
by kolban
If there isn't a better way, one option that might have merit is to detect the new station attached event, examine the BSSID of the connected device and if you don't want it, execute an esp_wifi_deauth_sta() API call to de-authenticate it. Just a guess.