public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v2 0/5] Add Bluetooth Ranging Service (RAS) support
@ 2026-01-27  7:47 Prathibha Madugonde
  2026-01-27  7:47 ` [PATCH BlueZ v2 1/5] lib/uuid: Add RAS service and characteristic UUIDs Prathibha Madugonde
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Prathibha Madugonde @ 2026-01-27  7:47 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg

The series must be applied as a whole, as later patches depend on
infrastructure introduced by earlier ones. It includes UUID definitions,
monitor support, the GATT server/client implementation, and unit tests.

The Ranging Profile is marked as experimental and requires the D-Bus
experimental flag to be enabled.

Changes in v2:
- src/shared/rap.h: Remove unnecessary include of 
  "src/shared/gatt-client.h" to fix build error caused by redundant 
  redeclarations.

Patch overview:
  1/5 lib/uuid: Add RAS service and characteristic UUIDs
  2/5 monitor: Add ATT monitor decoding for Ranging Service (RAS)
  3/5 src/shared: Implement Bluetooth RAP GATT server and client
  4/5 unit: Add unit tests for Ranging Profile (RAP)
  5/5 profiles: Add experimental Ranging Profile (RAP) support


 Makefile.am            |  10 +-
 Makefile.plugins       |   3 +
 lib/bluetooth/uuid.h   |   8 +
 monitor/att.c          | 447 ++++++++++++++++++++-
 profiles/ranging/rap.c | 333 ++++++++++++++++
 src/shared/rap.c       | 874 +++++++++++++++++++++++++++++++++++++++++
 src/shared/rap.h       |  45 +++
 src/shared/util.c      |   9 +-
 unit/test-rap.c        | 458 +++++++++++++++++++++
 9 files changed, 2184 insertions(+), 3 deletions(-)
 create mode 100644 profiles/ranging/rap.c
 create mode 100644 src/shared/rap.c
 create mode 100644 src/shared/rap.h
 create mode 100644 unit/test-rap.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH BlueZ v4 1/5] lib/uuid: Add RAS service and characteristic UUIDs
@ 2026-01-27 15:54 Prathibha Madugonde
  2026-01-27 16:34 ` Add Bluetooth Ranging Service (RAS) support bluez.test.bot
  0 siblings, 1 reply; 10+ messages in thread
From: Prathibha Madugonde @ 2026-01-27 15:54 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg

---
 lib/bluetooth/uuid.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/bluetooth/uuid.h b/lib/bluetooth/uuid.h
index 74bd83742..bd3fdd486 100644
--- a/lib/bluetooth/uuid.h
+++ b/lib/bluetooth/uuid.h
@@ -50,6 +50,14 @@ extern "C" {
 #define BATTERY_UUID		"0000180f-0000-1000-8000-00805f9b34fb"
 #define SCAN_PARAMETERS_UUID	"00001813-0000-1000-8000-00805f9b34fb"
 
+#define RAS_UUID	    "0000185b-0000-1000-8000-00805f9b34fb"
+#define RAS_FEATURES_UUID               0x2C14
+#define RAS_REALTIME_DATA_UUID          0x2C15
+#define RAS_ONDEMAND_DATA_UUID          0x2C16
+#define RAS_CONTROL_POINT_UUID          0x2C17
+#define RAS_DATA_READY_UUID             0x2C18
+#define RAS_DATA_OVERWRITTEN_UUID       0x2C19
+
 #define SAP_UUID		"0000112D-0000-1000-8000-00805f9b34fb"
 
 #define HEART_RATE_UUID			"0000180d-0000-1000-8000-00805f9b34fb"
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH BlueZ v3 1/5] lib/uuid: Add RAS service and characteristic UUIDs
@ 2026-01-27 10:03 Prathibha Madugonde
  2026-01-27 10:22 ` Add Bluetooth Ranging Service (RAS) support bluez.test.bot
  0 siblings, 1 reply; 10+ messages in thread
From: Prathibha Madugonde @ 2026-01-27 10:03 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg

---
 lib/bluetooth/uuid.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/bluetooth/uuid.h b/lib/bluetooth/uuid.h
index 74bd83742..bd3fdd486 100644
--- a/lib/bluetooth/uuid.h
+++ b/lib/bluetooth/uuid.h
@@ -50,6 +50,14 @@ extern "C" {
 #define BATTERY_UUID		"0000180f-0000-1000-8000-00805f9b34fb"
 #define SCAN_PARAMETERS_UUID	"00001813-0000-1000-8000-00805f9b34fb"
 
+#define RAS_UUID	    "0000185b-0000-1000-8000-00805f9b34fb"
+#define RAS_FEATURES_UUID               0x2C14
+#define RAS_REALTIME_DATA_UUID          0x2C15
+#define RAS_ONDEMAND_DATA_UUID          0x2C16
+#define RAS_CONTROL_POINT_UUID          0x2C17
+#define RAS_DATA_READY_UUID             0x2C18
+#define RAS_DATA_OVERWRITTEN_UUID       0x2C19
+
 #define SAP_UUID		"0000112D-0000-1000-8000-00805f9b34fb"
 
 #define HEART_RATE_UUID			"0000180d-0000-1000-8000-00805f9b34fb"
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH BlueZ v1 1/5] lib/uuid: Add RAS service and  characteristic UUIDs
@ 2026-01-27  6:47 Prathibha Madugonde
  2026-01-27  7:04 ` Add Bluetooth Ranging Service (RAS) support bluez.test.bot
  0 siblings, 1 reply; 10+ messages in thread
