Unable to send PBAP(PCE) pull request with specific parameters from obexctl tool
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.
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.
Is there any tool/fix to pass above testcases?
Bluez version: 5.65
Thanks,
Amisha
Luiz Augusto von Dentz
maintainerHi Amisha,
Quoted 13 lines · Amisha Jain (QUIC)
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_2ANDTSPC_PBAP_2_4) ANDTSPC_PBAP_1_1) ORTSPC_ALLUser prompt:
Send a PullvCardListing request with MaxListCount = 0 for phonebook pb
Quoted 8 lines
Results:
Failed to receive the Get operation with correct parameters for x-bt/vcard-listingExpectation:
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:
So we will likely need to change that if you intend to use obexctl to perform this test.
Quoted 9 lines
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_2ANDTSPC_PBAP_2_4) ANDTSPC_PBAP_1_1) ORTSPC_ALLUser prompt:
Send a PullvCardEntry request which filter for Name (N) and Telephone (TEL)
Quoted 8 lines
Results:
Failed to receive the Get operation with correct parameters for x-bt/vcardExpectation:
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:
Quoted 3 lines
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.
Quoted 3 lines
Thanks,
Amisha
Signature · 1 line
Luiz Augusto von Dentz