RoutingApi

interface RoutingApi(source)

Mesh route discovery and neighbor enumeration RPCs.

Acquired via RadioClient.routing. Available only while the client is connected.

Since

0.1.0

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun requestNeighborInfo(node: NodeId = NodeId.LOCAL): AdminResult<NeighborInfo>

Request the NeighborInfo of node (default: local). Surfaces immediate neighbors and their last-heard SNR / interval.

Link copied to clipboard
abstract suspend fun traceRoute(dest: NodeId, hopLimit: Int = DEFAULT_HOP_LIMIT): AdminResult<RouteDiscovery>

Send a RouteDiscovery request to dest and wait for the route_reply.