Closed TIB28 closed 3 years ago
When subscribing a characteristic it give an empty buffer.
Here is my code running on rpi4 with Debian Buster:
await characteristic.startNotifications() characteristic.on('valuechanged', buffer => { console.log(buffer) // Show empty Buffer: <Buffer > }) await characteristic.readValue() // Trigger the callback
Found out that my BLE sensor was faulty.
When subscribing a characteristic it give an empty buffer.
Here is my code running on rpi4 with Debian Buster: