How iotready/esp32_firmware_base works
This repository is an ESP32 C firmware library offering reusable Wi-Fi, provisioning, device-status, and GPIO APIs. The principal documented workflow starts when a device exposes a Wi-Fi hotspot; a user submits network credentials through REST, and the device switches to station mode to connect to the chosen access point. The README also describes BLE configuration and ESP-IDF provisioning alongside independent GPIO and system-statistics capabilities. Relationships among sampled modules are limited to references recorded in the source index; other links below are documented in the README.
Main entry points: wifi_config_rest.c REST Wi-Fi setup · wifi_station.c Wi-Fi station · wifi_softap.c Wi-Fi hotspot · utilities.c Error utilities
Components 11
Wi-Fi connectivity
- Wi-Fi hotspot
lib/wifi_softap/wifi_softap.c - Wi-Fi station
lib/wifi_station/wifi_station.c
Device configuration
- REST Wi-Fi setup
lib/wifi_config_rest/wifi_config_rest.c - BLE Wi-Fi setup
lib/wifi_config_ble/wifi_config_ble.c - Wi-Fi provisioning
lib/wifi_prov/src/wifi_prov.c
Device APIs
- GPIO interface
lib/gpio/gpio_interface.c - System statistics
lib/system_stats/src/system_stats.c
Shared utilities
- Common device helpers
lib/common/common.c - Error utilities
lib/utilities/utilities.c
Other components
- Phone or computer user
- User Wi-Fi access point
Connections 11
- Phone or computer user → Wi-Fi hotspot: joins hotspot
README.md - Phone or computer user → REST Wi-Fi setup: submits credentials
README.md - REST Wi-Fi setup → Wi-Fi hotspot: uses hotspot
README.md - REST Wi-Fi setup → Wi-Fi station: configures connection
README.md - Wi-Fi station → User Wi-Fi access point: connects to
README.md - BLE Wi-Fi setup → Wi-Fi station: references API
lib/wifi_config_ble/wifi_config_ble.c - Wi-Fi station → Error utilities: references helper
lib/wifi_station/wifi_station.c - Wi-Fi hotspot → Error utilities: references helper
lib/wifi_softap/wifi_softap.c - REST Wi-Fi setup → Error utilities: references helper
lib/wifi_config_rest/wifi_config_rest.c - Wi-Fi provisioning → Common device helpers: references helper
lib/wifi_prov/src/wifi_prov.c - System statistics → Common device helpers: references helper
lib/system_stats/src/system_stats.c