- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using WICED SDK 6.4 on 20706 based module, integrated Audio Gateway based on the hci_audio_gateway demo app. When testing with Airpods, I see SCO session is terminated whenever user takes out the non-default earbud (headset). It appears this device has an implicit "default" earbud (of the pair in Airpods) where the SCO (and RING) is delivered. When user takes out the other (non-default) earbud first from the charging case, on the Audio Gateway we are seeing a break in SCO, with the event BTM_SCO_DISCONNECTED_EVT. As long as user takes out the "default" earbud first from the charging case, the connection stays and HFP works fine.
Any clue what may be going on here? Is there a recommendation to interface with such headsets of wireless earbuds?
Thankyou
Praveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the function hci_control_ag_rfcomm_do_close in file hci_control_ag_rfcomm, could you try to change the parameter from FALSE to TRUE in API wiced_bt_rfcomm_remove_connection( p_scb->rfc_conn_handle, TRUE).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tried that parameter, unfortunately it didn't improve.
Documentation on that API states that param will be applicable for server only. Implementation of start_server() is not creating new connection if server handle is non-zero, due to that this became worse, but I have corrected that part. However the original issue is not improved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need some HCI log and OTA log for further debug.
Could you try the WICED SDK 6.0 for a quick test first? WICED Studio Wi-Fi/Combo Docs & Downloads
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Attached the hci trace, it is a btsnoop log (HCI). Ignore the frame time stamp in the log. I have performed the mute and unmute while the earbuds are still in the case. SCO was established, we play voice tones during the mute/unmute. After the unmute operation I have attempted to take out the non-default earbud and the SCO gets disconnected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
XinghaoZ, Where can I find just the SDK6.0? I am afraid the installers are also bringing in IDE (eclipse and related). Is there a tar ball or zip of just the SDK, can you please point?
Thankyou
Praveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the installers are with the IDE. You don't need to uninstall the WICED 6.4. Just install the 6.0 in another folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
XinghaoZ, One more question, the SDK6.0 doesn't have the platform files for CYBT_353027_EVAL, where do I get a copy that is tested with this SDK?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi XinghaoZ, Are those platform files compatible with the 353027 module? When building, should I target the module 343026?
The documentation in the zip mentioned the minimum version of WICED studio as 6.1.0.85 or later.
To verify I attempted to build a copy of the demo for 343026, get an error.
"D:\\WICED-Studio-6.0\\20706-A2_Bluetooth\\make.exe" demo.audio.hci_audio_gateway-CYBT_343026_EVAL download
Compiling platform.c
make.exe[1]: *** No rule to make target '../../Platforms/CYBT_343026_EVAL/.cgs', needed by '../../build/hci_audio_gateway-CYBT_343026_EVAL-rom-ram-Wiced-release/A_20703A2-hci_audio_gateway-rom-ram-spar.cgs'. Stop.
make: *** [demo.audio.hci_audio_gateway-CYBT_343026_EVAL] Error 2
Makefile:524: recipe for target 'demo.audio.hci_audio_gateway-CYBT_343026_EVAL' failed
21:40:16 Build Finished (took 7s.65ms)