Re: Unable to send PBAP(PCE) pull request with specific parameters from obexctl tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amisha,

On Thu, Oct 17, 2024 at 8:20 AM Amisha Jain (QUIC)
<quic_amisjain@xxxxxxxxxxx> wrote:
>
> Hi,
>
> We are trying to verify the below PTS testcases in PBAP Client profile, where DUT initiates the connection.
>
> 1. PBAP/PCE/PBB/BV-03-C   -   PBAB server(PTS) is expecting the PullvCardListing request with MaxListCount = 0 (can be variable).
>
>  Description : Verify that the PCE can obtain at any time Phone Book size information from the PSE.
>  ((TSPC_PBAP_2_2 AND TSPC_PBAP_2_4) AND TSPC_PBAP_1_1) OR TSPC_ALL
>
> User prompt:
> Send a PullvCardListing request with MaxListCount = 0  for phonebook pb
>
> Results:
> Failed to receive the Get operation with correct parameters for x-bt/vcard-listing
>
> Expectation:
> Pass verdict
> The IUT issues a PullvCardListing command with the MaxListCount header set to 0.
>
> Behavior : Bydefault MaxListCount value will be set to 65535 for every pull operation and we don't have the option in obexctl to modify the value, Hence testcase is failing.

Looks like we didn't add any option to command 'ls' to be able to set
the MaxCount filter:

https://github.com/bluez/bluez/blob/master/doc/org.bluez.obex.PhonebookAccess.rst#arraystring-vcard-string-name-listdict-filters

So we will likely need to change that if you intend to use obexctl to
perform this test.

>
> 2. PBAP/PCE/PBB/BV-05-C    -    PBAB server(PTS) is expecting the PullvCardEntry request with specific filters defined in Bluetooth spec.
>
> Description : Verify that the PCE can retrieve a Phone Book entry from a PSE using the PullvCardEntry function with a simple filter.
> ((TSPC_PBAP_2_2 AND TSPC_PBAP_2_4) AND TSPC_PBAP_1_1) OR TSPC_ALL
>
> User prompt:
> Send a PullvCardEntry request which filter for Name (N) and Telephone (TEL)
>
> Results:
> Failed to receive the Get operation with correct parameters for x-bt/vcard
>
> Expectation:
> Pass verdict
> The IUT receives the requested Phone Book entry. The received entry contains only the VERSION, N, TEL, and for vCard, 3.0 FN.
>
> Behavior : Bydefault no filters will be set for pull vcard operation and we don't have the option in obexctl to add filters in the pull request, Hence testcase is failing.

This would be performed with command 'cp' but like in the other test
obexctl don't have the ability to set any Filter for Pull or PullAll:

https://github.com/bluez/bluez/blob/master/doc/org.bluez.obex.PhonebookAccess.rst#object-dict-pullallstring-targetfile-dict-filters

>
> Is there any tool/fix to pass above testcases?
> Bluez version: 5.65

Hmm, why are you attempting to qualify such an old version? If we are
to add some support to setting those filters required for
qualification purposes they would have to be merged upstream first.

> Thanks,
> Amisha
>


-- 
Luiz Augusto von Dentz





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux