Skip to content

RideDash iOS: complete first hardware-beta implementation - #1

Merged
DagerottDev merged 112 commits into
mainfrom
phase-1-connectivity-diagnostics
Sep 5, 2026
Merged

DagerottDev merged 112 commits into
mainfrom
phase-1-connectivity-diagnostics

Conversation

@DagerottDev

@DagerottDev DagerottDev commented Sep 4, 2026 •

Copy link
Copy Markdown
Owner

Scope

This draft now contains the complete first hardware-beta implementation for RideDash. It intentionally remains draft until manual validation on the physical iPhone + user-owned motorcycle display. No CI/CD workflow is used.

iOS product

  • SwiftUI app targeting iOS 17+
  • SwiftData local-first Vehicles / Garage / Expenses / Fuel / Rides
  • MapKit + CoreLocation route/navigation state
  • Apple Maps hand-off
  • ridedash:// deep-link intake
  • Share Extension for URL/text route hand-off
  • Settings, configurable protocol profile, diagnostics and export

Compatible display stack

  • NEHotspotConfigurationManager app-managed Wi-Fi configuration
  • Local Network monitoring
  • Network.framework UDP control channel with configured source-port binding
  • UDP input listener and UDP video channel
  • K1G/TLV framing + rolling sequence handling
  • Dynamic dash-provided RSA public-key parsing
  • Fresh ephemeral 32-byte AES-256 session key per auth attempt
  • RSA PKCS#1 v1.5 session authentication
  • Navigation/projection enter/exit sequencing
  • Route-card heartbeat
  • Active nav-info heartbeat
  • 1 Hz metadata/status heartbeat
  • Projection frame heartbeat
  • Known LEFT / RIGHT / DOWN / CLICK input decode + ack
  • 526×300 off-screen renderer + calibration grid
  • VideoToolbox H.264 Baseline encoder
  • SPS/PPS extraction
  • RTP PT=96, single-NAL + FU-A fragmentation
  • UDP H.264/RTP projection
  • Stream metrics and sanitized packet/session logs

Permanent safety boundary

This project does not implement ECU, throttle, brakes, ABS, traction control, immobilizer, firmware modification, engine control or any other safety-critical vehicle command path. Unknown packet families remain read-only until understood.

Research defaults to validate manually

  • dash host: 192.168.1.1
  • broadcast/control: 192.168.1.255:2000
  • input listener: UDP 2002
  • video RTP: UDP 5000
  • viewport: 526×300
  • first stream profile: 4 fps, 250 kbps

These remain configurable because firmware can differ.

Manual validation

Follow Docs/MANUAL_TEST_GUIDE.md in sequence. The recommended first hardware run stops after successful authentication, repeats authentication across three ignition cycles, then advances to navigation mode and finally the calibration H.264/RTP stream.

Why draft

Code is complete for the planned beta, but it has deliberately not been validated by CI or claimed to be hardware-tested. The PR should stay draft until the owner builds it in Xcode and returns the first sanitized physical-device diagnostic log.

Copy link
Copy Markdown
Owner Author

Goal updated: no CI/CD. The GitHub Actions workflow has been removed. Implementation will continue through the full codebase, with final validation performed manually on the physical iPhone + motorcycle dash.

@DagerottDev DagerottDev changed the title Phase 1: iOS connectivity and diagnostics foundation RideDash iOS: complete first hardware-beta implementation Sep 4, 2026
@DagerottDev
DagerottDev marked this pull request as ready for review September 5, 2026 11:09
@DagerottDev
DagerottDev merged commit cdde744 into main Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant