- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am working with CYW20706 Bluetooth chip (CYW920706WCDEVAL kit). I want to connect two devices with HF and AVRC controller profiles simultaneously. I am using the "Audio_Headset" example from Modus Toolbox. When I am connecting two devices, first of them is connects with HF and AVRC controller profiles as I want. Second one is connecting only with AVRC controller profile. When I am trying to connect it as a HF too, new connection is rewriting one of already existing connections (has the same handle number). Also, it seems possible to create two HF connections and one AVRC controller, but the last connection is never working.
It looks like maximum connections number is limited on 3. Is this possible to do what I want with this chip?
Thank you!
Solved! Go to Solution.
- Labels:
-
AIROC™ Bluetooth
- Tags:
- cyw20706
- hands-free
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please try setting the appropriate values for the required wiced_bt_cfg_settings_t parameters. For example, max_simultaneous_links, rfcomm_cfg {max_links, max_ports}, etc.
Let me confirm once again your requirement. You wanted to have simultaneous HF & AVRC connections to two peer devices. Please confirm.
Thanks,
-Dheeraj.P.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please try setting the appropriate values for the required wiced_bt_cfg_settings_t parameters. For example, max_simultaneous_links, rfcomm_cfg {max_links, max_ports}, etc.
Let me confirm once again your requirement. You wanted to have simultaneous HF & AVRC connections to two peer devices. Please confirm.
Thanks,
-Dheeraj.P.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, thank you for reply
Let me confirm once again your requirement. You wanted to have simultaneous HF & AVRC connections to two peer devices. Please confirm.
Yes, that is the ideal case, or at least one device with HF connection, and second with HF & AVRC.
Let me explain the problem more detailed on an example:
I am pairing 1st device, it connects automatically as HF (handle 2) and AVRC (handle 1).
Then I am pairing 2nd device, it connects automatically as AVRC (handle 0).
I am trying to manually connect 2nd device as HF too and it connects with handle 1, same with already existing connection. This deletes previously created connection.
Or another example:
I am manually connecting two devices as HF only, everything connects fine at first, but after a couple of moments it automatically creates AVRC connection for each device. One of this connections rewrites already existing one.
I already tried to change “Maximum number simultaneous links to different devices” from 3 to 4 in the wiced_bt_cfg_settings, didn’t change anything.
Is it possible to make it create last connection with handle 3, so it doesn’t rewrite the existing one? Or at least disable auto connections, so I can create connections manually.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, thank you for reply
Let me confirm once again your requirement. You wanted to have simultaneous HF & AVRC connections to two peer devices. Please confirm.
Yes, that is the ideal case, or at least one device with HF connection, and second with HF & AVRC.
Let me explain the problem more detailed on an example:
I am pairing 1st device, it connects automatically as HF (handle 2) and AVRC (handle 1).
Then I am pairing 2nd device, it connects automatically as AVRC (handle 0).
I am trying to manually connect 2nd device as HF too and it connects with handle 1, same with already existing connection. This deletes previously created connection.
Or another example:
I am manually connecting two devices as HF only, everything connects fine at first, but after a couple of moments it automatically creates AVRC connection for each device. One of this connections rewrites already existing one.
I already tried to change “Maximum number simultaneous links to different devices” parameter in the wiced_bt_cfg_settings, didn’t change anything.
Is it possible to make it create last connection with handle 3, so it doesn’t rewrite the existing one? Or at least disable auto connections, so I can create connections manually.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update:
Hands-free is mutually exclusive with a2dp/avrcp with Bluetooth classic. Only one device can be active at a time.
Please try to change the below macro from 1 to 2 inorder to connect two devices.
CY_APP_DEFINES += -DBT_HS_SPK_CONTROL_BR_EDR_MAX_CONNECTIONS=1