node-ble icon indicating copy to clipboard operation
node-ble copied to clipboard

Bluetooth Low Energy (BLE) library written with pure Node.js (no bindings) - baked by Bluez via DBus

Results 38 node-ble issues
Sort by recently updated
recently updated
newest added

I have tested the readValue to a readable characteristic and it worked fine: ``` const characteristic1 = await service1.getCharacteristic(TEST_CHARACTERISTIC_WRITE) const buffer = await characteristic1.readValue() console.log('read', buffer, buffer.toString()) ``` But, when...

Hello guys I had try to call startNotifications and got this error: ```javascript DBusError: Write not permitted at _methodReturnHandlers. (/home/ricardo/Documentos/testes/scannerBlue/node_modules/dbus-next/lib/bus.js:339:27) at handleMessage (/home/ricardo/Documentos/testes/scannerBlue/node_modules/dbus-next/lib/bus.js:98:11) at EventEmitter. (/home/ricardo/Documentos/testes/scannerBlue/node_modules/dbus-next/lib/bus.js:147:9) at EventEmitter.emit (events.js:314:20) at...

I'm using RPi 4 (with node 14.9.0, BlueZ 5.50). I can discover the device, but not the service. ``` require('dotenv').config() const { createBluetooth } = require('.') const { TEST_DEVICE, TEST_SERVICE,...

Hi @chrvadala, Thank you for this project. Is there a way to discover devices by services? Is there a way to get the name of devices instead of the uuid...

enhancement

Thank you so much for this project! I was wondering if it is possible to create a ble peripheral that can advertise some static data? Something similar to [bleno](https://github.com/abandonware/bleno)'s example....

enhancement

When subscribing to a notify attribute on a BLE device with startNotifications() the created listener is not removed when a device.disconnect() is called. This will cause the subsequent connect and...

I'm trying to write to a MIDI characteristic of a MIDI service. The MIDI UUIDs are: ```js const midiServiceUUID = '03b80e5a-ede8-4b33-a751-6ce34ec4c700'; const midiCharacteristicUUID = '7772e5db38684112a1a9f2669d106bf3'; ``` I can see the...

help wanted

I'm not sure what the difference between pair and connect is. Will pair pair the device without connecting? Will connect internally call pair first if not already paired? Docs on...

Hi I couldn't find any way to get access to the advertising data sent out by a device. It's the service data, I am especially interested in, but manufacturer data...

Hello, it is the same PR #53 , but with added unit tests, as it was requested in the comment Hello, thanks for this useful PR. Can you integrate it...