-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Object #<Object> has no method 'emit' #297
Comments
I can reproduce this too:
In my case this is reproducible by just connecting, subscribing to 0x1801 and then unsubscribing, with nRF Connect. The unsubscribe immediately throws this error and ends the process for me. |
@mone741120 @pimterry could you please try out PR #369 and provide you feedback. |
I can't easily, sorry @sandeepmistry, I'm not working on any bluetooth stuff right now, and I don't have any hardware to hand. |
Excuse me for cutting in, I started using bleno recently. Same error was occured, in my case too. I'm using: Might be something is missing? |
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'
The text was updated successfully, but these errors were encountered: