Open-source Flutter client for MeshCore LoRa mesh networking devices
  • Dart 94.5%
  • HTML 3.2%
  • C++ 0.6%
  • Python 0.5%
  • CMake 0.5%
  • Other 0.5%
Find a file
Milo van der Linden d85ed5f744 Added QR Code
2026-04-12 21:49:16 +02:00
.github/workflows deploy on tag only 2026-02-22 11:04:54 -08:00
.vscode Work in progress 2026-04-12 11:07:20 +02:00
android Msg Retry fixes, channel message fixes. Notification fixes. Make more desktop friendly. Enhance retry algo. Fix predicted location clustering add retries to reactions and fix the reactions in private DMS centralize and cleanup code in var areas 2026-03-20 01:54:31 -07:00
assets Color emoji 2026-04-12 20:08:41 +02:00
docs Add LowMesh prefix and explain how to add more 2026-04-04 19:40:39 -04:00
documentation Add LowMesh prefix and explain how to add more 2026-04-04 19:40:39 -04:00
ios fix commit 2026-02-01 16:57:17 -07:00
lib Added QR Code 2026-04-12 21:49:16 +02:00
linux Color emoji 2026-04-12 20:08:41 +02:00
macos Work in progress 2026-04-12 11:07:20 +02:00
test Work in progress 2026-04-12 11:07:20 +02:00
third_party/flserial Color emoji 2026-04-12 20:08:41 +02:00
tools Add radio statistics and localization updates 2026-03-23 19:24:27 -07:00
web Initial commit: MeshCore Open Flutter client 2025-12-26 11:42:02 -07:00
windows Color emoji 2026-04-12 20:08:41 +02:00
.fvmrc Work in progress 2026-04-12 11:07:20 +02:00
.gitattributes Configure Git LFS for binary files 2025-12-31 22:24:06 -07:00
.gitignore Work in progress 2026-04-12 11:07:20 +02:00
.gitmodules gitmodule cleanup 2026-03-05 02:26:37 -05:00
.metadata Initial commit: MeshCore Open Flutter client 2025-12-26 11:42:02 -07:00
.ruby-version add rbenv support 2026-02-19 11:17:58 -08:00
.swift-version feat: improve message matching logic and update notification IDs for advertisements 2026-03-14 09:44:37 -07:00
AGENTS.md Work in progress 2026-04-12 11:07:20 +02:00
analysis_options.yaml Initial commit: MeshCore Open Flutter client 2025-12-26 11:42:02 -07:00
CLAUDE.md Work in progress 2026-04-12 11:07:20 +02:00
CONTRIBUTING.md init contributing.md 2026-04-07 13:01:46 -07:00
flake.lock add flake.lock 2026-02-11 17:26:43 +01:00
flake.nix fix smaller copilot issues 2026-02-11 17:45:15 +01:00
l10n.yaml Add untranslated messages file and update localization keys 2026-01-19 19:13:22 -07:00
LICENSE Add MIT License to the project 2025-12-31 22:37:39 -07:00
mesh-icon.png add icon, also misc improvments 2025-12-30 20:04:53 -07:00
package.json wrangler deploy 2026-02-22 10:48:22 -08:00
pubspec.yaml Color emoji 2026-04-12 20:08:41 +02:00
README.md Add LowMesh prefix and explain how to add more 2026-04-04 19:40:39 -04:00
TESTFLIGHT_GUIDE.md issue #112 fixes and more 2026-02-01 18:37:14 -07:00
untranslated.json Added QR Code 2026-04-12 21:49:16 +02:00
wrangler.toml wrangler deploy 2026-02-22 10:48:22 -08:00

MeshCore Open

Open-source Flutter client for MeshCore LoRa mesh networking devices.

Overview

MeshCore Open is a cross-platform mobile application for communicating with MeshCore LoRa mesh network devices via Bluetooth Low Energy (BLE). The app enables long-range, off-grid communication through peer-to-peer messaging, public channels, and mesh networking capabilities.

Get it on Obtainium

Screenshots


Contacts


Chat


Reactions


Map


Channels

Features

Core Functionality

  • Direct Messaging: Private encrypted conversations with individual contacts
  • Public Channels: Broadcast messages to channel subscribers on the mesh network
  • Contact Management: Organize contacts, track last seen times, and manage conversation history
  • Contact Groups: Create custom groups to organize your mesh network contacts
  • Message Reactions: React to messages with emoji responses
  • Message Replies: Thread conversations with inline reply functionality

Mesh Network

  • Path Visualization: View routing paths and signal quality for each contact
  • Route Management: Manual path overriding and automatic route rotation
  • Signal Metrics: Real-time SNR (Signal-to-Noise Ratio) tracking
  • Node Discovery: Automatic detection of nearby mesh nodes
  • Repeater Support: Connect to and manage repeater nodes for extended range

Map & Location

  • Live Map View: Real-time visualization of mesh network nodes on an interactive map
  • Node Filtering: Filter by node type (chat, repeater, sensor) and time range
  • Location Sharing: Share GPS coordinates and custom markers with contacts
  • Offline Maps: Download map tiles for offline use in remote areas
  • MGRS Coordinates: Support for Military Grid Reference System coordinate format

Device Management

  • BLE, USB, TCP Connection: Scan and connect to MeshCore devices via Bluetooth, USB or TCP
  • Device Settings: Configure radio parameters, power settings, and network options
  • Battery Monitoring: Real-time battery status with chemistry-specific voltage curves
  • Firmware Updates: Over-the-air firmware updates via BLE (coming soon)

