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

HCI Socket Error #40

Open
sanjaykishor opened this issue Mar 10, 2022 · 0 comments
Open

HCI Socket Error #40

sanjaykishor opened this issue Mar 10, 2022 · 0 comments

Comments

@sanjaykishor
Copy link

Hi guys,
We are developing an application that uses noble for central and bleno for peripheral. Here we were facing the socket error whenever we try to switch from central to peripheral or vice versa.
Error: EALREADY, Operation already in progress

To handle this we used to delete the socket and reinitialize it whenever we switch from central to peripheral or vice versa.
We just wanted to know is this a good approach?
(Note: Either noble or bleno will be active at a time).

is it possible to use the common HCI socket for both noble and bleno instead of creating the new socket every time whenever we switch from central to peripheral? or is there any alternative or best approaches for this?

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

No branches or pull requests

1 participant