ESP32-Mapper WiFi is the companion firmware for IOS-Mapper WiFi.
It provides command-driven nearby Wi-Fi scan collection over a local HTTP API exposed from the ESP32 access point.
This project is intended to be free to use for research, education, diagnostics, and integration testing.
Companion mobile app:
- AP+STA startup mode for local client connectivity.
- Command-driven scan lifecycle (
start/stop). - Configurable scan constraints (
interval_ms,min_rssi,max_results). - JSON API with CORS support.
- Device metadata in API responses (device ID, firmware, scan network types).
- In-memory cache of latest filtered scan results.
- SSID:
WIFI-MAPPER-SCANNER - Password:
12345678 - Host/IP:
192.168.4.1 - Port:
80
Returns scanner health and metadata.
Key fields:
okdevice_idfirmwarescan_network_typesin_progresslast_commandlast_command_at_mslast_scan_finished_mslast_scan_countuptime_msip
Applies scan configuration.
Body:
{
"interval_ms": 5000,
"min_rssi": -88,
"max_results": 80
}Starts asynchronous scan execution.
Stops active scan execution.
Returns latest scan payload with network records:
ssidbssidrssichannelfrequency_mhzsecurityencryption
- Install PlatformIO.
- Build:
pio run
- Flash:
pio run -t upload
- Monitor:
pio device monitor
src/main.cpp- minimal firmware entrypoint.include/scanner_server.h- scanner server declarations and state model.src/scanner_server.cpp- HTTP routes, scan loop integration, JSON responses.
Additional docs:
This project is intended to be freely usable. If redistributed, include a clear license and attribution policy.