node-red-contrib-generic-ble icon indicating copy to clipboard operation
node-red-contrib-generic-ble copied to clipboard

cannot receive notification from Bluetooth device

Open sameerapip1 opened this issue 3 years ago • 1 comments

When we try to get the notification we receive the following error. When using the same command in the NRF command it gives the data correctly.

(node:4511) UnhandledPromiseRejectionWarning: DBusError: Operation failed with ATT error: 0xff at methodReturnHandlers.(anonymous function) (/home/pi/.node-red/node_modules/dbus-next/lib/bus.js:339:27) at handleMessage (/home/pi/.node-red/node_modules/dbus-next/lib/bus.js:98:11) at EventEmitter.MessageBus.conn.on (/home/pi/.node-red/node_modules/dbus-next/lib/bus.js:147:9) at EventEmitter.emit (events.js:198:13) at /home/pi/.node-red/node_modules/dbus-next/lib/connection.js:112:14 at Socket. (/home/pi/.node-red/node_modules/dbus-next/lib/message.js:63:9) at Socket.emit (events.js:198:13) at emitReadable (_stream_readable.js:555:12) at process._tickCallback (internal/process/next_tick.js:63:19) (node:4511) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4) (node:4511) UnhandledPromiseRejectionWarning: DBusError: No notify session started at methodReturnHandlers.(anonymous function) (/home/pi/.node-red/node_modules/dbus-next/lib/bus.js:339:27) at handleMessage (/home/pi/.node-red/node_modules/dbus-next/lib/bus.js:98:11) at EventEmitter.MessageBus.conn.on (/home/pi/.node-red/node_modules/dbus-next/lib/bus.js:147:9) at EventEmitter.emit (events.js:198:13) at /home/pi/.node-red/node_modules/dbus-next/lib/connection.js:112:14 at Socket. (/home/pi/.node-red/node_modules/dbus-next/lib/message.js:63:9) at Socket.emit (events.js:198:13) at emitReadable (_stream_readable.js:555:12) at process._tickCallback (internal/process/next_tick.js:63:19) (node:4511) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)

Does anyone have any suggestions? Thank you

sameerapip1 avatar Sep 10 '20 09:09 sameerapip1