public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/1] client: add bluetoothctl broadcast-name helper
@ 2026-03-13 10:18 raghava447
  2026-03-13 10:18 ` [PATCH BlueZ 1/1] client: add advertise " raghava447
  0 siblings, 1 reply; 3+ messages in thread
From: raghava447 @ 2026-03-13 10:18 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: raghava447

This patch adds a bluetoothctl advertise helper for BLE Audio
Broadcast Name staging.

The new `broadcast-name <string>` command stages the provided string
through the existing raw advertising Data field using AD type 0x30.

This patch:
- reuses the existing advertisement staging/update flow
- supports multi-word names
- makes sure that the empty input is rejected
- adds the relevant bluetoothctl advertise documentation describing the
  new command.

Testing:
- built client/bluetoothctl
- verified AD type 0x30 staging
- verified multi-word names
- verified empty-string rejection
- verified coexistence with `data 0x30 ...`


raghava447 (1):
  client: add advertise broadcast-name helper

 client/advertising.c           | 52 ++++++++++++++++++++++++++++++++++
 client/advertising.h           |  1 +
 client/main.c                  |  7 +++++
 doc/bluetoothctl-advertise.rst | 18 ++++++++++++
 4 files changed, 78 insertions(+)

-- 
2.52.0


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

end of thread, other threads:[~2026-03-13 11:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-13 10:18 [PATCH BlueZ 0/1] client: add bluetoothctl broadcast-name helper raghava447
2026-03-13 10:18 ` [PATCH BlueZ 1/1] client: add advertise " raghava447
2026-03-13 11:17   ` client: add bluetoothctl " 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