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 — GitHub - AndrewGi/BluetoothMeshRust: Cross-platform, full Bluetooth Mesh stack implemented in Rust

BranchesTags
Open more actions menu

Latest commit

 

History

388 Commits
388 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
async_driver @ 9a6929e
async_driver @ 9a6929e
 
 
btle @ cde8f83
btle @ cde8f83
 
 
cli
cli
 
 
docs
docs
 
 
src
src
 
 
.gitmodules
.gitmodules
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Bluetooth Mesh Rust

crates.io docs.rs

!! WIP and API not stable until version 1.0 !!

Cross-platform, full Bluetooth Mesh stack implemented in Rust. Following the Bluetooth Mesh Spec Core v1.0 by SIG. Designed to work with any almost any BLE radio (uses https://github.com/AndrewGi/btle/ for platform dependent Bluetooth drivers). While a stack is provided by the library, all the primitives and objects needed to customize and create your own stack are provided.

This library is designed for #![no_std] in mind. However, because of the complexity of the Bluetooth Mesh Stack, std is required for the full_stack which uses async tokio for message handling and processing. #![no_std] is also disabled for now until rust-lang/rust#69033 hits nightly/stable.

The only heap allocations made during processing a message is allocating memory for the message at the access layer. Most Mesh PDUs are <31 bytes (to fit in a single BLE Advertisement) so the Network and Lower Transport Layer stores its data statically on the stack. Upper PDUs and above allow for allocation elsewhere than the stack (Upper Transport PDUs can be up to 380 bytes!) but a custom allocator/storage for the PDU can be genericly provided.

Examples

See Mesh CLI for an application example.

How the Stack works

The flowchart of the full mesh stack

About

Cross-platform, full Bluetooth Mesh stack implemented in Rust

Topics

beaconsbluetoothbluetooth-lebluetooth-meshbluetooth-smartembeddedmeshno-stdraspberry-pirusttransport

Resources

Readme
GPL-3.0 license
Activity

Stars

59 stars

Watchers

10 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

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.