How ovionekenoby/esp32-wrover-internet-radio works
This is ESP32 internet-radio and Bluetooth-sink firmware. The main user workflow is selecting or browsing a station, starting playback, and controlling it through physical controls or the local web manager; audio is streamed to the DAC and the display reflects device state. WiFi setup, persisted station lists, Radio Browser discovery, idle time display, diagnostics, and authenticated remote control are substantial supporting capabilities. The graph follows documented behavior and visible references; unsampled subsystem internals are represented at their exact source paths without assuming their internal call chains.
Main entry points: main.cpp Application state · rtcp_server.cpp Authenticated RTCP server · web_portal.cpp Local web manager · audio.cpp Radio and Bluetooth audio
Components 19
Interaction and display
- Application state
src/main.cpp - Buttons and encoder
src/input.cpp - E-paper display
src/display.cpp
Radio and stations
- Radio and Bluetooth audio
src/audio.cpp - HTTP(S) stream sources
src/AudioFileSourceICYSStream.cpp - Stations, Favorites, Recent
src/stations.cpp - Radio Browser discovery
src/browser.cpp - Remote station browsing
src/remote_browser.cpp
Connectivity and web
- WiFi management
src/net_manager.cpp - Local web manager
src/web_portal.cpp
Remote control
- Authenticated RTCP server
src/rtcp_server.cpp - Remote catalog control
src/rtcp_catalog.cpp - Remote Bluetooth control
src/rtcp_btx.cpp - Remote source control
src/rtcp_full_control.cpp - Remote browser control
src/rtcp_browser.cpp
Time and diagnostics
- Timezone and NTP
src/time_service.cpp - Runtime diagnostics
src/system_info.cpp - Audio memory diagnostics
src/mp3_memory_diagnostics.cpp
Other components
- Listener
Connections 23
- Listener → Buttons and encoder: operates
README.md - Listener → Local web manager: configures
README.md - Buttons and encoder → Application state: provides input
src/main.cpp - Application state → E-paper display: updates display
src/main.cpp - Application state → Radio and Bluetooth audio: controls playback
src/main.cpp - Radio and Bluetooth audio → HTTP(S) stream sources: opens streams
src/audio.cpp - Application state → Stations, Favorites, Recent: manages stations
src/main.cpp - Application state → Radio Browser discovery: requests listings
src/main.cpp - Application state → Remote station browsing: coordinates browsing
src/main.cpp - Application state → WiFi management: connects network
src/main.cpp - Application state → Local web manager: starts manager
src/main.cpp - Local web manager → Stations, Favorites, Recent: adds stations
src/web_portal.cpp - Local web manager → WiFi management: reads network state
src/web_portal.cpp - Local web manager → Timezone and NTP: sets timezone
src/web_portal.cpp - Application state → Timezone and NTP: updates time
src/main.cpp - Application state → Authenticated RTCP server: polls and publishes
src/main.cpp - Authenticated RTCP server → Radio and Bluetooth audio: dispatches controls
src/rtcp_server.cpp - Authenticated RTCP server → Remote catalog control: dispatches catalog
src/rtcp_server.cpp - Authenticated RTCP server → Remote Bluetooth control: dispatches Bluetooth
src/rtcp_server.cpp - Authenticated RTCP server → Remote source control: dispatches source
src/rtcp_server.cpp - Authenticated RTCP server → Remote browser control: dispatches browsing
src/rtcp_server.cpp - Application state → Runtime diagnostics: logs boot info
src/main.cpp - Application state → Audio memory diagnostics: initializes diagnostics
src/main.cpp