Connections

@Serializable
data class Connections(val address: String? = null, val pin: String? = null) : ConnectionsRoute, Graph(source)

Parameters

address

Optional prefixed device address (e.g. t192.168.1.1:4403, xAA:BB:CC:DD:EE:FF) to auto-connect to when this route is deep-linked into, e.g. /connections?address=t192.168.1.1:4403.

pin

Optional pairing PIN for a BLE address, e.g. /connections?address=xAA:BB:CC:DD:EE:FF&pin=123456, so a node shipped with a fixed PIN can be paired from one link or QR code.

Constructors

Link copied to clipboard
constructor(address: String? = null, pin: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val pin: String?

Functions

Link copied to clipboard

Derives the analytics view name for a navigation destination: the route's class name without its package, keeping the enclosing route interface so leaf names stay unique (e.g. NodesRoute.Nodes, SettingsRoute.Bluetooth).