Change-Id: I71e676b997159a141ca07d16f82a73b45f4b2410
12 KiB
Reason:Initialpair附耳start lea adv的时候还未获取SIRK
原因:
b2b尚未connected, 主耳的SIRK还没有relay给附耳 ,这个时候附耳就打了 gfps adv 和 le audio adv, 手机端scan到 le audio adv 然后建立了BLE link, 但是因为附耳还没有获取到正确的SIRK,所以手机端不认为主附耳是一个group。
\
复现JIRA:
BB2BUG-20294 - [BB2][8773ESL][v3.13.0.8][GFPS][LE Audio] 只连接一个耳机 In Progress
测试版本: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 0718_连接一只耳机.zip
耳机做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
\
//phone Bluetooth first scan le audio advertising and create BLE link with secondary bud
07-18 10:06:46.515 1002 2292 2401 I bt_stack: [INFO:client.cc(1944)] xx:xx:xx:xx:15:2b set preferred PHY to 2M
//OnGattConnected Encryption error?
07-18 10:06:46.516 1002 2292 2401 E bt_stack: [ERROR:client.cc(1985)] 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
\
//10:06:46.613 Fast pair find primary bud
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 [CONTEXT service_id=265 ]
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. [CONTEXT service_id=265 ]
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 [CONTEXT service_id=265 ]
07-18 10:06:46.654 10166 15256 27325 I NearbyDiscovery: InitialPairingDeviceChecker: Start checking device XX:XX:XX:XX:F3:E3, modelId ecf4ac [CONTEXT service_id=265 ]
\
//10:07:00.553 ACTION_FAST_PAIR_NOTIFICATION_CLICKED
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 [CONTEXT service_id=265 ]
\
//10:07:00.617 FastPair: start pair
07-18 10:07:00.617 10166 15256 15572 I NearbyDiscovery: FastPair: start pair, item=[type=NEARBY_DEVICE], [triggerId=ecf4ac], [id=ecf4ac], [title=RTL8773C-rws], 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, [targeting=false], [R=EVALUATION_GREAT], [ready=true], [macAddress=XX:XX:XX:XX:F3:E3] [CONTEXT service_id=265 ]
\
//10:07:28.563 10166 failed to wait for other components
07-18 10:07:28.563 10166 15256 27091 W FastPair: Passkey verification complete, failed to wait for other components, bonded=[], unbonded=[XX:XX:XX:XX:15:2B]
\
hi danni:
FastPair use BluetoothLeAudio#getGroupId 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.
\
| [bugreport-panther-UP1A.230623.006-2023-07-18-10-10-21.zip] |
| 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=[XX:XX:XX:XX:15:2B] |
| 07-18 10:07:04.448515 15256 27091 I FastPair: BluetoothAudioPairer: createBond, device=XX:XX:XX:XX:F3:E3, transport=LE |
| 07-18 10:07:09.740549 2292 2664 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:F3:E3 BOND_BONDING => BOND_BONDED |
| 07-18 10:07:13.539032 2292 2600 I BluetoothPhonePolicy: clear LEA profile priority because LE audio is not allowed |
| 07-18 10:07:14.670802 15256 15572 I NearbyDiscovery: FastPairController: DeviceStateManager: addCsipGroup: invalid group id, device=XX:XX:XX: |
\
可以帮忙试试看在b2b连上之后附耳再打gfps和lea的广播么?
看起来在b2b连上之前副耳的gfps adv和lea的adv就打起来了,并且对端通过这个广播连上了le link. 但之前有做过factory reset,b2b又还没连上,所以主耳的sirk还未送过来,两边bud的sirk还没sync.
|
|
|
|
|
|
|
|
|
|
|
|
|