Skip to content

client/btpclient: Add GAP extended advertising support

Frédéric Danis linux-bluetooth 1 version Applied

Status from this message: This series was applied to bluetooth/bluez.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3client/btpclient: refactor read-commands bitmap buildingclient/btpclient/bap.c client/btpclient/btpclient.c client/btpclient/btpclient.h +3 more+139 -451 reply
2/3client/btpclient: Replace advertising defines by shared onesclient/btpclient/gap.c+17 -270 replies
3/3client/btpclient: Add BTP_OP_GAP_SET_EXTENDED_ADVERTISING supportclient/btpclient/gap.c src/shared/btp.h+73 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ 0/3] client/btpclient: Add GAP extended advertising support

The BTP_OP_GAP_SET_EXTENDED_ADVERTISING command is used by at least the BAP/USR/DISC/BV-01-C test.

Since this opcode is defined as 0x21 (33), it does not fit into the current fixed-size command bitmap. This series refactors the way btpclient reports supported auto-PTS commands so it can grow the bitmap dynamically as needed.

The series also switches GAP advertising data handling to the advertising type definitions already provided by src/shared/ad.h.

Frédéric Danis (3):
client/btpclient: refactor read-commands bitmap building client/btpclient: Replace advertising defines by shared ones client/btpclient: Add BTP_OP_GAP_SET_EXTENDED_ADVERTISING support

 client/btpclient/bap.c       |  27 ++++--
 client/btpclient/btpclient.c |  25 +++++
 client/btpclient/btpclient.h |   5 +
 client/btpclient/core.c      |  29 ++++--
 client/btpclient/gap.c       | 171 +++++++++++++++++++++++++----------
 client/btpclient/gatt.c      |  39 +++++---
 src/shared/btp.h             |   7 ++
 7 files changed, 229 insertions(+), 74 deletions(-)
Signature · 1 line
2.43.0