Files
gfps/24+BLE+连上之后手机没有查服务,紧接着手机主动下了断线.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

56 lines
4.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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.
# 24 BLE 连上之后手机没有查服务,紧接着手机主动下了断线
问题1
<a href="https://partnerissuetracker.corp.google.com/u/0/issues/420766718" class="external-link" rel="nofollow">https://partnerissuetracker.corp.google.com/u/0/issues/420766718</a>
<table class="confluenceTable">
<tbody>
<tr>
<th class="confluenceTh" scope="col"><pre><code>// Validator calls BluetoothDevice.connectGatt()
05-27 18:24:26.853 I GattClientImpl: BluetoothDevice.connectGatt() - 00:00:00:00:00:0D [CONTEXT service_id=284 ]
&#10;// This follows to BluetoothDevice.connectGatt() calls, apparently one made by another app at the same time.
&#10;05-27 18:24:26.853 D BluetoothGatt: connect() - device: XX:XX:XX:XX:00:0D, auto: false
05-27 18:24:26.853 D BluetoothGatt: registerApp()
05-27 18:24:26.854 D BluetoothGatt: registerApp() - UUID=8f31e253-d3a8-492f-9165-d806b6c95c32
05-27 18:24:26.856 D BluetoothGatt: onClientRegistered() - status=0 clientIf=14
&#10;05-27 18:24:26.976 D BluetoothGatt: connect() - device: XX:XX:XX:XX:00:0D, auto: false
05-27 18:24:26.976 D BluetoothGatt: registerApp()
05-27 18:24:26.976 D BluetoothGatt: registerApp() - UUID=b48ee071-2016-4f0e-8e65-815a00cec43b
05-27 18:24:26.988 D BluetoothGatt: onClientConnectionState() - status=0 clientIf=14 device=00:00:00:00:00:0D
05-27 18:24:26.989 D BluetoothGatt: onClientRegistered() - status=0 clientIf=16
&#10;05-27 18:24:26.989 I GattClientImpl: Bluetooth connection state changed, status: GATT_SUCCESS, state: 2 - 00:00:00:00:00:0D [CONTEXT service_id=284 ]
05-27 18:24:26.990 D BluetoothGatt: requestConnectionPriority() - params: 0
&#10;// BluetoothDevice.discoverServices() called. There&#39;s also a second call to this API. From HCI service discovery is not in fact performed.
// onServicesDiscovered() is invoked right away
05-27 18:24:26.991 I GattClientImpl: discoverServices() - 00:00:00:00:00:0D [CONTEXT service_id=284 ]
05-27 18:24:26.992 D BluetoothGatt: discoverServices() - device: XX:XX:XX:XX:00:0D
05-27 18:24:26.997 D BluetoothGatt: onClientConnectionState() - status=0 clientIf=16 device=00:00:00:00:00:0D
05-27 18:24:26.998 D BluetoothGatt: discoverServices() - device: XX:XX:XX:XX:00:0D
05-27 18:24:27.001 D BluetoothGatt: onSearchComplete() = Device=00:00:00:00:00:0D Status=0
05-27 18:24:27.001 I GattClientImpl: onServicesDiscovered() - 00:00:00:00:00:0D [CONTEXT service_id=284 ]
&#10;// bluetoothGatt.writeDescriptor(Descriptor) returns false
05-27 18:24:27.101 I ValidatorImpl: Asynchronously failing: Error performing GATT operation (fe2c1238-8366-4814-8eb0-01de32100bea SUBSCRIBE_TO_NOTIFICATIONS returned false)</code></pre></th>
</tr>
&#10;</tbody>
</table>
<table class="confluenceTable">
<tbody>
<tr>
<th class="confluenceTh" scope="col"><p>After BLE is connected, retroactive pairing failed due to no cache is found.</p>
<pre><code>05-27 18:24:21.381 I NearbyDiscovery: [trigger-id=Paed20819D34, feature-id=Repa] RetroactivePairManager: Skip, some info is null, mac=XX:XX:XX:XX:00:0D, remainingTime=0, ble-mac=XX:XX:XX:XX:1C:2D, model-id=99F751, bleCache=NONE [CONTEXT service_id=265 ]</code></pre>
<p>It may because the model-id<span> </span><code>99f751</code><span> </span>is filtered by spoofing detected.</p>
<pre><code>ModelIdScanTriggerStats ** last-seen-ms-ago= 95982, first-seen-ms-ago= 107254, count= 90, model-id=99f751, NotDownloadedYet, mac=XX:XX:XX:XX:1C:2D, min-distance= 0.07, max-distance= 1.00, result=SPOOFING_DETECTED</code></pre>
<p>Since the model-id<span> </span><code>99f751</code><span> </span>has still not approved in the device console yet,</p>
<p>could you go to<span> </span><code>Settings &gt; Google &gt; All services &gt; Devices</code><span> </span>and enable<span> </span><code>Include debug results</code><span> </span>(requires to enable developer mode first)</p>
<p><br />
Then, test again to see if the device can detect the advertisement correctly. Thanks!</p></th>
</tr>
&#10;</tbody>
</table>
问题2:
<a href="https://partnerissuetracker.corp.google.com/u/0/issues/502346693" class="external-link" rel="nofollow">https://partnerissuetracker.corp.google.com/u/0/issues/502346693</a>