esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
16.08k stars 13.33k forks source link

Client connection management #9171

Closed SajjadQadri closed 3 months ago

SajjadQadri commented 4 months ago

Hi everyone 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