Re: Query on Periodic Advertising

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Damodar,

On Tue, Jul 8, 2025 at 11:21 AM Damodar Reddy GangiReddy (QUIC)
<quic_dgangire@xxxxxxxxxxx> wrote:
>
> Hi Luiz ,
>
> I am reaching out to you to check about the Periodic Advertising in bluez. I am seeing below in emulator folder but there is no document available in Doc folder about the periodic advertising.
> //hci->commands[37] |= 0x04;   /* LE Set Periodic Advertising Parameters */
>     //hci->commands[37] |= 0x08;    /* LE Set Periodic Advertising Data */
>     //hci->commands[37] |= 0x10;    /* LE Set Periodic Advertising Enable */
>     //hci->commands[37] |= 0x20;    /* LE Set Extended Scan Parameters */
>     //hci->commands[37] |= 0x40;    /* LE Set Extended Scan Enable */
>     //hci->commands[37] |= 0x80;    /* LE Extended Create Connection */
>     //hci->commands[38] |= 0x01;    /* LE Periodic Advertising Create Sync */
>     //hci->commands[38] |= 0x02;    /* LE Periodic Advertising Create Sync Cancel */
>     //hci->commands[38] |= 0x04;    /* LE Periodic Advertising Terminate Sync */
>     //hci->commands[38] |= 0x08;    /* LE Add Device To Periodic Advertiser List */
>     //hci->commands[38] |= 0x10;    /* LE Remove Device From Periodic Advertiser List */
>     //hci->commands[38] |= 0x20;    /* LE Clear Periodic Advertiser List */
>     //hci->commands[38] |= 0x40;    /* LE Read Periodic Advertiser List Size */

Yeah, we use those commands with the broadcast test cases under iso-tester.

>
>
> In AOSP Stack , Android has provided SDK APIS to enable Periodic Advertising but in the latest bluez version there is no option in bluetoothctl to enable Periodic Advertising.
> Is there any plan to provide APIS in bluez version ?
> Is Periodic advertising part of experimental features ?
> Kind Regards,
> Damodar.

Currently we only use PA with LE Audio Broadcast, so there is no
dedicated API for PA alone, broadcast is enabled via experimental
flags, you can find more information in pipewire regarding the
main.conf options for LE Audio:

https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/LE-Audio-+-LC3-support

If you need PA for something other than Broadcast let us know, we
might need to extend our MGMT APIs to allow usage of that.

-- 
Luiz Augusto von Dentz





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux