Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea933ba8 authored by Sal Savage's avatar Sal Savage
Browse files

Use proper UUID for PBAP-PCE profile descriptor list

According to the PBAP specification, the PCE SDP record should use the
UUID 0x1130 (PBAP) in the profile descriptor list. We mistakenly use the
PBAP-PCE UUID of 0x112e instead, coming from the JNI. This changes
updates our record to use the correct UUID.

Tag: #stability
Bug: 160443921
Test: sdptool browse and check for the proper UUID 0x1130
Change-Id: I5256da3a5bba1f7ced04aa58e9784409e8ae4fc5
parent 6f9bf8d5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -542,8 +542,8 @@ static int add_pbapc_sdp(const bluetooth_sdp_pce_record* rec) {
                             (uint8_t*)rec->hdr.service_name);

  /* Add in the Bluetooth Profile Descriptor List */
  status &= SDP_AddProfileDescriptorList(sdp_handle, service,
                                         rec->hdr.profile_version);
  status &= SDP_AddProfileDescriptorList(
      sdp_handle, UUID_SERVCLASS_PHONE_ACCESS, rec->hdr.profile_version);

  /* Make the service browseable */
  status &=