BleConstants

Meshtastic BLE GATT layout per docs/protocol.md §3.

The Meshtastic mesh service exposes four characteristics on the same primary service. The service UUID is also used by the host as a scan filter to discover Meshtastic radios.

Properties

Link copied to clipboard
val FROMNUM: Characteristic

Lazily resolved fromnum characteristic (used for notifications).

Link copied to clipboard

fromnum — NOTIFY+READ characteristic. A 4-byte little-endian counter that the device increments whenever it pushes data into the fromradio queue.

Link copied to clipboard
val FROMRADIO: Characteristic

Lazily resolved fromradio characteristic (used for reads).

Link copied to clipboard

fromradio — READ characteristic. Each read returns one full FromRadio protobuf payload, or an empty buffer once the device's outbound queue is drained.

Link copied to clipboard

Primary GATT service exposed by every Meshtastic radio.

Link copied to clipboard
val TORADIO: Characteristic

Lazily resolved toradio characteristic (used for writes).

Link copied to clipboard

toradio — WRITE-WITHOUT-RESPONSE characteristic. Each write carries one full ToRadio protobuf payload (no 0x94 0xC3 framing — BLE uses GATT message boundaries directly).