bond

open suspend override fun bond(device: BleDevice, pin: String? = null)(source)

Initiates bonding with the given device.

Parameters

pin

The node's 6-digit pairing PIN, if known. Where the platform allows it, the PIN request is answered with it instead of asking the user; otherwise it is ignored and the OS asks as usual.