Implementation BLE using kable lib, handle scan ble, connect and send data via uart service

This commit is contained in:
2026-05-30 12:15:24 +07:00
parent 31ea6be8cd
commit e55fcab158
21 changed files with 824 additions and 35 deletions
+2
View File
@@ -20,6 +20,7 @@ navigation-compose = "2.9.2"
logger = "2.7.1"
sqldelight = "2.3.2"
kotlinx-datetime = "0.8.0"
kable = "0.43.0"
[libraries]
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
@@ -66,6 +67,7 @@ sqldelight-android = { module = "app.cash.sqldelight:android-driver", version.re
sqldelight-native = { module = "app.cash.sqldelight:native-driver", version.ref = "sqldelight" }
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinx-datetime" }
ble-kable = { module = "com.juul.kable:kable-core", version.ref = "kable" }
[plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" }