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

bluetooth-serial-port

Package Overview
Dependencies
Maintainers
2
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 1.0.5 to 1.1.1

6

lib/bluetooth-serial-port.js

@@ -47,6 +47,8 @@ /*

BluetoothSerialPort.prototype.findSerialPortChannel = function(address, callback) {
BluetoothSerialPort.prototype.findSerialPortChannel = function(address, successCallback, errorCallback) {
this.inq.findSerialPortChannel(address, function(channel) {
if (channel >= 0) {
callback(channel);
successCallback(channel);
} else {
errorCallback();
}

@@ -53,0 +55,0 @@ });

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

@@ -11,2 +11,3 @@ , "author": "Eelco Cramer <eelco@hailendal.org>"

, "os x"
, "windows"
]

@@ -19,3 +20,3 @@ , "homepage" : "https://github.com/eelcocramer/node-bluetooth-serial-port"

}
, "directories" :
, "directories" :
{ "lib" : "./lib"

@@ -36,3 +37,3 @@ }

, "license": "BSD-2-Clause"
, "contributors": ["Eric Smekens", "Juho Vepsäläinen", "Elmar Langholz"]
, "contributors": ["Eric Smekens", "Juho Vepsäläinen", "Elmar Langholz", "Donald Ness", "Joost Verdoorn"]
}

@@ -7,2 +7,13 @@ # Bluetooth serial port communication for Node.js

### 1.1.1
* Fixes typo in readme.
### 1.1.0
* Fixes buffer overflow on close() in Mac OSX.
* Adds failure callback that is called when no channel can be found.
* Fixes an issue on Mac OSX where a write action would fail when the MTU was exceeded (issue 23).
* Fixes an issue on Mac OSX where data would not be written asynchronously (issue 24 and issue 25).
### 1.0.5

@@ -92,3 +103,3 @@

// close the connection when you're ready
btSerial.close();
btSerial.close();
});

@@ -95,0 +106,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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