Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

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

Description

@mone741120

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'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions