public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/1] tools: Add raw advertising data support to BlueZ
@ 2025-10-10 13:55 Adrian Dudau
  2025-10-10 13:55 ` [PATCH v3 1/1] " Adrian Dudau
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Dudau @ 2025-10-10 13:55 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, mihai-octavian.urzica, andrei.istodorescu,
	Adrian Dudau

This patch introduces support for storing and exposing raw advertising
data from Bluetooth Low Energy devices through D-Bus properties and
internal APIs.

Key changes:
- Add raw_data fields to eir_data and bt_ad structures
- Implement bt_ad_set_raw_data(), bt_ad_clear_raw_data(),
  bt_ad_has_raw_data(), and bt_ad_get_raw_data() APIs
- Expose RawAdvertisingData D-Bus property on device objects
- Store raw advertising data during EIR parsing
- Update BTP client to include raw advertising data in device found events

The RawAdvertisingData property is marked with G_DBUS_PROPERTY_FLAG_TESTING
for debugging and protocol testing purposes. This enables applications to
access complete raw advertising packet contents for custom parsing,
compliance testing, and troubleshooting scenarios.

The raw data format follows the Extended Inquiry Response Data Format
as described in BLUETOOTH CORE SPECIFICATION Version 6.1 | Vol 3, Part C.

Adrian Dudau (1):
  tools: Add raw advertising data support to BlueZ

 src/adapter.c     |  5 +++++
 src/device.c      | 57 +++++++++++++++++++++++++++++++++++++++++++++++
 src/device.h      |  2 ++
 src/eir.c         |  7 ++++++
 src/eir.h         |  3 +++
 src/shared/ad.c   | 50 +++++++++++++++++++++++++++++++++++++++++
 src/shared/ad.h   |  8 +++++++
 tools/btpclient.c | 56 ++++++++++++++++++++++++++++++++++++++++++----
 8 files changed, 184 insertions(+), 4 deletions(-)


base-commit: 4be24398f9ef510e4904e7190688fc2c02f3a583
-- 
2.45.2


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

end of thread, other threads:[~2025-10-17 15:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-10 13:55 [PATCH v3 0/1] tools: Add raw advertising data support to BlueZ Adrian Dudau
2025-10-10 13:55 ` [PATCH v3 1/1] " Adrian Dudau
2025-10-10 15:31   ` bluez.test.bot
2025-10-17 15:53   ` [PATCH v3 1/1] " Luiz Augusto von Dentz

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