chrvadala / node-ble

Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus
https://www.npmjs.com/package/node-ble
MIT License
310 stars 45 forks source link

add `writeValueWithoutResponse` and `writeValueWithResponse` methods #47

Closed derwehr closed 1 year ago

derwehr commented 1 year ago

The WebBluetooth specs deprecated writeValue(). So I added writeValueWithoutResponse and writeValueWithResponse to be back on par with the spec

derwehr commented 1 year ago

Hi @chrvadala, thanks for the quick reply. I have now added tests.

chrvadala commented 1 year ago

Thanks @derwehr, I will merge and publish in a couple days. Thanks a lot

chrvadala commented 1 year ago

I released this PR with 1.9.0 and I added your name into contributions list. Thanks @derwehr for your help