Skip to content

Enhance GATT to pass PTS tests

Frédéric Danis linux-bluetooth 3 versions – Applied

Status from this message: This series was applied to bluetooth/bluez.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyApplied
  2. v24 patches 2 repliesSuperseded
  3. v15 patches 4 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5shared/gatt: Prevent security level change for PTS GATT testssrc/shared/att.c src/shared/att.h src/shared/gatt-client.c +1 more+49 -01 reply
2/5btgatt-client: Add command to prevent security level changetools/btgatt-client.c+72 -120 replies
3/5btgatt-client: Add function to search service based on UUIDtools/btgatt-client.c+69 -00 replies
4/5btgatt-client: Add function to search characteristicstools/btgatt-client.c+82 -00 replies
5/5btgatt-client: Add function to search all primary servicestools/btgatt-client.c+23 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH BlueZ v3 0/5] Enhance GATT to pass PTS tests

The two first patches allow to prevent automatic security level change to allow to display the security error when running GATT/CL/GAR/BI-04-C using btgatt-client.

The other patches add commands to be able to call GATT discovery functions from btgatt-client and get their results.

v1 -> v2: Re-use att_send_op->retry and make it possible to prevent
security upgrade on a per operation basis
Remove "btgatt-client: Add function to search descriptors"
as GATT/CL/GAD/BV-06-C test is optional
Fix command arguments check in btgatt-client
v2 -> v3: Split first commit in two, one for src/shared and the other
for tools directories

Frédéric Danis (5):
shared/gatt: Prevent security level change for PTS GATT tests
btgatt-client: Add command to prevent security level change
btgatt-client: Add function to search service based on UUID
btgatt-client: Add function to search characteristics
btgatt-client: Add function to search all primary services

 src/shared/att.c         |  26 ++++
 src/shared/att.h         |   1 +
 src/shared/gatt-client.c |  19 +++
 src/shared/gatt-client.h |   3 +
 tools/btgatt-client.c    | 251 +++++++++++++++++++++++++++++++++++++--
 5 files changed, 288 insertions(+), 12 deletions(-)
Signature · 1 line
2.34.1