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'

贡献者指南