noble/bleno

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

Offen

#297 geöffnet am 26.04.2017

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (465 Forks)batch import
help wanted

Repository-Metriken

Stars
 (2.083 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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'

Contributor Guide