diff options
author | 2024-07-31 08:59:50 +0000 | |
---|---|---|
committer | 2024-07-31 12:19:05 +0000 | |
commit | 88a117b43c765b3534c3b2324061577fa1dfaa49 (patch) | |
tree | f972de55d97acf650e73ba17ab81f0047e9e5618 /pandora | |
parent | b5caa4c49deb0546bdc023cad0a1ba7f5375b906 (diff) |
BumbleBluetoothTests: increase sdp handle
The process of automatically assigning hidden handles hasn't been implemented yet.
Hence we had conflict of SDP handles
Bug: 356296802
Test: atest BumbleBluetoothTests:android.bluetooth.SdpClientTest#remoteConnectServiceDiscoveryTest
Change-Id: I4f13c1e56d8840bd8ad2d11d6b36f60ba1a82323
Diffstat (limited to 'pandora')
-rw-r--r-- | pandora/server/bumble_experimental/hid.py | 2 | ||||
-rw-r--r-- | pandora/server/bumble_experimental/rfcomm.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pandora/server/bumble_experimental/hid.py b/pandora/server/bumble_experimental/hid.py index 512ff2204f..497f5edd4a 100644 --- a/pandora/server/bumble_experimental/hid.py +++ b/pandora/server/bumble_experimental/hid.py @@ -347,7 +347,7 @@ def on_hid_control_point_write(_connection, value): # ----------------------------------------------------------------------------- def sdp_records(): - service_record_handle = 0x00010002 + service_record_handle = 0x00010006 return { service_record_handle: [ ServiceAttribute( diff --git a/pandora/server/bumble_experimental/rfcomm.py b/pandora/server/bumble_experimental/rfcomm.py index 0680b4a688..bdc0ad5966 100644 --- a/pandora/server/bumble_experimental/rfcomm.py +++ b/pandora/server/bumble_experimental/rfcomm.py @@ -42,7 +42,7 @@ from pandora_experimental.rfcomm_pb2 import ( TxResponse, ) -FIRST_SERVICE_RECORD_HANDLE = 0x00010000 +FIRST_SERVICE_RECORD_HANDLE = 0x00010010 class RFCOMMService(RFCOMMServicer): |