Closed
Description
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