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 (465 forks)batch import
help wanted

Métriques du dépôt

Stars
 (2 083 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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