noble/bleno

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

Open

#297 geöffnet am 26. Apr. 2017

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.083 Stars) (465 Forks)batch import
help wanted

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