Skip to content

Commit

Permalink
update(master):新增用户秤控制蜂鸣器开关功能
Browse files Browse the repository at this point in the history
  • Loading branch information
孙晓鹏 committed Mar 11, 2024
1 parent e750dfc commit 09b525f
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 145 deletions.
284 changes: 142 additions & 142 deletions QNDeviceSDKDemo.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion QNDeviceSDKDemo/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>QNSDK 2.12.1</string>
<string>QNSDK 2.13.0</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
2 changes: 1 addition & 1 deletion QNSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'QNSDK'
s.version = '2.12.1'
s.version = '2.13.0'
s.summary = '轻牛旗下设备通讯类'

s.description = '支持智能体脂秤、共享秤二维码数据解析'
Expand Down
7 changes: 6 additions & 1 deletion QNSDK/SDK/QNBleApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
此SDK为轻牛旗下设备连接工具的静态库,使用时需要向轻牛官方获取 "appId" 否则无法正常使用该SDK
当前版本【 2.10.1
当前版本【 2.13.0
SDK最低配置8.0的系统
Expand Down Expand Up @@ -403,6 +403,11 @@
/// @param callback 结果的回调
- (void)setBabyCarryingModelSwitch:(BOOL)state callback:(QNResultCallback)callback;

/// 设置用户秤蜂鸣器开关
/// @param state 开关状态
/// @param callback 结果的回调
- (void)setBuzzerSwitch:(BOOL)state callback:(QNResultCallback)callback;

/// 读取授权设备信息列表
- (NSDictionary *)readAuthDeviceInfoList;

Expand Down
3 changes: 3 additions & 0 deletions QNSDK/SDK/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
【 2.13.0 】 2024-03-11
1.新增用户秤控制蜂鸣器开关功能

【 2.12.1 】 2024-02-20
1.修复关于hmac字段中数据格式问题

Expand Down
Binary file modified QNSDK/SDK/libQNDeviceSDK.a
Binary file not shown.

0 comments on commit 09b525f

Please sign in to comment.