How dariozip/wardriving-esp32-c3 works
This is ESP32 firmware for a portable Wi-Fi and GPS survey device. Its intended workflow is to scan nearby networks, associate observations with GPS position, and save information to microSD; the sampled code shows Wi-Fi scanning and serial reporting, GPS input, display rendering, and SD-card setup/file operations. It does not show hashing network names or saving scan/GPS results to the card, so those intended links are not represented as implemented. The main loop coordinates features and timed updates. Some setup and loop code is omitted, so only visible calls and documented capabilities are shown.
Main entry points: main.cpp Firmware runtime · wifiModule.cpp Wi-Fi scanning · displayPopulate.cpp Screen rendering · main.h State and features
Components 11
Device control
- Firmware runtime
src/main.cpp - State and features
include/main.h
Sensing
- Wi-Fi scanning
src/wifiModule.cpp - GPS position
src/main.cpp
Output and storage
- Screen rendering
src/displayPopulate.cpp - SD file operations
src/main.cpp - Serial reporting
src/wifiModule.cpp
Other components
- Nearby networks
- GPS receiver
- OLED display
- MicroSD card
Connections 12
- Firmware runtime → Wi-Fi scanning: initializes
src/main.cpp - Firmware runtime → Wi-Fi scanning: starts scans
src/main.cpp - Firmware runtime → Wi-Fi scanning: checks results
src/main.cpp - Wi-Fi scanning → Nearby networks: scans
src/wifiModule.cpp - Wi-Fi scanning → Serial reporting: reports results
src/wifiModule.cpp - Firmware runtime → GPS position: reads GPS input
src/main.cpp - GPS receiver → GPS position: sends GPS data
src/main.cpp - Firmware runtime → Screen rendering: refreshes
src/main.cpp - Screen rendering → OLED display: renders
src/displayPopulate.cpp - Firmware runtime → SD file operations: sets up card
src/main.cpp - SD file operations → MicroSD card: reads and writes
src/main.cpp - Firmware runtime → State and features: uses feature state
src/main.cpp