All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/2] org.bluez.LEAdvertisement: Add broadcast name support
@ 2026-09-24 15:17 Alexander Sarmanow
  2026-09-24 15:17 ` [PATCH BlueZ 1/2] doc/org.bluez.LEAdvertisement: Add broadcast name Alexander Sarmanow
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexander Sarmanow @ 2026-09-24 15:17 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Alexander Sarmanow

From: Alexander Sarmanow (Televic) <as@discnull.de>

This series adds dedicated support for setting the broadcast name via DBus
to the org.bluez.LEAdvertisement object. Should make it easier for upper
layers to set this advertisement property.

The Public Broadcast Profile (PBP v1.0, see section 5.1.1) restricts the
string length to a minimum of 4 and a maximum of 32 characters. If the
provided name is shorter than the minimum, pasring returns an error.If it
exceeds the maximum, it is truncated, consistent with the behavior for the
local name.

The BroadcastName property will be parsed in any case, but only added to
the advertisement data in case it's of type broadcast.

Tested by setting a broadcast name via pipewire bluez spa plugin.

Alexander Sarmanow (2):
  doc/org.bluez.LEAdvertisement: Add broadcast name
  advertising: Add broadcast name property support

 doc/org.bluez.LEAdvertisement.rst |  7 +++++
 src/advertising.c                 | 44 +++++++++++++++++++++++++++++++
 src/shared/ad.h                   |  3 +++
 3 files changed, 54 insertions(+)

-- 
2.30.2


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

end of thread, other threads:[~2026-09-24 19:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-24 15:17 [PATCH BlueZ 0/2] org.bluez.LEAdvertisement: Add broadcast name support Alexander Sarmanow
2026-09-24 15:17 ` [PATCH BlueZ 1/2] doc/org.bluez.LEAdvertisement: Add broadcast name Alexander Sarmanow
2026-09-24 19:06   ` org.bluez.LEAdvertisement: Add broadcast name support bluez.test.bot
2026-09-24 15:17 ` [PATCH BlueZ 2/2] advertising: Add broadcast name property support Alexander Sarmanow
2026-09-24 15:44 ` [PATCH BlueZ 0/2] org.bluez.LEAdvertisement: Add broadcast name support Luiz Augusto von Dentz
2026-09-24 18:57   ` Alexander Sarmanow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.