smart-bus-mrgadget
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -1774,3 +1774,3 @@ var word = { | ||
// 99.1.3 Panel button colour | ||
// 99.1.3 Panel button color | ||
0xE14E: { | ||
@@ -1780,3 +1780,3 @@ parse: function(buffer) { | ||
button: buffer.readUInt8(0), | ||
colour: { | ||
color: { | ||
on: [buffer.readUInt8(1), buffer.readUInt8(2), buffer.readUInt8(3)], | ||
@@ -1792,8 +1792,8 @@ off: [buffer.readUInt8(4), buffer.readUInt8(5), buffer.readUInt8(6)] | ||
buffer.writeUInt8(data.button, 0); | ||
buffer.writeUInt8(data.colour.on[0], 1); | ||
buffer.writeUInt8(data.colour.on[1], 2); | ||
buffer.writeUInt8(data.colour.on[2], 3); | ||
buffer.writeUInt8(data.colour.off[0], 4); | ||
buffer.writeUInt8(data.colour.off[1], 5); | ||
buffer.writeUInt8(data.colour.off[2], 6); | ||
buffer.writeUInt8(data.color.on[0], 1); | ||
buffer.writeUInt8(data.color.on[1], 2); | ||
buffer.writeUInt8(data.color.on[2], 3); | ||
buffer.writeUInt8(data.color.off[0], 4); | ||
buffer.writeUInt8(data.color.off[1], 5); | ||
buffer.writeUInt8(data.color.off[2], 6); | ||
@@ -1804,3 +1804,3 @@ return buffer; | ||
// 99.1.4 Panel button colour response | ||
// 99.1.4 Panel button color response | ||
0xE14F: { | ||
@@ -1807,0 +1807,0 @@ response: 0xE14E |
{ | ||
"name": "smart-bus-mrgadget", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Node.js implementation of HDL SmartBus protocol [Fork of smart-bus]", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102821