km2023
f4a32bb7e8
fix(ble): discover all services then filter; some firmware rejects scoped discovery
...
When discoverServices is called with a specific UUID list, certain firmware
returns an empty service array even though the requested service exists on
the device. Match expo-duooomi-app's behavior (discoverAllServicesAndCharacteristics)
by passing nil and filtering in the delegate callback.
Also log discovered service UUIDs to aid future debugging.
2026-05-06 11:43:06 +08:00
km2023
c3a726fc02
feat: add setPlayMode SDK API with isActivated precondition
2026-05-06 10:42:09 +08:00
km2023
7aec09be2a
feat: extend BindPayload with optional loop field; add setPlayMode service
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-06 10:38:19 +08:00
km2023
4b1017df42
feat: add optional loop field to DeviceInfo
2026-05-06 10:34:34 +08:00
km2023
be851b05ec
feat: add PlayMode enum (single=0, loop=1)
2026-05-06 10:31:36 +08:00
km2023
f42944bb58
feat: 增加媒体格式校验,支持 JPEG、PNG、GIF、MP4、WebM、WebP 格式
2026-04-20 15:40:22 +08:00
km2023
1a7bbdc625
feat: 重写 SDK 支持 iOS 12.2,移除 async/await 和 Combine
...
- 所有公开 API 改为 completion handler (Result<T, Error>)
- 状态通知改为 DuooomiBleSDKDelegate 协议
- 移除 Sendable、@MainActor、AsyncStream、CheckedContinuation
- 网络请求改为 URLSession.dataTask 回调
- BLE 通信改为 delegate + 闭包模式
- deployment target 降至 iOS 12.2
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-16 16:59:39 +08:00
km2023
79af43cdef
feat: apiHost 改为 api.duooomi.com,ANI 转换参数可配置
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-16 14:24:02 +08:00
km2023
920c24456a
feat:sdk 增加判断是否有新固件可用
2026-04-13 18:41:46 +08:00
km2023
ba0a80e921
feat: Sdk 封装
2026-04-10 16:15:53 +08:00
km2023
7d9ff3081d
demo app + SDK updates:\n- Add direct ANI transfer (prepare -> transfer)\n- Add firmware update flow (fetch latest w/ x-api-key, OTA transfer)\n- Extract x-api-key to NetworkConstants\n- Rename example app to demo; move folder and entry to DemoApp\n- Switch from SPM package dependency to local framework target\n- Enable automatic Info.plist generation for framework target\n- Add placeholder test to satisfy SwiftPM test target\n- Regenerate XcodeGen project (demo.xcodeproj)
2026-04-09 18:41:56 +08:00