mbox series

[BlueZ,v2,0/4] Enhance GATT to pass PTS tests

Message ID 20240123143151.541787-1-frederic.danis@collabora.com (mailing list archive)
Headers show
Series Enhance GATT to pass PTS tests | expand

Message

Frédéric Danis Jan. 23, 2024, 2:31 p.m. UTC
The first patch 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

Frédéric Danis (4):
  gatt: Prevent security level change for PTS GATT tests
  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(-)