3 Commits

Author SHA1 Message Date
km2023
8b18292100 fix: 修复重连后 BLE write 失败问题 + 支持 composite build
- connect 前清理遗留 gatt,避免实例泄漏
- 等 CCCD descriptor 写入完成再 resume 连接,防止首次 write 卡在 gatt 串行队列
- writeWithoutResponse 失败后重试一次,仍失败抛 WriteFailed,让上层 RPC 快速失败而非等 10 秒超时
- sdk/build.gradle.kts 声明 group/version 以便 QA app composite build 引用

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 17:01:21 +08:00
km2023
1dcae6e2f1 feat: 降低 SDK 最低兼容版本,支持 Kotlin 1.9.0 / AGP 7.4.2 / minSdk 23
SDK minSdk 26→23,jvmTarget 17→11,确保老版本项目可消费 AAR。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 16:45:39 +08:00
km2023
d655b13416 feat: implement Android BLE SDK with demo app
Complete Android port of duooomi-ios-sdk with 1:1 API parity.
Includes SDK library module and Jetpack Compose demo app.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:09:22 +08:00