lsongdev / node-bluetooth

:large_blue_diamond:😬Bluetooth serial port communication for Node.js
https://npmjs.org/node-bluetooth
Other
197 stars 56 forks source link

close connection on macos #14

Closed tzvetelin-vassilev closed 6 years ago

tzvetelin-vassilev commented 6 years ago

Very nice interface. Much better then bluetooth-serial-port. Thanks for this library.

This is interface of connection close:

  Connection.prototype.close = function(callback)

As I see from native code, callback in fact is address. The problem comes because connection closed event never happens.