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

Bluetooth Connection Status #17

Open
PilotAudio opened this issue Sep 23, 2021 · 2 comments
Open

Bluetooth Connection Status #17

PilotAudio opened this issue Sep 23, 2021 · 2 comments

Comments

@PilotAudio
Copy link

Hi!

Thank you so much for you work, it really has helped out with my project and works flawlessly.

I was just wondering if there was a way to perform some sort of Bluetooth connection status check?

I am currently working on a Bluetooth speaker and would love to be able to add a Bluetooth connection status light to show the user that they have successfully connected to the speaker but cannot figure out how to do it.

Any pointers in the right direction towards how to actually detect that a device has connected successfully would be greatly appreciated as I am fully stuck with this.

Thanks again!!

@kernelb00t
Copy link

@tierneytim @PilotAudio Hi,
I also need this to make a Bluetooth enabled HiFi system. Is there a way to do it ?
Thanks!

@qwertychouskie
Copy link
Contributor

Check the btAudio::a2d_cb function: https://github.com/tierneytim/btAudio/blob/master/src/btAudio.cpp#L100

It should be possible to add a bit of code there that does what you are looking for.

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

3 participants