mbox series

[Bluez,0/2] Fix descriptor display issue in btmon

Message ID 20240403110549.75516-1-howardchung@google.com
Headers show
Series Fix descriptor display issue in btmon | expand

Message

Yun-hao Chung April 3, 2024, 11:05 a.m. UTC
Hi Maintainers, we found that in some cases the new feature regarding
displaying the characterisitc of the descriptor could be wrong. It turns
out it is because there is an assumption (please see the 2nd commit) in
the gatt-db usage but not being properly maintained in monitor/att.c.
These patches are aimming to fix the issue. I'd be happy to send you the
btsnoop log but not sure what's the best way for you to send it to you.
Thanks.


Howard Chung (2):
  shared/gatt: Rename some gatt insert functions to append
  shared/gatt: Add descriptor insert function

 monitor/att.c            |   2 +-
 src/gatt-database.c      |   4 +-
 src/settings.c           |   4 +-
 src/shared/gatt-client.c |   8 +--
 src/shared/gatt-db.c     | 102 ++++++++++++++++++++++++++++++++-------
 src/shared/gatt-db.h     |  19 ++++++--
 unit/test-gatt.c         |   4 +-
 7 files changed, 109 insertions(+), 34 deletions(-)