reject client
Posted: Fri Jul 26, 2024 5:14 pm
Hello every body
I want to be able to allow any client I want to connect and reject the rest when the esp8266 is configured in ap mode. In the investigations I did, I found that even if I use wifi_set_event_handler_cb or WiFi.onSoftAPModeProbeRequestReceived and send a deauthentication package to the client, the client can still connect. My guess is that the esp8266 sends a response packet to the client at the same time as mine, allowing it to connect.
What should I do if I want to manage the connection or non-connection of clients myself in the program?
Thanks
Sajjad Qadri
I want to be able to allow any client I want to connect and reject the rest when the esp8266 is configured in ap mode. In the investigations I did, I found that even if I use wifi_set_event_handler_cb or WiFi.onSoftAPModeProbeRequestReceived and send a deauthentication package to the client, the client can still connect. My guess is that the esp8266 sends a response packet to the client at the same time as mine, allowing it to connect.
What should I do if I want to manage the connection or non-connection of clients myself in the program?
Thanks
Sajjad Qadri