hard-coded vs. dynamic BT target device name #486
-
Hello Phil, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I am afraid I don't quite understand what scenario are you trying to implement: a source or a sink ? |
Beta Was this translation helpful? Give feedback.
-
Apologies that the description was so vague. The signal chain is: Audio line out from an iPod -> Line in of AI Audiokit 2.2 -> Internal redirection to BT A2DP source -> send audio to BT headset/speaker. That all works. What bothers me is that the name of the receiving BT headset/speaker is hard-coded and I would wish to get a list of compatible BT devices in range. So what would need to be done is So your guess was right "If you talk about a source, why don't you just provide the list of all devices? Or you would register a callback method via set_ssid_callback which provides you with the discovered names." Thanks & BR, Klaus |
Beta Was this translation helpful? Give feedback.
-
If you are a beginner, I suggest that you try to use the easy way by just providing a vector of all your devices. You can google how to initialize a std::vector! Further details can be found in the class documentation. |
Beta Was this translation helpful? Give feedback.
-
Thanks, Phil, I will give it a try. |
Beta Was this translation helpful? Give feedback.
I am afraid I don't quite understand what scenario are you trying to implement: a source or a sink ?
If you talk about a source, why don't you just provide the list of all devices ? Or you would register a callback method via set_ssid_callback which provides you with the discovered names.