From: Prathibha Madugonde @ 2026-01-27  6:47 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: luiz.dentz, quic_mohamull, quic_hbandi, quic_anubhavg

---
 lib/bluetooth/uuid.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/bluetooth/uuid.h b/lib/bluetooth/uuid.h
index 74bd83742..bd3fdd486 100644
--- a/lib/bluetooth/uuid.h
+++ b/lib/bluetooth/uuid.h
@@ -50,6 +50,14 @@ extern "C" {
 #define BATTERY_UUID		"0000180f-0000-1000-8000-00805f9b34fb"
 #define SCAN_PARAMETERS_UUID	"00001813-0000-1000-8000-00805f9b34fb"
 
+#define RAS_UUID	    "0000185b-0000-1000-8000-00805f9b34fb"
+#define RAS_FEATURES_UUID               0x2C14
+#define RAS_REALTIME_DATA_UUID          0x2C15
+#define RAS_ONDEMAND_DATA_UUID          0x2C16
+#define RAS_CONTROL_POINT_UUID          0x2C17
+#define RAS_DATA_READY_UUID             0x2C18
+#define RAS_DATA_OVERWRITTEN_UUID       0x2C19
+
 #define SAP_UUID		"0000112D-0000-1000-8000-00805f9b34fb"
 
 #define HEART_RATE_UUID			"0000180d-0000-1000-8000-00805f9b34fb"
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-01-27 16:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27  7:47 [PATCH BlueZ v2 0/5] Add Bluetooth Ranging Service (RAS) support Prathibha Madugonde
2026-01-27  7:47 ` [PATCH BlueZ v2 1/5] lib/uuid: Add RAS service and characteristic UUIDs Prathibha Madugonde
2026-01-27  7:54   ` Add Bluetooth Ranging Service (RAS) support bluez.test.bot
2026-01-27  7:47 ` [PATCH BlueZ v2 2/5] monitor: Add support for Ranging Service (RAS) Prathibha Madugonde
2026-01-27  7:47 ` [PATCH BlueZ v2 3/5] Implement the Bluetooth Ranging Profile GATT server and client support as specified by the Bluetooth SIG: Prathibha Madugonde
2026-01-27  7:47 ` [PATCH BlueZ v2 4/5] unit: Add test cases for Ranging Profile (RAP) Prathibha Madugonde
2026-01-27  7:47 ` [PATCH BlueZ v2 5/5] profiles: Add Ranging Profile (RAP) implementation Prathibha Madugonde
  -- strict thread matches above, loose matches on Subject: below --
2026-01-27 15:54 [PATCH BlueZ v4 1/5] lib/uuid: Add RAS service and characteristic UUIDs Prathibha Madugonde
2026-01-27 16:34 ` Add Bluetooth Ranging Service (RAS) support bluez.test.bot
2026-01-27 10:03 [PATCH BlueZ v3 1/5] lib/uuid: Add RAS service and characteristic UUIDs Prathibha Madugonde
2026-01-27 10:22 ` Add Bluetooth Ranging Service (RAS) support bluez.test.bot
2026-01-27  6:47 [PATCH BlueZ v1 1/5] lib/uuid: Add RAS service and characteristic UUIDs Prathibha Madugonde
2026-01-27  7:04 ` Add Bluetooth Ranging Service (RAS) support bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox