9 Commits

Author SHA1 Message Date
zhaolong
966bf0f465 fix(bluetooth): 蓝牙音响不回连
关闭蓝牙适配器时,对已连接设备未做断开处理,致使后端未移除保存的连接配置

Log: 修复任务栏关闭蓝牙后再开启蓝牙,蓝牙音响不回连的问题
Bug: https://pms.uniontech.com/zentao/bug-view-34968.html
2020-06-26 14:53:32 +08:00
fengshaoxiong
a8d0e8fea6 fix(bluetooth): 蓝牙关闭重新打开后,还显示已经关闭的蓝牙设备
任务栏关闭蓝牙设备后需要主动发送ClearUnpairedDevice Dbus消息给后端

Log: 解决蓝牙关闭重新打开后,还显示已经关闭的蓝牙设备问题
Bug: https://pms.uniontech.com/zentao/bug-view-34997.html
2020-06-24 16:55:52 +08:00
范朋程
ee83bb1cba fix(cppcheck): cppcheck检查
静态代码检查,按照提示修改了所有合理的警告内容,部分内容为cppcheck误报,不处理

Log: 按照静态代码检查工具给出的结果进行修改
2020-06-16 13:54:23 +08:00
zhaolong
b04b9bb6d2 fix: 状态图标颜色变化
将状态图标由SVG图标换为自定义绘制控件,该控件可随系统活动主题色变化而变化

Log: 修复网络,蓝牙插件设备状态图标颜色不会随系统活动色变化而变化的问题
Bug: https://pms.uniontech.com/zentao/bug-view-31253.html
2020-06-13 16:15:37 +08:00
fengshaoxiong
2cf9f917bd fix(bluetooth): 任务栏蓝牙插件一直在刷新蓝牙设备列表
增加刷新按钮,后端设置刷新时间,刷新时间到了之后给前端发送刷新状态的Dbus信号根据状态改变按钮状态。

Log: 增加刷新按钮,每次点击刷新后,扫描设备且刷新列表持续1min;完成后,可点击再次刷新扫描蓝牙设备1min
Bug: https://pms.uniontech.com/zentao/bug-view-31369.html
2020-06-10 15:49:55 +08:00
fpc_diesel
20bb074f01 refactor(bluetooth&network):code self test
task21255 [任务栏]蓝牙和网络插件部分的代码自检

(cherry picked from commit 581050c5b811ccbd36202d74b0c8007d5d4b29f4)
2020-05-14 13:13:25 +08:00
zhaolong
5a4a76bd0c fix(bluetooth):bluetooth continuous to be pairing
蓝牙持续配对所有设备 task:20341

(cherry picked from commit d7c5842f96697d9dbf61b83a7e4f0e014b6ecaf2)
2020-05-14 13:11:45 +08:00
zhaolong
66118459e0 style(bluetooth):Change the code style to conform to the code specification
调整代码书写以符合代码规范

(cherry picked from commit 05b50b174387eb5f8428a7f3d21dc41dd3c44f16)
(cherry picked from commit 56c16b455b2fa5b74d4c4d15de471f3a46bf7f79)
2020-05-14 13:10:02 +08:00
fpc_diesel
1c6a463c15 feat(bluetooth):add bluetooth plugin
添加蓝牙插件 bug:9128

(cherry picked from commit 7412d26cda31a617318842cb919242558e135a69)

(cherry picked from commit 1f62819e0fc3a97723c386b6cdf2fc68d1318827)
2020-05-14 13:09:26 +08:00