bluetooth_mesh 0.1.4

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 primatives and objects needed to customize and create your own stack are provided. See https://github.com/AndrewGi/BluetoothMeshRust for more.
Documentation
1
2
3
4
5
6
7
8
9
//! Optional Relay Feature
use crate::mesh::{IVIndex, NetKeyIndex};
use crate::net;

pub struct RelayPDU {
    pub pdu: net::PDU,
    pub iv_index: IVIndex,
    pub net_key_index: NetKeyIndex,
}