Skip to content

Initial code for BTP client

Szymon Janc linux-bluetooth 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 of 10 patches 1 replyIn review
  2. v19 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- adapter index is simply mapped to queue length
- added support for reseting (removing all bonding) adapter
- fixes for issues reported by valgrind

9 of 10 patches are in this archive. The cover letter announces 10.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10shared/btp: Add initial code for librarysrc/shared/btp.c src/shared/btp.h+478 -00 replies
2/10tools/btpclient: Add initial code.gitignore Makefile.tools configure.ac +1 more+358 -00 replies
3/10shared/btp: Add definitions for GAP servicesrc/shared/btp.h+225 -00 replies
4/10tools/btpclient: Add initial support for GAP servicetools/btpclient.c+116 -00 replies
5/10tools/btpclient: Add initial support for read controller info commandtools/btpclient.c+61 -00 replies
6/10tools/btpclient: Get initial values for adapter setttingstools/btpclient.c+46 -00 replies
7/10tools/btpclient: Add support for tracking mutable adapter settingstools/btpclient.c+81 -20 replies
8/10tools/btpclient: Add support for configuring adapter settingstools/btpclient.c+139 -00 replies
9/10tools/btpclient: Store devices per adaptertools/btpclient.c+45 -90 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH V2 00/10] Initial code for BTP client

Hi,

Changes in V2:
- adapter index is simply mapped to queue length
- added support for reseting (removing all bonding) adapter
- fixes for issues reported by valgrind

Cover letter from V1:
This adds initial code for BTP client. BTP stands for Bluetooth Tester Protocol and aims at automated testing of BT stack. BTP is binary protocol and is already implemented in Zephyr Project. This adds similar client to BlueZ tree. BTP specification is available at [1].

Notable thing about this serie is that it doesn't use glib, gdbus or utils from src/shared folder. Instead it makes use of Embedded Linux Library which is available at [2].

Comments are welcome.

BR
Szymon Janc

[1] https://github.com/zephyrproject-rtos/zephyr/blob/master/tests/bluetooth/tester/btp_spec.txt
[2] https://git.kernel.org/pub/scm/libs/ell/ell.git/

Szymon Janc (10):
shared/btp: Add initial code for library
tools/btpclient: Add initial code
shared/btp: Add definitions for GAP service tools/btpclient: Add initial support for GAP service tools/btpclient: Add initial support for read controller info command tools/btpclient: Get initial values for adapter setttings tools/btpclient: Add support for tracking mutable adapter settings tools/btpclient: Add support for configuring adapter settings tools/btpclient: Store devices per adapter tools/btpclient: Add support for reseting adapter

 .gitignore        |   1 +
 Makefile.tools    |   8 +
 configure.ac      |  11 +
 src/shared/btp.c  | 383 +++++++++++++++++++++++
 src/shared/btp.h  | 320 ++++++++++++++++++++
 tools/btpclient.c | 884 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 1607 insertions(+)
 create mode 100644 src/shared/btp.c
 create mode 100644 src/shared/btp.h
 create mode 100644 tools/btpclient.c
Signature · 1 line
2.14.3