Commit ccb6b549 authored by martin hou's avatar martin hou

fix: 改为35秒超时时长

parent ef0dc190
...@@ -666,7 +666,7 @@ Jensen.prototype.restoreFactorySettings = async function (seconds) { ...@@ -666,7 +666,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