Repeater Hub

  • CLI Access: Full command-line interface to repeater nodes
  • Settings Management: Configure repeater behavior, power limits, and network settings
  • Statistics Dashboard: View repeater traffic, connected clients, and system health
  • Remote Management: Administer repeaters from anywhere on the mesh network

Technical Details

Architecture

  • Framework: Flutter 3.38.5 / Dart 3.10.4
  • State Management: Provider pattern with ChangeNotifier
  • BLE Protocol: Nordic UART Service (NUS) over Bluetooth Low Energy
  • Storage: Local SQLite database for messages and contact data
  • Encryption: End-to-end encryption for private messages using the MeshCore protocol

Platform Support

Feature Android (API 21+) iOS (12+) Linux Windows macOS Web
BLE companion
USB companion 🚧
TCP companion 🚧
(requires websocket bridge)
Core Functionality
Mesh Network
Map & Location
Device Management
Repeater Hub

Dependencies

Package Purpose
flutter_blue_plus Bluetooth Low Energy communication
provider State management
sqflite Local database storage
flutter_map Interactive map display
latlong2 Geographic coordinate handling
flutter_local_notifications Background notification support
smaz Message compression
pointycastle Cryptographic operations
intl Internationalization and date formatting

Getting Started

Prerequisites

  • Flutter SDK 3.38.5 or later
  • Android Studio / Xcode (for mobile development)
  • A MeshCore-compatible LoRa device

Installation

  1. Clone the repository

    git clone https://github.com/zjs81/meshcore-open.git
    cd meshcore-open
    
  2. Install dependencies

    flutter pub get
    
  3. Run the app

    flutter run
    

Building for Release

Android APK:

flutter build apk --release

iOS:

flutter build ios --release

Project Structure

lib/
├── main.dart                    # App entry point
├── connector/
│   ├── meshcore_connector.dart  # BLE communication & state management
│   ├── meshcore_protocol.dart   # Protocol definitions & frame parsing
│   └── meshcore_uuids.dart      # Device names and IDs (add prefixes here!)
├── screens/
│   ├── scanner_screen.dart      # Device scanning (home screen)
│   ├── contacts_screen.dart     # Contact list
│   ├── chat_screen.dart         # Direct messaging
│   ├── channels_screen.dart     # Public channels
│   ├── map_screen.dart          # Network visualization map
│   ├── settings_screen.dart     # Device settings
│   └── repeater_hub_screen.dart # Repeater management
├── models/
│   ├── contact.dart             # Contact data model
│   ├── message.dart             # Message data structure
│   └── channel.dart             # Channel definitions
├── services/
│   ├── notification_service.dart      # Push notifications
│   ├── message_retry_service.dart     # Automatic message retry
│   ├── background_service.dart        # Background BLE connection
│   └── map_tile_cache_service.dart    # Offline map storage
└── storage/
    ├── message_store.dart       # Message persistence
    ├── contact_store.dart       # Contact database
    └── unread_store.dart        # Unread message tracking

BLE Protocol

Nordic UART Service (NUS)

  • Service UUID: 6e400001-b5a3-f393-e0a9-e50e24dcca9e
  • RX Characteristic: 6e400002-b5a3-f393-e0a9-e50e24dcca9e (Write to device)
  • TX Characteristic: 6e400003-b5a3-f393-e0a9-e50e24dcca9e (Notify from device)

Device Discovery

Devices are discovered by scanning for BLE advertisements with known MeshCore device name prefixes. These are currently: - MeshCore- - Whisper- - WisCore- - HT- - LowMesh_MC_

New device prefixes can be added in lib/connector/meshcore_uuids.dart.

Message Format

Messages are transmitted as binary frames using a custom protocol optimized for LoRa transmission. See meshcore_protocol.dart for frame structure definitions.

Configuration

App Settings

  • Theme: System default, light, or dark mode
  • Language: Use one of 15 languages (English, Chinese, French, Spanish, Portuguese, German, Dutch, Polish, Swedish, Italian, Slovak, Slovene, Bulgarian, Russian, Ukrainian)
  • Notifications: Configurable for messages, channels, and node advertisements
  • Battery Chemistry: Support for NMC, LiFePO4, and LiPo battery types
  • Message Retry: Automatic retry with configurable path clearing

Device Settings

  • Radio Power: Transmit power adjustment (10-30 dBm)
  • Frequency: LoRa frequency configuration
  • Bandwidth: Channel bandwidth selection
  • Spreading Factor: Range vs. speed trade-off
  • Network ID: Mesh network identifier

Contributing

This is an open-source project. Contributions are welcome!

Development Guidelines

  • Follow the Flutter style guide
  • Use Material 3 design components
  • Write clear commit messages
  • Test on both Android and iOS before submitting PRs

Code Style

  • Prefer StatelessWidget with Consumer for reactive UI
  • Use const constructors where possible
  • Keep functions small and focused
  • Avoid premature abstractions
  • Run dart format on all changes before submitting

Support

For issues, questions, or feature requests, please open an issue on GitHub: https://github.com/zjs81/meshcore-open/issues

Donate

If you find MeshCore Open useful and would like to support development, you can donate Solana or other Solana tokens:

Solana Address: F15YanjZj96YTBtKJYgNa8RLQLCZkx5CEwogPWkqXeoQ

Monero Address: 453TxnpUqjkJtXxzdjMsrgERNkBRXEGamPbpC45ENrvKAk9tH7kZbxWF82Hz66etgDZyXFPEBU2JUEqhLeJyWt9kBvTVy5m

Bitcoin Address: bc1qh45x28v8dslcg4v4upmqd9g0mvc3lnyffmyzr5

Your support helps maintain and improve this open-source project!

Acknowledgments