CommandSender
Interface for sending commands and packets to the mesh network.
Functions
Link copied to clipboard
Generates a new unique packet ID.
Link copied to clipboard
Returns the cached channel set.
Link copied to clipboard
Returns the cached local configuration.
Link copied to clipboard
Returns the current packet ID.
Link copied to clipboard
Requests neighbor info from a specific node.
Link copied to clipboard
Requests the position of a specific node.
Link copied to clipboard
Requests telemetry from a specific node.
Link copied to clipboard
Requests a traceroute to a specific node.
Link copied to clipboard
Requests user info from a specific node.
Link copied to clipboard
abstract suspend fun sendAdminAwait(destNum: Int, requestId: Int = generatePacketId(), wantResponse: Boolean = false, initFn: () -> AdminMessage): Boolean
Sends an admin message and suspends until the radio acknowledges it.
Link copied to clipboard
Sends a data packet to the mesh.
Link copied to clipboard
Sends our current position to the mesh.
Link copied to clipboard
Sets a fixed position for a node.