Commit 537295da authored by martin hou's avatar martin hou

fix: 更改蓝牙设备扫描超时时长

parent 94668f58
...@@ -681,7 +681,7 @@ Jensen.prototype.restoreFactorySettings = async function (seconds) { ...@@ -681,7 +681,7 @@ Jensen.prototype.restoreFactorySettings = async function (seconds) {
Jensen.prototype.scanDevices = async function (seconds) { Jensen.prototype.scanDevices = async function (seconds) {
if (this.model.indexOf('hidock-p1') == -1) return null; if (this.model.indexOf('hidock-p1') == -1) return null;
return this.send(new Command(BLUETOOTH_SCAN), seconds || 20); return this.send(new Command(BLUETOOTH_SCAN), seconds || 35);
}; };
Jensen.prototype.connectBTDevice = async function (mac, seconds) { Jensen.prototype.connectBTDevice = async function (mac, seconds) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment