Skip to content

How to properly switch bluetooth devices? #436

Closed Answered by pschatzmann
Zombieschannel asked this question in Q&A
Discussion options

You must be logged in to vote

When I was testing, I was disconnecting from my phone and then reconnecting from the same or another device...
I confirm that you better set auto_reconnect(false);

If you don't disconnect from the phone you run the risk that the phone might try to reconnect which might mess up what you try to do
Did you already try to call end() and then start() ?

I don't think that you should call set_discoverability() yourself, but rely on the API to set this automatically based on the status.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Zombieschannel
Comment options

@Zombieschannel
Comment options

Answer selected by Zombieschannel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants