Linux bluetooth development
 help / color / mirror / Atom feed
From: Jinwang Li <jinwang.li@oss.qualcomm.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org, cheng.jiang@oss.qualcomm.com
Subject: Re: obexd/pbap: Update PSE support from PBAP 1.1 to 1.2
Date: Tue, 10 Nov 2026 10:00:20 +0800	[thread overview]
Message-ID: <230bb084-a63a-451f-802b-aab0ed205d7e@oss.qualcomm.com> (raw)
In-Reply-To: <CABBYNZ+E-HjcBxjsoH6c42B9W1_GFc1h=7JMQMdhYxcht_BBqw@mail.gmail.com>

Hi Luiz,

On 11/9/2026 10:31 PM, Luiz Augusto von Dentz wrote:
> Hi Jinwang,
> 
> On Mon, Nov 9, 2026 at 4:34 AM Jinwang Li <jinwang.li@oss.qualcomm.com> wrote:
>>
>>
>>
>> On 11/5/2026 11:37 PM, Luiz Augusto von Dentz wrote:
>>> Hi Jinwang,
>>>
>>> On Wed, Nov 4, 2026 at 12:14 PM <bluez.test.bot@gmail.com> wrote:
>>>>
>>>> This is automated email and please do not reply to this email!
>>>>
>>>> Dear submitter,
>>>>
>>>> Thank you for submitting the patches to the linux bluetooth mailing list.
>>>> This is a CI test results with your patch series:
>>>> PW Link:https://patchwork.kernel.org/series/1201470/
>>>>
>>>> ---Test result---
>>>>
>>>> Test Summary:
>>>> CheckPatch                    PASS      8.55 seconds
>>>> GitLint                       PASS      4.70 seconds
>>>> BuildEll                      PASS      23.33 seconds
>>>> BluezMake                     PASS      197.66 seconds
>>>> MakeCheck                     PASS      13.22 seconds
>>>> MakeDistcheck                 PASS      105.32 seconds
>>>> CheckValgrind                 PASS      164.16 seconds
>>>> CheckSmatch                   PASS      173.53 seconds
>>>> bluezmakeextell               PASS      69.20 seconds
>>>> TestFunctional                PASS      885.71 seconds
>>>> IncrementalBuild              PASS      250.73 seconds
>>>> ScanBuild                     PASS      687.43 seconds
>>>>
>>>>
>>>>
>>>> https://github.com/bluez/bluez/pull/2760
>>>>
>>>> ---
>>>> Regards,
>>>> Linux Bluetooth
>>>
>>> Copilot flagged a couple of problems:
>>> https://github.com/bluez/bluez/pull/2760#pullrequestreview-5775992507
>> Hi Luiz,
>>
>> The first three comments are valid. v2 will fix all three.
>>
>> I would also like to discuss comment 4, "Clear JPEG image capability
>> until photos are normalized."
>>
>> The Default Contact Image Format feature is mandatory for PBAP 1.2 and
>> requires PHOTO to contain a base64-encoded JPEG of at most 300x300
>> pixels and 50 kB.
>>
>> The three backends currently handle photos differently: Tracker uses the
>> photo URL directly, ebook passes through inline data or a URI, and dummy
>> forwards the PHOTO value from the vCard. This series only advertises the
>> feature bit and does not change these behaviors.
>>
>> I don't think obexd should perform remote network access, image
>> resizing, or transcoding, as that would add unrelated networking and
>> image-processing dependencies.
>>
>> Without those, I see three options:
>>
>> Keep the existing behavior and only advertise bit 9.
>> Validate inline PHOTO data and omit non-conformant or URI-based images.
>> Read local photo URIs, base64-encode JPEGs that meet the requirements,
>> and omit unsupported or non-conformant images.
>>
>> Do you have a preference for how this should be handled?
> 
> I don't have a particular preference, it just needs to be spec
> compliant and pass the PTS testing. If each backend uses a different
> format or method, perhaps we need to converge on one. That said, I
> don't think the Linux desktop cares too much about PBAP so perhaps
> this is just to exercise whether PBAP could be qualified? In that case
> I would just use the dummy format, or read it locally and then check
> if it meets the requirements.

