noble/bleno

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

Open

#297 建立於 2017年4月26日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)JavaScript (2,083 star) (465 fork)batch import
help wanted

描述

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'

貢獻者指南