Files
gfps/Reason_+附耳没有enable+lea+adv.md
danni_dong bdbb2527e6
All checks were successful
Sync To /home/ubuntu/gfps / sync (push) Successful in 2s
gfps: 添加认证测试和FAQ 20260505
Change-Id: I71e676b997159a141ca07d16f82a73b45f4b2410
2026-05-05 19:24:08 +08:00

61 lines
4.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Reason: 附耳没有enable lea adv
问题1
<span class="ui-provider fy b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"><a href="https://jira.realtek.com/browse/BB2RD-2516" class="external-link" rel="nofollow" title="https://jira.realtek.com/browse/bb2rd-2516">https://jira.realtek.com/browse/BB2RD-2516</a></span>
<span class="jira-issue resolved" jira-key="BB2BUG-20296"> <a href="https://jira.realtek.com/browse/BB2BUG-20296" class="jira-issue-key"><img src="https://jira.realtek.com/secure/viewavatar?size=xsmall&amp;avatarId=10916&amp;avatarType=issuetype" />BB2BUG-20296</a> - <span class="summary">\[BB2\]\[8773ESL\]\[v3.13.0.8\]\[GFPS\]\[LE Audio\]Initial Pair播放音乐有一只耳朵没有声音</span> <span class="aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf">Resolved</span> </span> :
这边是因为切到legacy后对端发了a2dp start 虽然是silence data, 但我们这边会建立sniffing/recovery link,并把adv停掉主耳能连上是因为gfps的广播还开着.
0001854 07-26#17:37:25.864 185 0033230.788 \[APP\] !\*\*app_audio_bt_cback: event_type 0x3107(BT_EVENT_A2DP_STREAM_START_IND)\
0001859 07-26#17:37:25.864 190 0033231.408 \[BTM\] bt_roleswap_conn_sniffing_link: audio addr AC::3E::B1::01::16::A6, peer_addr 73::EF::66::23::15::2B, sniffing state 0x00//\
0001864 07-26#17:37:25.864 195 0033231.690 \[BTM\] !\*\*bt_sniffing_state_setup_sniffing: event 0x0000, recovery_link_type 0//\
0001882 07-26#17:37:25.879 213 0033235.288 \[APP\] app_bt_sniffing_start: p_link 0x002c0a4c, bt_sniffing_state 2, type 1, check_result 0, bd_addr AC::3E::B1::01::16::A6, result 1, pending_action //\
0001908 07-26#17:37:25.879 239 0033241.020 \[BTIFMSG\]↙BTIF_MSG_LE_EXT_ADV_ENABLE_REQ(CMD:0x0189) mode:0x00(BTIF_LE_EXT_ADV_MODE_DISABLED) num_of_sets:0x01 adv_set_param: \[ adv_handle:0x01 duration:0x0000 max_ext_adv_evt:0xA5 adv_handle:0x01 duration:0x0000 max_ext_adv_evt:0x01 adv_handle:0x00 duration:0x0001 max_ext_adv_evt:0x00 adv_handle:0x00 duration:0x0000 max_ext_adv_evt:0x03\]
\
问题2
<span class="jira-issue resolved" jira-key="BB2BUG-20764"> <a href="https://jira.realtek.com/browse/BB2BUG-20764" class="jira-issue-key"><img src="https://jira.realtek.com/secure/viewavatar?size=xsmall&amp;avatarId=10916&amp;avatarType=issuetype" />BB2BUG-20764</a> - <span class="summary">\[BB2\]\[8773ESL\]\[v3.13.0.8\]\[GFPS\]\[LE Audio\] Subsequent pairing只连接了一只耳朵</span> <span class="aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf">Resolved</span> </span> :
耳机和phone B配对 不连附耳的原因是附耳没有enable le audio广播请帮忙看看是否和recovery link有关
0006772 07-28#16:47:20.567 036 0146460.743 \[HCI\] hci_if_confirm: buf 0x0020e043\
0006773 07-28#16:47:20.567 037 0146461.005 \[BTM\] !\*\*ble_ext_adv_action_stop: adv_handle 1, result 0\
0006774 07-28#16:47:20.567 038 0146461.051 \[APP\] app_lea_adv_callback: change from 1 to 0, adv_handle 1, stop_cause 1
**原因是:**
0008607 07-28#16:47:20.509 070 0146403.294 \[APP\] app_bt_policy_sync_b2s_connected: b2s_connected_num 2
<span class="date-autocomplete isDirty">//<span class="inserting"> <span style="color: rgb(0,0,0);">curr mode 0(</span></span></span><span style="color: rgb(0,0,0);">MULTI_PRO_BT_BREDR) ,event 6(MTC_TOPO_EVENT_LEGACY_CONN)</span>
0008706 07-28#16:47:20.530 169 0146423.503 \[APP\] !\*\*mtc_topology_dm: curr mode 0, event 6, bud_role 1, 2
0008747 07-28#16:47:20.540 210 0146430.850 \[APP\] !\*\*mtc_topology_dm: le_conn_fg 0, edr_conn_fg 1, bis_state 0\
0008748 07-28#16:47:20.540 211 0146430.887 \[APP\] !\*\*mtc_topology_dm: mode change 0 to 0
//event 0x0002(MTC_REMOTE_SYNC_CIS_STOP)
0008786 07-28#16:47:20.552 249 0146442.512 \[APP\] mtc_relay_cback: event 0x0002, status 8
//event 0x8(LEA_ADV_STOP)
0008789 07-28#16:47:20.552 252 0146442.648 \[APP\] !\*\*app_lea_mgr_dev_adv: event 0x8
![](images/Reason_+附耳没有enable+lea+adv_b29c8358.jpg)
0008607 07-28#16:47:20.509 070 0146403.294 \[APP\] app_bt_policy_sync_b2s_connected: b2s_connected_num 2
目前b2s link number是2 mtc_db.device.max_conn_num也是2code就走到 mtc_terminate_cis()了
![](images/Reason_+附耳没有enable+lea+adv_7554e1e0.jpg)
**解决办法:**
**<span style="color: rgb(23,43,77);">MTC_MAX_LINK_NUM目前是2</span>**
<span style="color: rgb(23,43,77);">将 MTC_MAX_LINK_NUM改成4</span>