mbox series

[BlueZ,0/9] gatt-db fix + btgatt-client features

Message ID 20230323103835.571037-1-simon.mikuda@streamunlimited.com
Headers show
Series gatt-db fix + btgatt-client features | expand

Message

Simon Mikuda March 23, 2023, 10:38 a.m. UTC
Hello!

We're doing PTS testing in company and I've made some fix for gatt-db.

Also I've extended btgatt-client utility so that we can use it more
efficiently:
- connect+disconnect commands
- don't wait for discovery - you can read, write attributes immediately.
- use bt_shell - you'll have commands history in that way
- you can use: bytes <value> <count> to generate long inputs

Also we've added:
- read by type command (needed for some PTS test cases)

Best regards.

Simon Mikuda (9):
  gatt-db: Fix crash during calculating hash from ATT handles
  btgatt-client: Add option to connect to ATT over BR/EDR
  btgatt-client: Don't wait for discovery on read/write commands
  btgatt-client: Rewrite to use bt_shell
  btgatt-client: Implement disconnect and connect commands
  btgatt-client: Implement read by type
  btgatt-client: Implement common read bytes procedure
  btgatt-client: Add 'bytes <value> <count>' option
  btgatt-client: Implement filter service by start handle

 Makefile.tools        |    2 +-
 src/shared/gatt-db.c  |   13 +-
 src/shared/shell.h    |    1 +
 tools/btgatt-client.c | 1436 ++++++++++++++++++-----------------------
 4 files changed, 644 insertions(+), 808 deletions(-)