noble/bleno

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

Open

#297 aperta il 26 apr 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (465 fork)batch import
help wanted

Metriche repository

Star
 (2083 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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'

Guida contributor