connectExternalDevice

@RequiresPermission(value = "android.permission.BLUETOOTH_CONNECT")
fun connectExternalDevice(device: BluetoothDevice, advertisedName: String? = null, rssi: Int = 0)(source)

Connect an Android device discovered by the application, without a library scan. Pass the advertised name when available, since it can affect protocol selection. An RSSI of zero means that the signal strength was not supplied.