QueryController

Mesh query operations — position, traceroute, telemetry, user info, and metadata.

These are "pull" operations that request data from remote nodes through the session's SDK client. Each returns once the radio admitted the request; its NodeRequest reports whether the mesh then failed it. The reply itself reaches Room through the session's receive projection.

See also

Throws

from each request when no radio session can take it.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun refreshMetadata(destNum: Int): NodeRequest

Requests device metadata from a node.

Link copied to clipboard
abstract suspend fun requestNeighborInfo(destNum: Int): NodeRequest

Requests neighbor information (detected nodes) from a node.

Link copied to clipboard
abstract suspend fun requestPosition(destNum: Int, currentPosition: Position): NodeRequest

Requests the current position of a remote node, sharing ours when the user allows it.

Link copied to clipboard
abstract suspend fun requestTelemetry(destNum: Int, type: TelemetryType): NodeRequest

Requests one kind of telemetry from a node.

Link copied to clipboard
abstract suspend fun requestTraceroute(destNum: Int): NodeRequest

Initiates a traceroute request to a remote node.

Link copied to clipboard
abstract suspend fun requestUserInfo(destNum: Int): NodeRequest

Requests user info from a remote node, carrying ours.