mbox series

[BlueZ,v2,00/12] emulator: Initial Broacast Receiver

Message ID 20220305012229.853784-1-luiz.dentz@gmail.com
Headers show
Series emulator: Initial Broacast Receiver | expand

Message

Luiz Augusto von Dentz March 5, 2022, 1:22 a.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This implements the necessary commands to be able to emulate a Broadcast
Receiver:

BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNC
BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNC_CANCEL
BT_HCI_CMD_LE_PERIODIC_ADV_TERM_SYNC
BT_HCI_EVT_LE_PER_SYNC_ESTABLISHED
BT_HCI_CMD_LE_BIG_CREATE_SYNC
BT_HCI_CMD_LE_BIG_TERM_SYNC

v2: Adds support for BT_H4_ISO_PKT to bthost.

Luiz Augusto von Dentz (12):
  monitor: Fix Create BIG PDU
  btdev: Implement BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNC
  btdev: Implement BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNC_CANCEL
  btdev: Implement BT_HCI_CMD_LE_PERIODIC_ADV_TERM_SYNC
  btdev: Send BT_HCI_EVT_LE_PER_SYNC_ESTABLISHED when scan is initiated
  btdev: Send BT_HCI_EVT_LE_PER_SYNC_ESTABLISHED if remote start pa
  monitor: Rename Periodic Advertising terms to PA/pa
  btdev: Implements BT_HCI_CMD_LE_BIG_CREATE_SYNC
  btdev: Implements BT_HCI_CMD_LE_BIG_TERM_SYNC
  bthost: Add support for BT_H4_ISO_PKT
  bthost: Add support for Periodic Advertising
  bthost: Add support for Create BIG

 emulator/btdev.c  | 455 +++++++++++++++++++++++++++++++++++++++-------
 emulator/bthost.c | 392 ++++++++++++++++++++++++++++++++++-----
 emulator/bthost.h |  14 ++
 emulator/hciemu.c |   1 +
 monitor/bt.h      |  93 +++++-----
 monitor/packet.c  | 113 ++++++------
 6 files changed, 862 insertions(+), 206 deletions(-)

Comments

Luiz Augusto von Dentz March 8, 2022, 7:25 p.m. UTC | #1
Hi,

On Fri, Mar 4, 2022 at 5:22 PM Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
>
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> This implements the necessary commands to be able to emulate a Broadcast
> Receiver:
>
> BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNC
> BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNC_CANCEL
> BT_HCI_CMD_LE_PERIODIC_ADV_TERM_SYNC
> BT_HCI_EVT_LE_PER_SYNC_ESTABLISHED
> BT_HCI_CMD_LE_BIG_CREATE_SYNC
> BT_HCI_CMD_LE_BIG_TERM_SYNC
>
> v2: Adds support for BT_H4_ISO_PKT to bthost.
>
> Luiz Augusto von Dentz (12):
>   monitor: Fix Create BIG PDU
>   btdev: Implement BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNC
>   btdev: Implement BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNC_CANCEL
>   btdev: Implement BT_HCI_CMD_LE_PERIODIC_ADV_TERM_SYNC
>   btdev: Send BT_HCI_EVT_LE_PER_SYNC_ESTABLISHED when scan is initiated
>   btdev: Send BT_HCI_EVT_LE_PER_SYNC_ESTABLISHED if remote start pa
>   monitor: Rename Periodic Advertising terms to PA/pa
>   btdev: Implements BT_HCI_CMD_LE_BIG_CREATE_SYNC
>   btdev: Implements BT_HCI_CMD_LE_BIG_TERM_SYNC
>   bthost: Add support for BT_H4_ISO_PKT
>   bthost: Add support for Periodic Advertising
>   bthost: Add support for Create BIG
>
>  emulator/btdev.c  | 455 +++++++++++++++++++++++++++++++++++++++-------
>  emulator/bthost.c | 392 ++++++++++++++++++++++++++++++++++-----
>  emulator/bthost.h |  14 ++
>  emulator/hciemu.c |   1 +
>  monitor/bt.h      |  93 +++++-----
>  monitor/packet.c  | 113 ++++++------
>  6 files changed, 862 insertions(+), 206 deletions(-)
>
> --
> 2.35.1
>

Pushed.