Skip to content

WiFi Events handler issue  #3832

Closed
Closed
@Tareq-Sulaiman

Description

@Tareq-Sulaiman

Hi everyone.
I actually have two problems with the WiFi events that are available as in the example at : https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiEvents/WiFiEvents.ino
The first problem is that the onSoftAPModeStationConnected handler is being called whenever anyone tries to associate with the access point even if they don't have the password, or they try to connect by accident, the esp8266 will register their device as connected for a while until the authentication fails, it will disconnect that station and call the onSoftAPModeStationDisconnected .
So are there any more specific connection events in AP mode (like authentication or IP address acquiring) ??
If not, is that something you are working on or considering working on??

The second problem is with the onSoftAPModeProbeRequestReceived , as the esp8266 is receiving multiple probe requests if a device nearby does a WiFi scan, and I didn't find anything in the 802.11 specifications about repeated probe requests.
Is the chip maybe receiving probe requests on channels other than the channel the AP is operating in?
I'm not quite sure what is going here but the number of requests picked is not consistent and I found it generally depends on the distance (the further away the station that is sending the request, the lesser they are), also the RSSI is not consistent as well, and there is a difference in the order of 30dB between the requests from the same station!!

Thank you, and your help would be appreciated.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions