Skip to content
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

server: handle disconnect/connect events on HCI device #48

Closed
rkjdid opened this issue Jul 28, 2019 · 2 comments · Fixed by #50
Closed

server: handle disconnect/connect events on HCI device #48

rkjdid opened this issue Jul 28, 2019 · 2 comments · Fixed by #50

Comments

@rkjdid
Copy link

rkjdid commented Jul 28, 2019

Hi,

Just starting to use this package, looks solid thank you.

One thing I need though is to check for devices connecting/disconnecting, is there a way to do it?

Thank you

@rkjdid
Copy link
Author

rkjdid commented Jul 28, 2019

I went ahead and implemented it here for reference, also with a feature to limit number of incoming connections rkjdid@5bd1e5f

@rkjdid
Copy link
Author

rkjdid commented Aug 2, 2019

about limitting to 1 conn only, the commit above is not working. It seems the BLE protocol should only allow 1 connection at a time anyway, which was implemented with bug. See #49 for seemingly proper fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant