noble/bleno

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

開放

#297 建立於 2017年4月26日

 (4 則留言) (0 個反應) (0 位負責人)JavaScript (465 個分叉)batch import
help wanted

倉庫指標

星標
 (2,083 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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'

貢獻者指南