This document explains how IOS-Mapper WiFi integrates with the companion ESP32 scanner firmware.
- Host:
192.168.4.1 - Port:
80
- User manually connects iPhone to scanner AP in iOS Wi-Fi settings.
- App checks scanner availability with
GET /status. - App configures scan parameters.
- App sends explicit start/stop commands.
- App polls result payloads until scan completes.
GET /statusPOST /configurePOST /scan/startPOST /scan/stopGET /scan/results
Common failure states:
- Host unreachable
- Invalid endpoint
- Invalid JSON response
- HTTP non-2xx
- Scan timeout
The app maps these failures into user-facing status and banner messages.
- Auto-join is not used.
- Device info (serial, firmware, network types) resets when scanner is unavailable.