Linux bluetooth development
 help / color / mirror / Atom feed
From: Naga Bhavani Akella <naga.akella@oss.qualcomm.com>
To: linux-bluetooth@vger.kernel.org
Cc: luiz.dentz@gmail.com, quic_mohamull@quicinc.com,
	quic_hbandi@quicinc.com, quic_anubhavg@quicinc.com,
	Naga Bhavani Akella <naga.akella@oss.qualcomm.com>
Subject: [PATCH BlueZ v1 0/5] Add D-Bus and bluetoothctl support for Channel Sounding control
Date: Mon,  6 Jul 2026 21:45:58 +0530	[thread overview]
Message-ID: <20260706161603.2744459-1-naga.akella@oss.qualcomm.com> (raw)

This series adds user-facing control and configuration support for
Bluetooth LE Channel Sounding (CS) through a new D-Bus interface and
bluetoothctl integration.

The RAP profile is extended to expose an
org.bluez.ChannelSounding1 interface, allowing external applications
to configure default Channel Sounding settings and start or stop
measurement procedures. CS configuration, frequency, and default
settings are moved from hardcoded values into shared parameter
structures and accessor APIs, enabling runtime configuration from the
D-Bus layer.

To make the new functionality accessible from the command line,
bluetoothctl gains a dedicated "cs" submenu for configuring parameters,
starting and stopping measurements, and monitoring active sessions.

The series also ensures the Channel Sounding interface is available on
reflector devices by registering relevant GATT profiles even when GATT
client discovery is skipped, and updates the D-Bus documentation with
usage examples and bluetoothctl references.

Patch summary:
  1. rap: Add Channel Sounding parameter types and APIs
  2. profiles: Add D-Bus Channel Sounding control API
  3. src: Register GATT profiles for Channel Sounding reflector
  4. doc/org.bluez.ChannelSounding1: Add Used by reference and examples
  5. client: Add Channel Sounding shell submenu

This enables end-to-end Channel Sounding control through both D-Bus
clients and bluetoothctl while keeping measurement state synchronized
with controller procedure status


Naga Bhavani Akella (5):
  rap: Add Channel Sounding parameter types and APIs
  src: Register GATT profiles for Channel Sounding reflector
  doc/org.bluez.ChannelSounding1: Add Used by reference and Examples
  profiles: Add D-Bus Channel Sounding control API
  client: Add Channel Sounding shell submenu

 Makefile.am                        |   2 +-
 Makefile.tools                     |   3 +-
 client/cs.c                        | 981 +++++++++++++++++++++++++++++
 client/cs.h                        |  18 +
 client/main.c                      |  73 ++-
 doc/bluetoothctl-cs.rst            | 278 ++++++++
 doc/org.bluez.ChannelSounding1.rst | 302 +++++++++
 profiles/ranging/rap.c             | 405 +++++++++++-
 profiles/ranging/rap_hci.c         | 454 +++++++++----
 src/device.c                       |  28 +-
 src/shared/cs-types.h              |  55 ++
 src/shared/rap.h                   |  47 +-
 12 files changed, 2478 insertions(+), 168 deletions(-)
 create mode 100644 client/cs.c
 create mode 100644 client/cs.h
 create mode 100644 doc/bluetoothctl-cs.rst
 create mode 100644 doc/org.bluez.ChannelSounding1.rst
 create mode 100644 src/shared/cs-types.h

-- 


             reply	other threads:[~2026-07-06 16:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-06 16:15 Naga Bhavani Akella [this message]
2026-07-06 16:15 ` [PATCH BlueZ v1 1/5] rap: Add Channel Sounding parameter types and APIs Naga Bhavani Akella
2026-07-06 17:05   ` Add D-Bus and bluetoothctl support for Channel Sounding control bluez.test.bot
2026-07-06 16:16 ` [PATCH BlueZ v1 2/5] src: Register GATT profiles for Channel Sounding reflector Naga Bhavani Akella
2026-07-06 16:16 ` [PATCH BlueZ v1 3/5] doc/org.bluez.ChannelSounding1: Add Used by reference and Examples Naga Bhavani Akella
2026-07-06 20:36   ` Luiz Augusto von Dentz
2026-07-07  7:34     ` Naga Bhavani Akella
2026-07-07 14:43       ` Luiz Augusto von Dentz
2026-07-08  8:52         ` Naga Bhavani Akella
2026-07-08 13:47           ` Luiz Augusto von Dentz
2026-07-06 16:16 ` [PATCH BlueZ v1 4/5] profiles: Add D-Bus Channel Sounding control API Naga Bhavani Akella
2026-07-06 16:16 ` [PATCH BlueZ v1 5/5] client: Add Channel Sounding shell submenu Naga Bhavani Akella

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=20260706161603.2744459-1-naga.akella@oss.qualcomm.com \
    --to=naga.akella@oss.qualcomm.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=quic_anubhavg@quicinc.com \
    --cc=quic_hbandi@quicinc.com \
    --cc=quic_mohamull@quicinc.com \
    /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