Skip to content

WifiEvent Handling #2910

Closed
Closed
@tkerby

Description

@tkerby

Description

Is there a way to use the WiFi Event Handling to recover the RSSI and Mac Address of received probe requests?

Specifically I would like to setup an AP using SoftAP and monitor for any probes it receives, logging the time, MAC and RSSI.

I've taken a good look at the WifiEvent example for a client but it doesn't cover how to access the data in the structures associated with the events. In particular I'm looking to read from this data in ESP8266WiFiType.h

+struct WiFiEventSoftAPModeProbeRequestReceived
+{

  • int rssi;
  • uint8 mac[6];
    +};

Ideallu I'd like to expand this to both run as a dummy AP, but connect to an access point as a client to get the time from NTP and forward Probe requests to an MQTT server

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions