app
androidJvm
app
/
com.iomt.android.bluetooth
/
BluetoothLeForegroundService
/
connectDevice
connect
Device
@
RequiresApi
(
value
=
33
)
@
RequiresPermission
(
value
=
"android.permission.BLUETOOTH_CONNECT"
)
suspend
fun
connectDevice
(
bluetoothDevice
:
BluetoothDevice
,
deviceConfig
:
DeviceConfig
)
Parameters
bluetooth
Device
BluetoothDevice
to connect
device
Config
DeviceConfig
of
BluetoothDevice