org.bluez.LEAdvertisement: Add broadcast name support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | doc/org.bluez.LEAdvertisement: Add broadcast namedoc/ | +7 | 2 replies | |
| 2/2 | advertising: Add broadcast name property supportsrc/ src/ | +47 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH BlueZ 0/2] org.bluez.LEAdvertisement: Add broadcast name support
From: Alexander Sarmanow (Televic) <[email protected]>
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(+)
Signature · 1 line
2.30.2