GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — MeshCoreNG-cli-app/docs/ARCHITECTURE.md at main · MichTronics/MeshCoreNG-cli-app

Expand file tree

/

ARCHITECTURE.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
32 lines (24 loc) · 1.51 KB
/

ARCHITECTURE.md

Copy path

File metadata and controls

32 lines (24 loc) · 1.51 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

MeshCLI NG Architecture

The app follows a reusable clean architecture layout:

  • core/transport: Android USB serial, Linux/Windows serial, BLE UART, TCP gateway abstractions
  • core/protocol: stable protocol constants and framing rules
  • core/parser: safe binary parsers for companion responses and RF log packets
  • core/commands: typed command builders and queue metadata
  • core/session: connection state, command queue, response matching, monitor fanout
  • features/*: screens and feature state
  • widgets and shared: common UI and Riverpod providers

The session layer is transport-agnostic. BLE receives raw companion frames, serial decodes 0x3e frames, and TCP is reserved for raw bridge/gateway mode.

Desktop support:

  • Linux and Windows project scaffolds are generated.
  • Linux/Windows serial uses flutter_libserialport.
  • Android serial keeps using usb_serial for USB host permissions.
  • BLE is mobile-only until a desktop BLE backend is selected.

Phase 1-3 are implemented as the foundation:

  • USB/BLE discovery and connection plumbing
  • connection states through Riverpod streams
  • exact serial/BLE framing from Python MeshCore
  • command queue with timeout handling
  • console workflow for local companion commands and remote repeater CLI text commands
  • raw RX/TX monitor with filtering, pause, color coding, duplicate detection
  • node browser populated from contact/advert frames

Future layers should extend command builders first, then add feature repositories on top rather than parsing bytes in UI code.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.