linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Frédéric Danis" <frederic.danis@collabora.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v3 0/5] Enhance GATT to pass PTS tests
Date: Thu, 25 Jan 2024 20:08:00 +0100	[thread overview]
Message-ID: <20240125190805.1244787-1-frederic.danis@collabora.com> (raw)

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(-)

-- 
2.34.1


             reply	other threads:[~2024-01-25 19:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-25 19:08 Frédéric Danis [this message]
2024-01-25 19:08 ` [PATCH BlueZ v3 1/5] shared/gatt: Prevent security level change for PTS GATT tests Frédéric Danis
2024-01-25 21:13   ` Enhance GATT to pass PTS tests bluez.test.bot
2024-01-25 19:08 ` [PATCH BlueZ v3 2/5] btgatt-client: Add command to prevent security level change Frédéric Danis
2024-01-25 19:08 ` [PATCH BlueZ v3 3/5] btgatt-client: Add function to search service based on UUID Frédéric Danis
2024-01-25 19:08 ` [PATCH BlueZ v3 4/5] btgatt-client: Add function to search characteristics Frédéric Danis
2024-01-25 19:08 ` [PATCH BlueZ v3 5/5] btgatt-client: Add function to search all primary services Frédéric Danis
2024-01-25 22:20 ` [PATCH BlueZ v3 0/5] Enhance GATT to pass PTS tests patchwork-bot+bluetooth

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=20240125190805.1244787-1-frederic.danis@collabora.com \
    --to=frederic.danis@collabora.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).