connect

fun connect(peripheral: BluetoothPeripheral)

Connects to a specified Bluetooth peripheral.

Parameters

peripheral

The device to connect to.