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

bluetooth-serial-port

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluetooth-serial-port - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

13

lib/bluetooth-serial-port.js

@@ -25,3 +25,2 @@ /*******************************************************************************

var DeviceINQ = require("./device-inquiry.js").DeviceINQ;
var inq = new DeviceINQ();

@@ -36,9 +35,11 @@ /**

EventEmitter.call(this);
this.inq = new DeviceINQ();
var self = this;
inq.on('found', function(address, name) {
this.inq.on('found', function(address, name) {
self.emit('found', address, name);
});
inq.on('finnished', function() {
this.inq.on('finnished', function() {
self.emit('finnished');

@@ -52,7 +53,7 @@ });

BluetoothSerialPort.prototype.inquire = function() {
inq.inquire();
this.inq.inquire();
}
BluetoothSerialPort.prototype.findSerialPortChannel = function(address, callback) {
inq.findSerialPortChannel(address, callback);
this.inq.findSerialPortChannel(address, callback);
}

@@ -59,0 +60,0 @@

{ "name" : "bluetooth-serial-port"
, "version" : "0.1.3"
, "version" : "0.1.4"
, "description" : "Bluetooth serial port communication for Node.js"

@@ -4,0 +4,0 @@ , "author": "Eelco Cramer <eelco@hailendal.org>"

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