Commit 1cb7b3e6 authored by Skye Yu's avatar Skye Yu

fix(send schedule info): send data size adjust to 52 bits

parent 47b45b87
...@@ -926,7 +926,7 @@ Jensen.prototype.sendScheduleInfo = function (infos) { ...@@ -926,7 +926,7 @@ Jensen.prototype.sendScheduleInfo = function (infos) {
endDate.push(0x00); endDate.push(0x00);
} }
const reserved = [0x00, 0x00]; // 预留 const reserved = [0x00, 0x00]; // 预留
bodys = bodys.concat([...startDate, ...endDate, reserved, ...codes]); bodys = bodys.concat([...startDate, ...endDate, ...reserved, ...codes]);
} }
console.log('send schedule info', infos, bodys); console.log('send schedule info', infos, bodys);
return this.send(new Command(SCHEDULE_INFO).body(bodys)); return this.send(new Command(SCHEDULE_INFO).body(bodys));
......
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