The main purpose of these changes is to pass the PTS tests, as PBAP 
1.1.1 is scheduled to be deprecated on 2028-02-01. I'll update the 
implementation accordingly and send a v2.

> 


  reply	other threads:[~2026-11-10  2:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-04  8:34 [PATCH v1 00/18] obexd/pbap: Update PSE support from PBAP 1.1 to 1.2 Jinwang Li
2026-11-04  8:34 ` [PATCH v1 01/18] obexd/pbap: Fix crash counting vCards in dummy backend Jinwang Li
2026-11-04 16:55   ` obexd/pbap: Update PSE support from PBAP 1.1 to 1.2 bluez.test.bot
2026-11-05 15:37     ` Luiz Augusto von Dentz
2026-11-09  9:34       ` Jinwang Li
2026-11-09 14:31         ` Luiz Augusto von Dentz
2026-11-10  2:00           ` Jinwang Li [this message]
2026-11-04  8:34 ` [PATCH v1 02/18] obexd/pbap: Fix Tracker contact grouping across requests Jinwang Li
2026-11-04  8:34 ` [PATCH v1 03/18] obexd/pbap: Include directly bound Tracker telephone numbers Jinwang Li
2026-11-04  8:34 ` [PATCH v1 04/18] obexd/pbap: Reject PullvCardListing without Name in telecom folder Jinwang Li
2026-11-04  8:34 ` [PATCH v1 05/18] obexd/pbap: Fix unselected PHOTO in dummy responses Jinwang Li
2026-11-04  8:34 ` [PATCH v1 06/18] obexd/pbap: Refresh cache for each vCard listing Jinwang Li
2026-11-04  8:34 ` [PATCH v1 07/18] obexd/pbap: Limit NewMissedCalls to mch responses Jinwang Li
2026-11-04  8:34 ` [PATCH v1 08/18] obexd/pbap: Add NewMissedCalls to vCard listing responses Jinwang Li
2026-11-04  8:34 ` [PATCH v1 09/18] obexd/pbap: Separate vCard entry response handling Jinwang Li
2026-11-04  8:34 ` [PATCH v1 10/18] obexd: Parse application parameters in CONNECT request Jinwang Li
2026-11-04  8:34 ` [PATCH v1 11/18] obexd/pbap: Parse PbapSupportedFeatures in connect request Jinwang Li
2026-11-04  8:34 ` [PATCH v1 12/18] obexd/pbap: Add persistent database identifier Jinwang Li
2026-11-04  8:34 ` [PATCH v1 13/18] obexd/pbap: Include database identifier in responses Jinwang Li
2026-11-04  8:34 ` [PATCH v1 14/18] obexd/pbap: Add folder version counters Jinwang Li
2026-11-04  8:34 ` [PATCH v1 15/18] obexd/pbap: Include folder version counters in responses Jinwang Li
2026-11-04  8:34 ` [PATCH v1 16/18] obexd/pbap: Add vCardSelector support Jinwang Li
2026-11-04  8:34 ` [PATCH v1 17/18] obexd/pbap: Advertise Contact Image Default Format Jinwang Li
2026-11-04  8:34 ` [PATCH v1 18/18] obexd/pbap: Update SDP and PBAP version Jinwang Li
  -- strict thread matches above, loose matches on Subject: below --
2026-11-11  9:44 [PATCH BlueZ v2 01/20] obexd/pbap: Fix PRODID property name Jinwang Li
2026-11-11 12:15 ` obexd/pbap: Update PSE support from PBAP 1.1 to 1.2 bluez.test.bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=230bb084-a63a-451f-802b-aab0ed205d7e@oss.qualcomm.com \
    --to=jinwang.li@oss.qualcomm.com \
    --cc=cheng.jiang@oss.qualcomm.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox