diff --git a/README.md b/README.md index c73dea6..11b07e8 100644 --- a/README.md +++ b/README.md @@ -97,10 +97,14 @@ dependencies { val sdk = DuooomiBleSDK( context = this, config = DuooomiBleConfig( - apiKey = "YOUR_API_KEY", - brand = "YOUR_BRAND", // 设备品牌名,所有 RPC 必带 - scanNamePrefix = "Duooomi-" // 扫描时按广播名前缀过滤 - // logLevel = BleLogLevel.OFF // 日志等级,默认 OFF(完全静默),排查时改 DEBUG + apiKey = "YOUR_API_KEY", // 必填,Loomart x-api-key + brand = "YOUR_BRAND", // 必填,设备品牌名(所有 RPC 必带 x-owner header) + scanNamePrefix = "蓝牙广播名前缀" // 必填,大小写不敏感 + // apiHost = "https://api.duooomi.com", // 默认 + // cdnHost = "https://cdn.bowong.cc/", // 默认 + // aniWidth = 360, aniHeight = 360, aniFps = "24", // ANI 转换默认参数 + // frameIntervalMs = 35, // 协议帧间隔(ms),合法 [0,500],越界 warn 后 clamp + // logLevel = BleLogLevel.OFF, // 日志等级,默认 OFF(完全静默),排查时改 DEBUG ) ) ```