node-ble
node-ble copied to clipboard
Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus
So I'm currently trying to get some characteristic values from a device, but unfortunately I can't fix this error. Using bluetoothctl I can easily extract the characteristic values, but with...
Hello, if the intended use of `Device.disconnect` also is to clean up the remaining event listeners this PR extends this to include the leftover `BusHelper._propsProxy` event listeners adding a new...
Hello, using `Device.getDevice` repeatedly causes registered dbus "matches" to accumulate. I traced it until that `_removeMatch` (dbus-next) triggers on event listener removal but doesn't really send the `RemoveMatch` message. Now...
Hello, using `Adapter.getDevice` followed by any property getter like `Device.getName` seems to leave `PropertiesChanged` event listeners. Using device `Device.disconnect` (even when never having used `Device.connect`) removes listeners on `Device.helper` but...
``` 1. const { createBluetooth } = require('node-ble') 2. const { TEST_DEVICE, TEST_SERVICE, TEST_CHARACTERISTIC, TEST_NOTIFY_SERVICE, TEST_NOTIFY_CHARACTERISTIC } = process.env 3. 4. async function main () { 5. const { bluetooth,...
And bug fix of GattCharacteristic.startNotifications. Now it call helper.callMethod method at the functions's last.
I try to implement reconnecting device after loosing bluetooth connection (for example because of leaving the bluetooth range). Therefore I register a listener with "Device.on('disconnect', ...)". One issue is if...
Hi; Very frustrated with noble so testing out your libraries. I am able to discover my devices, but how would I use this to listen for beacon transmissions and read...
My use-case involves multiple devices which may sporadically disconnect, and I need to intercept the disconnection event - as it appears in the bluetooth logs: `src/adapter.c:dev_disconnected()` How can I assign...