How horsemann07/ridecast works
RideCast is an embedded communications application intended to bridge a phone/PC and a vehicle cluster. The visible runtime is an ESP32-oriented application with Wi-Fi and UART app modules, configuration, and a BSP providing hardware-facing Wi-Fi/UART APIs plus console, CLI, and logging support. The README describes broader Bluetooth, CAN/USB, routing, encryption, and remote-diagnostics capabilities, but corresponding implementation directories are absent from this tree; they are not represented as runtime components. Source excerpts do not expose app-level call details, so the graph uses only the documented layer direction and visible module boundaries.
Main entry points: ridecast_main.c RideCast control · wifi_app.c Wi-Fi app · uart_app.c UART app · bsp_uart.c UART driver
Components 15
Application
- App entry
app/main/app_main.c - RideCast control
app/srcs/ridecast_main.c - App configuration
app/app_config/app_config.c - Wi-Fi app
app/srcs/wifi_app.c - UART app
app/srcs/uart_app.c
Board support
- BSP configuration
bsp/bsp_config/bsp_cfg_map.c - Wi-Fi driver
bsp/srcs/port/esp32/bsp_wifi.c - UART driver
bsp/srcs/port/esp32/bsp_uart.c
Runtime services
- Console
bsp/srcs/core/bsp_console.c - CLI
bsp/srcs/core/private/bsp_cli.c - BSP logger
bsp/srcs/core/private/bsp_log.c - OS abstraction
bsp/srcs/core/private/bsp_osal.c
Other components
- Phone / PC
- Vehicle cluster
- Serial peer
Connections 12
- Phone / PC → Wi-Fi app: wireless data
- App entry → RideCast control: starts
- RideCast control → App configuration: uses settings
- RideCast control → Wi-Fi app: dispatches
- RideCast control → UART app: dispatches
- Wi-Fi app → Wi-Fi driver: uses BSP
- UART app → UART driver: uses BSP
- UART driver → Serial peer: serial transfer
- Vehicle cluster → Serial peer: serial link
- BSP configuration → OS abstraction: configures
- CLI → Console: uses transport
- BSP logger → Console: outputs logs