mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2026-01-22 08:04:22 +01:00
committed by
GitHub
parent
18ad3d97bb
commit
1004a561fd
@@ -86,7 +86,7 @@ internal class HTSService : NotificationService() {
|
||||
}
|
||||
|
||||
private fun startGattClient(device: ServerDevice) = lifecycleScope.launch {
|
||||
val client = ClientBleGatt.connect(this@HTSService, device, logger = { p, s -> repository.log(p, s) })
|
||||
val client = ClientBleGatt.connect(this@HTSService, device, lifecycleScope, logger = { p, s -> repository.log(p, s) })
|
||||
this@HTSService.client = client
|
||||
|
||||
client.connectionStateWithStatus
|
||||
|
||||
Reference in New Issue
Block a user