com.sirvar.bluetoothkit / BluetoothKit / connect

connect

fun connect(device: <ERROR CLASS>): Unit

Connect to BluetoothDevice with random UUID

Parameters

BluetoothDevice - device to connect to

fun connect(device: <ERROR CLASS>, uuid: String): Unit

Connect to BluetoothDevice with UUID as string

Parameters

BluetoothDevice - device to connect to

String - connection UUID

fun connect(device: <ERROR CLASS>, uuid: <ERROR CLASS>): Unit

Connect to BluetoothDevice with specific UUID

Parameters

BluetoothDevice - device to connect to

UUID - connection UUID