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

Seems that "write" needs the address of the remote device to work properly. #4

Closed corwin-of-amber closed 7 years ago

corwin-of-amber commented 7 years ago

My solution was to store the address when creating Bluetooth.Connection. Calling port.write(data, callback) did not work, at least on Mac OS X.