Connections

constructor(address: String? = null, pin: String? = null)(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.