- Fixes an error where the module would not return correctly when parameter assertion would fail.
- Fixes regression when closing a connection
- Adds the status code to the error message when a connection fails
- Fixes typescript example
- Fixes regression
- Adds support for multiple serial port servers #197
- Fixes issue #193 where, on Linux, not all bytes where written to the connection. In this fix the Linux implementation now mimics the other implementations.
- Adds support for node v10
- Fixes an issue on Windows and Linux where
close
would not terminate a connection properly. - Improves the README.
- Fixes an issue in the typescript definitions.
- Fixes an issue where, on Windows,
listPairedDevices
is showing unpaired devices.
- Removes erroneous print statement
- Adds
on
to the TypeScript declaration file
- Implements
listPairedDevices
on Windows - Fixes a memory leak that occurs when trying to reconnect to a device repeatedly
- Adds support for TypeScript
- Removes support for node v0.10, v0.12 and iojs
- Adds support for node v7
listen()
method will not exit until there's an explicit call toclose()
.- If a client disconnects,
listen()
can still handle new connections. - Calling
listen()
more than once is not allowed. - Better error handling in the server part.
- New server and client test in the experiments folder
- Fixes a segmentation fault that can occur on OSX
- Adds asynchronous searching for devices
- Asynchronous searching replaces the old synchronous
inquire
function so without touching your code you will be using the asynchronous search function. - Moves synchronous searching for devices to a new
inquireSync
function
- Improvements and API changes of the experimental RFCOMM server socket (Linux only)
- No changes in the client
- Fixes compilation problem on Windows.
- Adds experimental RFCOMM server socket (Linux only)
- Fixes a critical runtime error on all platforms.
- Improves travis build.
- Compatible to NodeJS 4.x
- Dockerfile to test build Linux from OSX or Win
- The release notes for previous version have moved to a separate file.
- Fixes an issue where the
Error
object is passed in the 2nd argument of the callback function when awrite
is called before the remote device was connected. - Fixes a segfault on OSX.
- Fixes a buffer overflow on OSX.
- Updates nan for io.js 2.x.x compatibility.
- Adds cross-platform continues integration to the repository. Thanks @mackwic.
- Re-enables windows support.
- Fixes an issue where pipes and file descriptors are leaked when a connection could not be established.
- Fixes issues compile issues on OS X and Linux when using newer versions of nan.
PLEASE NOTE This release is not yet available for the Windows platform because the compilation needs to be verified first. As there are no major functional changes this release and the release, hopefully, will fix major issues on OSX I decided to go forward without Windows support for the moment. This will hopefully be fixed in the next release. I will update as soon as possible.
- Fixes an issue on OSX where multiple reads would result into a corrupted read buffer.
- Improves the implementation of the Bluetooth worker on OSX.
- Better performance while writing to the Bluetooth connection on OSX.
- Keeps the [reader loop from reading from a closed connection]((eelcocramer#47).
- Will work on both node v0.8.x, v0.10.x and node v0.11.x on OSX and Linux (Windows to be done).
- When trying to write to closed connection the
write
function will not throw an exception anymore but will call the callback as per documentation. - Adds a
closed
event that fires when a connection is closed either by the user or remotely.
- Fixes an compile issue on Windows.
- Fixes segfault that occurs when a buffer is invalidated by the garbage collector.
- Adds experimental support for listing paired devices.
- Updates the documentation to reflect the changes made in version 1.1.0.
- Fixes typo in readme.
- 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.
- Fixes an issue on Mac OSX where data would not be written asynchronously.
- Updates the code example in the README.
- Adds
win32
to the supported OS'es in thepackage.json
.
- Added windows support.
- Fixes an issue on Linux where reading from a closed or reset connection would result into a SEGFAULT.
- Updates the documentation.
- Fixes an issue where memory is freed incorrectly after closing a connection on OS X.
- Improves the timeout mechanism that is used for getting the Bluetooth service records on a remote device on OS X.
- No code changes, only updates the documentation.
- Makes the write function asynchrone.
- Takes a Buffer as the input for the write function in favor of a String.
- Reads data into a Buffer object instead of using a String.
- Improves error handling when calling the native addon.
- Fixes issue where calling
close
on a connection would result in anAbort trap: 6
error on OS X.
- Experimental support for OS X!
findSerialPortChannel
does not invoke callback anymore when no channel was found.found
event now emits the Bluetooth address as the value of the name parametername
when the name of the device could not be determined (used to be[undefined]
).