All checks were successful
Sync To /home/ubuntu/gfps / sync (push) Successful in 2s
Change-Id: I71e676b997159a141ca07d16f82a73b45f4b2410
178 lines
12 KiB
Markdown
178 lines
12 KiB
Markdown
# Reason:Initialpair附耳start lea adv的时候还未获取SIRK
|
||
|
||
**原因:**
|
||
|
||
b2b尚未connected, 主耳的SIRK还没有relay给附耳 ,这个时候附耳就打了 gfps adv 和 le audio adv, 手机端scan到 le audio adv 然后建立了BLE link, 但是因为附耳还没有获取到正确的SIRK,所以手机端不认为主附耳是一个group。
|
||
|
||
\
|
||
|
||
**复现JIRA:**
|
||
|
||
<span class="jira-issue" jira-key="BB2BUG-20294"> <a href="https://jira.realtek.com/browse/BB2BUG-20294" class="jira-issue-key"><img src="https://jira.realtek.com/secure/viewavatar?size=xsmall&avatarId=10916&avatarType=issuetype" />BB2BUG-20294</a> - <span class="summary">\[BB2\]\[8773ESL\]\[v3.13.0.8\]\[GFPS\]\[LE Audio\] 只连接一个耳机</span> <span class="aui-lozenge aui-lozenge-subtle aui-lozenge-current jira-macro-single-issue-export-pdf">In Progress</span> </span>
|
||
|
||
测试版本:RTL87X3E-MCU-SDK-v3.13.0.8_20230526.zip + APP_test_bin_v3_sec_stop_gfps_hide_ui_adv_flash_4M_dualbank\
|
||
手机:Google Pixel 7, Android 14 AC:3E:B1:01:16:A6\
|
||
Log <span class="nobr"><a href="https://jira.realtek.com/secure/attachment/3351732/3351732_0718_%E8%BF%9E%E6%8E%A5%E4%B8%80%E5%8F%AA%E8%80%B3%E6%9C%BA.zip" class="external-link" rel="nofollow" title="0718_连接一只耳机.zip attached to BB2BUG-20294">0718_连接一只耳机.zip<sup><img src="images/Reason_Initialpair附耳start+lea+adv的时候还未获取SIRK_60456d02.gif" /></sup></a></span>
|
||
|
||
\
|
||
耳机做factory Reset,
|
||
|
||
10:06:47耳机开机engage并进入pairing mode\
|
||
10:07:01点击手机UI上弹框配对\
|
||
10:07:06听到一只耳朵连接的提示音\
|
||
10:07:15听到BREDR Connected提示音,
|
||
|
||
10:07:16疑似另一只耳朵的提示音\
|
||
但10:07:37配对结束后又听到engage提示音,手机上可以看到只配对了一只耳朵\
|
||
10:57:56建立LE Audio连接,但仍然只连接了一只耳朵
|
||
|
||
\
|
||
|
||
**LOG 分析:**
|
||
|
||
hi tony:
|
||
|
||
This Log still show phone firstly connected to secondary bud through le audio advertising, but not create BLE bond.\
|
||
and then phone do GFPS pair with primary bud.\
|
||
After primary bud bonded, phone still do not create bond with secondary bud.
|
||
|
||
Primary bud RPA:4E:1A:3D:C1:F3:E3\
|
||
Primary bud identity address: 73:EF:CC:15:23:01\
|
||
Secondary bud identity address 73:EF:66:23:15:2B
|
||
|
||
\
|
||
|
||
<span style="color: rgb(0,0,255);">//phone Bluetooth first scan le audio advertising and create BLE link with secondary bud</span>\
|
||
07-18 10:06:46.515 1002 2292 2401 I bt_stack: <span class="error">\[INFO:<a href="http://client.cc" class="external-link" rel="nofollow">client.cc</a>(1944)\]</span> xx:xx:xx:xx:15:2b set preferred PHY to 2M
|
||
|
||
<span style="color: rgb(0,0,255);">//OnGattConnected Encryption error?</span>\
|
||
07-18 10:06:46.516 1002 2292 2401 E bt_stack: <span class="error">\[ERROR:<a href="http://client.cc" class="external-link" rel="nofollow">client.cc</a>(1985)\]</span> OnGattConnected Encryption error\
|
||
07-18 10:06:46.521 1002 2292 2600 D BtGatt.GattService: onClientConnected() connId=12, address=73:EF:66:23:15:2B, connected=true\
|
||
07-18 10:06:46.544 1002 2292 2292 D BluetoothDatabase: setConnection: device XX:XX:XX:XX:15:2B and isA2dpDevice=false\
|
||
07-18 10:06:46.544 1002 2292 2292 D BluetoothDatabase: Updating last connected time for device: XX:XX:XX:XX:15:2B to 190\
|
||
07-18 10:06:46.544 1002 2292 2292 D BluetoothDatabase: updateDatabase XX:XX:XX:XX:15:2B\
|
||
07-18 10:06:46.549 1002 2292 2600 D BluetoothGattServer: onPhyUpdate() - device=73:EF:66:23:15:2B, txPHy=2, rxPHy=2\
|
||
07-18 10:06:46.549 1002 2292 2600 D BtGatt.GattService: onServerPhyUpdate() - connId=9, status=0\
|
||
07-18 10:06:46.580 10177 16103 16279 I BistoWorker: bluetoothConnectionStateChanged. Action: android.bluetooth.device.action.ACL_CONNECTED
|
||
|
||
\
|
||
|
||
<span style="color: rgb(0,0,255);">//10:06:46.613 Fast pair find primary bud</span>\
|
||
07-18 10:06:46.613 10166 15256 15572 I NearbyDiscovery: FastPairCache: found device XX:XX:XX:XX:F3:E3 advertising model id ecf4ac, scanMode=1 <span class="error">\[CONTEXT service_id=265 \]</span>\
|
||
07-18 10:06:46.615 10166 15256 15572 I NearbyDiscovery: FastPairCache: First time device XX:XX:XX:XX:F3:E3 with model id ecf4ac found, scanMode=1. <span class="error">\[CONTEXT service_id=265 \]</span>\
|
||
07-18 10:06:46.652 10166 15256 15572 I NearbyDiscovery: FastPairCache: Item has model ID and should trigger a halfsheet or atv_bottomsheet, XX:XX:XX:XX:F3:E3, ecf4ac, 7 <span class="error">\[CONTEXT service_id=265 \]</span>\
|
||
07-18 10:06:46.654 10166 15256 27325 I NearbyDiscovery: InitialPairingDeviceChecker: Start checking device XX:XX:XX:XX:F3:E3, modelId ecf4ac <span class="error">\[CONTEXT service_id=265 \]</span>
|
||
|
||
\
|
||
|
||
<span style="color: rgb(0,0,255);">//10:07:00.553 ACTION_FAST_PAIR_NOTIFICATION_CLICKED</span>\
|
||
07-18 10:07:00.553 10166 15256 15572 I NearbyDiscovery: FastPairHandler: Received action com.google.android.gms.nearby.discovery:ACTION_FAST_PAIR_NOTIFICATION_CLICKED <span class="error">\[CONTEXT service_id=265 \]</span>
|
||
|
||
\
|
||
|
||
<span style="color: rgb(0,0,255);">//10:07:00.617 FastPair: start pair</span>\
|
||
07-18 10:07:00.617 10166 15256 15572 I NearbyDiscovery: FastPair: start pair, item=<span class="error">\[type=NEARBY_DEVICE\]</span>, <span class="error">\[triggerId=ecf4ac\]</span>, <span class="error">\[id=ecf4ac\]</span>, <span class="error">\[title=RTL8773C-rws\]</span>, <a href="https://jira.realtek.com/browse/BB2BUG-20294#Intent;action=com.google.android.gms.nearby.discovery%3AACTION_MAGIC_PAIR;package=com.google.android.gms;component=com.google.android.gms/.nearby.discovery.service.DiscoveryService;end" class="external-link" rel="nofollow">url=intent:#Intent;action=com.google.android.gms.nearby.discovery%3AACTION_MAGIC_PAIR;package=com.google.android.gms;component=com.google.android.gms/.nearby.discovery.service.DiscoveryService;end</a>, <span class="error">\[targeting=false\]</span>, <span class="error">\[R=EVALUATION_GREAT\]</span>, <span class="error">\[ready=true\]</span>, <span class="error">\[macAddress=XX:XX:XX:XX:F3:E3\]</span> <span class="error">\[CONTEXT service_id=265 \]</span>
|
||
|
||
\
|
||
|
||
<span style="color: rgb(0,0,255);">//10:07:28.563 10166 failed to wait for other components</span>\
|
||
07-18 10:07:28.563 10166 15256 27091 W FastPair: Passkey verification complete, failed to wait for other components, bonded=\[\], unbonded=<span class="error">\[XX:XX:XX:XX:15:2B\]</span>
|
||
|
||
\
|
||
|
||
<span class="error">hi danni:</span>
|
||
|
||
FastPair use <a href="https://developer.android.com/reference/android/bluetooth/BluetoothLeAudio#getGroupId(android.bluetooth.BluetoothDevice)" class="external-link" rel="nofollow">BluetoothLeAudio#getGroupId</a> with XX:XX:XX:XX:F3:E3, but it returns GROUP_ID_INVALID.
|
||
|
||
Before routing the issue to the ble-audio@ team, could you see if the issue can be reproduced when you "+ Pair new device" in the Bluetooth Settings page?
|
||
|
||
If it's reproducible, please check your implementation on the coordinate set.
|
||
|
||
If it's not reproducible, please share the logs and we will need ble-audio team to help.
|
||
|
||
\
|
||
|
||
<table class="wrapped confluenceTable">
|
||
<tbody>
|
||
<tr>
|
||
<td class="confluenceTd"><span class="error">[bugreport-panther-UP1A.230623.006-2023-07-18-10-10-21.zip]</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd">07-18 10:07:04.370770 15256 27091 I FastPair: Handshake success with public XX:XX:XX:XX:23:01, ble XX:XX:XX:XX:F3:E3, additional=<span class="error">[XX:XX:XX:XX:15:2B]</span></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><br />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd">07-18 10:07:04.448515 15256 27091 I FastPair: BluetoothAudioPairer: createBond, device=XX:XX:XX:XX:F3:E3, transport=LE</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd">07-18 10:07:09.740549 2292 2664 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:F3:E3 BOND_BONDING => BOND_BONDED</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><br />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd">07-18 10:07:13.539032 2292 2600 I BluetoothPhonePolicy: clear LEA profile priority because LE audio is not allowed</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><br />
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd">07-18 10:07:14.670802 15256 15572 I NearbyDiscovery: FastPairController: DeviceStateManager: addCsipGroup: invalid group id, device=XX:XX:XX:</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
\
|
||
|
||
<span style="color: rgb(23,43,77);">可以帮忙试试看在b2b连上之后附耳再打gfps和lea的广播么?</span>\
|
||
<span style="color: rgb(23,43,77);">看起来在b2b连上之前副耳的gfps adv和lea的adv就打起来了,并且对端通过这个广播连上了le link. 但之前有做过factory reset,b2b又还没连上,所以主耳的sirk还未送过来,两边bud的sirk还没sync.</span>
|
||
|
||
<table class="wrapped confluenceTable">
|
||
<tbody>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0001925 07-18#10:06:46.103 031 0004308.206 [ENGAGE] bud_fe_adv_start: factory_role 2 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0001935 07-18#10:06:46.103 041 0004309.942 [BTM] !**ble_ext_adv_action_update: adv_handle 0, adv_param_set 0, update_flags 0x3, result 0 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0002046 07-18#10:06:46.187 152 0004391.212 [BTM] !**ble_ext_adv_action_update: adv_handle 0, adv_param_set 1, update_flags 0x2, result 0 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0002136 07-18#10:06:46.200 243 0004407.416 [APP] !**app_gfps_le_device_adv_start: bud_role 2, force enter pairing mode 0【】 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0002140 07-18#10:06:46.200 247 0004407.734 [APP] !**app_lea_adv_start: public addr 73::EF::66::23::15::2B random addr 00::00::00::00::00::00 mode 0(LEA_ADV_MODE_PAIRING)【】 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0002142 07-18#10:06:46.200 249 0004407.972 [BTM] !**ble_ext_adv_mgr_send_msg: adv_handle 1, action 2(BLE_EXT_ADV_ACTION_UPDATE), param 0x3, result 0 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0002175 07-18#10:06:46.208 026 0004412.463 [BTM] !**ble_ext_adv_action_update: adv_handle 1, adv_param_set 0, update_flags 0x3, result 0 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0002296 07-18#10:06:46.271 147 0004476.787 [BTIFMSG]↗BTIF_MSG_LE_CONN_CMPL_INFO(CMD:0x012C) cause:0x0000 link_id:0x000F mtu_size:0x0017 ds_credits:0x0A own_addr_type:0x00(BTIF_LOCAL_ADDR_LE_PUBLIC) remote_addr_type:0x01(BTIF_REMOTE_ADDR_LE_RANDOM) bd_addr[79:B2:27:9B:0A:08] interval:0x0024 latency:0x0000 supv_tout:0x01F4 tx_phy:0x01(BTIF_LE_PHY_1M) rx_phy:0x00(0) csa:0x00【】 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0002324 07-18#10:06:46.276 175 0004480.597 [APP] !**app_lea_adv_start: public addr 73::EF::66::23::15::2B random addr 00::00::00::00::00::00 mode 0(LEA_ADV_MODE_PAIRING) </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0002743 07-18#10:06:46.574 082 0004784.619 [BTM] !**acl (0) link connect success, handle 0x1【】 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0002748 07-18#10:06:46.574 087 0004785.520 [ENGAGE] app_bt_policy_b2b_connected_add_node: bd_addr 73::EF::CC::15::23::01, p_link 0x002c09a8 0003935 07-18#10:06:47.238 182 0005426.250 [APP] !**app_gfps_le_device_adv_start: bud_role 2, force enter pairing mode 0 0003941 07-18#10:06:47.238 188 0005426.848 [APP] !**app_lea_adv_start: public addr 73::EF::66::23::15::2B random addr 00::00::00::00::00::00 mode 0(LEA_ADV_MODE_PAIRING) </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0004135 07-18#10:06:47.266 113 0005471.006 [PROTOCOL] !**[CSIS] csis_gen_rsi: SIRK CB D1 F0 FF D9 EC C6 3F 58 90 CB C4 D4 0E 2E 6A, PSRI A5 CC 5E EE 40 54//【】 </code></pre></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="confluenceTd"><pre><code>0004144 07-18#10:06:47.266 122 0005473.515 [BTM] !**ble_ext_adv_action_update: adv_handle 1, adv_param_set 1, update_flags 0x2, result 0【】</code></pre></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|