bluetooth-serial-port
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ "name" : "bluetooth-serial-port" | ||
, "version" : "1.1.1" | ||
, "version" : "1.1.2" | ||
, "description" : "Bluetooth serial port communication for Node.js" | ||
@@ -4,0 +4,0 @@ , "author": "Eelco Cramer <eelco@hailendal.org>" |
@@ -7,2 +7,6 @@ # Bluetooth serial port communication for Node.js | ||
### 1.1.2 | ||
* Updates the documentation to reflect the changes made in version 1.1.0. | ||
### 1.1.1 | ||
@@ -14,6 +18,6 @@ | ||
* Fixes buffer overflow on close() in Mac OSX. | ||
* Fixes [buffer overflow on close()](https://github.com/eelcocramer/node-bluetooth-serial-port/pull/26) 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). | ||
* Fixes an [issue on Mac OSX](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/23) where a write action would fail when the MTU was exceeded. | ||
* Fixes an [issue on Mac OSX](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/24) where data would not be written asynchronously. | ||
@@ -142,3 +146,3 @@ ### 1.0.5 | ||
#### BluetoothSerialPort.findSerialPortChannel(address, callback) | ||
#### BluetoothSerialPort.findSerialPortChannel(address, callback[, errorCallback]) | ||
@@ -148,2 +152,3 @@ Checks if a device has a serial port service running and if it is found it passes the channel id to use for the RFCOMM connection. | ||
* callback(channel) - called when finished looking for a serial port on the device. | ||
* errorCallback - called the search finished but no serial port channel was found on the device. | ||
@@ -171,3 +176,3 @@ #### BluetoothSerialPort.connect(bluetoothAddress[, successCallback, errorCallback]) | ||
* buffer - the [Buffer](http://nodejs.org/api/buffer.html) to be written. | ||
* callback(err, bytesWritten) - is called when the write action has been completed. When the `err` parameter is set an error has occured, in that case `err` is an [Error object](http://docs.nodejitsu.com/articles/errors/what-is-the-error-object). When `err` is not set the write action was succesfull and `bytesWritten` contains the amount of bytes that is written to the connection. | ||
* callback(err, bytesWritten) - is called when the write action has been completed. When the `err` parameter is set an error has occured, in that case `err` is an [Error object](http://docs.nodejitsu.com/articles/errors/what-is-the-error-object). When `err` is not set the write action was successful and `bytesWritten` contains the amount of bytes that is written to the connection. | ||
@@ -174,0 +179,0 @@ ## LICENSE |
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
164491
177