MessagingController

Messaging operations — sending data packets, reactions, and shared contacts.

Mirrors the SDK's send/messaging surface. When the SDK is adopted, implementations delegate to RadioClient.send() / RadioClient.sendText().

See also

which extends this interface for backward compatibility

Inheritors

Functions

Link copied to clipboard
abstract suspend fun importContact(contact: SharedContact)

Imports a shared contact into the firmware's NodeDB.

Link copied to clipboard
abstract suspend fun sendMessage(packet: DataPacket)

Sends a data packet to the mesh.

Link copied to clipboard
abstract suspend fun sendReaction(emoji: String, replyId: Int, contactKey: String)

Sends an emoji reaction to a message. Awaits local DB persistence.

Link copied to clipboard
abstract suspend fun sendSharedContact(nodeNum: Int): Boolean

Sends our shared contact information (identity and public key) to the firmware's NodeDB.