Commit 3c98a264 authored by Skye Yu's avatar Skye Yu

update

parent f1660018
......@@ -806,8 +806,10 @@ Jensen.prototype.setNotification = function (enable, seconds) {
return this.send(new Command(SET_SETTINGS).body([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, enable ? 1 : 2]), seconds);
};
Jensen.prototype.setBluetoothPromptPlay = function (enable, seconds) {
if (this.model === 'hidock-h1e' && this.versionNumber < 393492) return { result: false }
if (this.model === 'hidock-h1' && this.versionNumber < 327952) return { result: false }
// h1e 6.1.4 393476
// h1 5.1.4 327940
if (this.model === 'hidock-h1e' && this.versionNumber < 393476) return { result: false }
if (this.model === 'hidock-h1' && this.versionNumber < 327940) return { result: false }
return this.send(new Command(SET_SETTINGS).body([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, enable ? 1 : 2]), 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