noble/bleno

TypeError: Object #<Object> has no method 'emit'

Open

#297 ouverte le 26 avr. 2017

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (2 083 stars) (465 forks)batch import
help wanted

Description

When I set my BLE module as the peripheral mode and run the echo example.

If I subscribe the indication and then unsubscribe it, the following error will occur.

root: /home/ubuntu/test/node_modules/bleno/lib/hci-socket/gatt.js:914 handleAttribute.emit('unsubscribe'); ^ TypeError: Object # has no method 'emit'

Guide contributeur