QueryController

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

These are "pull" operations that request data from remote nodes. When the SDK is adopted, implementations delegate to RadioClient.telemetry and RadioClient.routing sub-APIs.

See also

which extends this interface for backward compatibility

Inheritors

Functions

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

Requests device metadata from a remote node.

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

Requests neighbor information (detected nodes) from a remote node.

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

Requests the current GPS position from a remote node.

Link copied to clipboard
abstract suspend fun requestTelemetry(requestId: Int, destNum: Int, typeValue: Int)

Requests telemetry data from a remote node.

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

Initiates a traceroute request to a remote node.

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

Requests detailed user info from a remote node.