How freesk8/freesk8_mobile works
FreeSK8 Mobile is a Flutter companion app for ESK8/PEV devices and the FreeSK8 Robogotchi. Its documented workflow is to connect to devices, view live ESC and smart-BMS data, configure the vehicle, and review logged rides. The map preserves those main tabs and the editor/firmware capabilities shown in the source tree. The README describes the screens, but Dart implementations were not sampled, so internal calls and data-store wiring are omitted where they cannot be verified.
Main entry points: esk8Configuration.dart Vehicle settings · main.dart Flutter app · realTimeData.dart Live telemetry · rideLogging.dart Ride logging
Components 26
App shell
- Flutter app
lib/main.dart
Device connection and telemetry
- Connection status
lib/mainViews/connectionStatus.dart - BLE connection state
lib/blocs/ble_connection - BLE support
lib/hardwareSupport/bleHelper.dart - Robogotchi status
lib/blocs/robogotchi - Live telemetry
lib/mainViews/realTimeData.dart - Telemetry state
lib/blocs/telemetry - BMS support
lib/hardwareSupport/dieBieMSHelper.dart
Vehicle configuration
- Vehicle settings
lib/mainViews/esk8Configuration.dart - ESC configuration state
lib/blocs/esc_config - ESC protocol support
lib/hardwareSupport/escHelper - Speed profiles
lib/subViews/speedProfiles.dart - Profile editor
lib/subViews/escProfileEditor.dart - Input configuration
lib/subViews/inputConfigurationEditor.dart - Motor configuration
lib/subViews/motorConfigurationEditor.dart - FOC wizard
lib/subViews/focWizard.dart
Ride records and Robogotchi
- Ride logging
lib/mainViews/rideLogging.dart - Ride log viewer
lib/subViews/rideLogViewer.dart - Ride data state
lib/blocs/location - File management
lib/components/fileManager.dart - File sync
lib/blocs/file_sync - Robogotchi settings
lib/subViews/robogotchiCfgEditor.dart - Robogotchi DFU
lib/subViews/robogotchiDFU.dart - Firmware packages
assets/firmware
Other components
- Rider
- PEV device
Connections 26
- Rider → Flutter app: opens
- Flutter app → Connection status: shows tab
- Flutter app → Live telemetry: shows tab
- Flutter app → Vehicle settings: shows tab
- Flutter app → Ride logging: shows tab
- Connection status → BLE connection state: connects through
- BLE connection state → BLE support: uses
- BLE support → PEV device: communicates
- Connection status → Robogotchi status: displays status
- Live telemetry → Telemetry state: presents
- Live telemetry → BMS support: includes BMS data
- Live telemetry → ESC protocol support: includes ESC data
- Vehicle settings → ESC configuration state: manages
- Vehicle settings → Speed profiles: offers
- Vehicle settings → Input configuration: offers
- Vehicle settings → Motor configuration: offers
- Vehicle settings → FOC wizard: offers
- Speed profiles → Profile editor: edits profiles
- ESC configuration state → ESC protocol support: uses
- Ride logging → Ride data state: tracks location
- Ride logging → Ride log viewer: opens
- Ride logging → File sync: provides file sync
- File sync → File management: uses
- Robogotchi settings → Robogotchi status: configures
- Robogotchi DFU → Firmware packages: provides firmware
- Robogotchi DFU → PEV device: updates