Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smart-bus-mrgadget

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-bus-mrgadget - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

18

lib/commands.js

@@ -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]",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc