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)
This commit is contained in:
11
Sources/DuooomiBleSDK/Models/BindingResponse.swift
Normal file
11
Sources/DuooomiBleSDK/Models/BindingResponse.swift
Normal file
@@ -0,0 +1,11 @@
|
||||
import Foundation
|
||||
|
||||
public struct BindingResponse: Codable, Sendable, Equatable {
|
||||
public let type: Int
|
||||
/// 设备 SN 码 (14 位)
|
||||
public let sn: String
|
||||
/// 1 = 成功, 0 = 失败
|
||||
public let success: Int
|
||||
/// 设备内已存在的文件 key 列表
|
||||
public let contents: [String]
|
||||
}
|
||||
Reference in New Issue
Block a user