MeshtasticRadioProfile

A definition of the Meshtastic BLE Service profile.

Inheritors

Properties

Link copied to clipboard
abstract val fromRadio: Flow<ByteArray>

The flow of incoming packets from the radio.

Link copied to clipboard
abstract val logRadio: Flow<ByteArray>

The flow of incoming log packets from the radio.

Functions

Link copied to clipboard
open suspend fun awaitSubscriptionReady()

Suspends until GATT notifications are enabled (CCCD written) for the primary observation characteristic.

Link copied to clipboard
open fun requestDrain()

Requests a drain of the FROMRADIO characteristic without writing to TORADIO.

Link copied to clipboard
abstract suspend fun sendToRadio(packet: ByteArray)

Sends a packet to the radio.