Commit: a979a33c820f798020e368edaf7c1062405b9d47
Parent: dbd6591bd1d02ace39debd8a67c75b3cbe9c4d66
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-12-10 17:19:01
Tree: 8f73cd785a2784fa3caed4cf81e924e806458f27

monitor: Allow caching of temporary gatt_db This fixes the problem of not being able to decode GATT traffic when reading the traces from a file/offline, the gatt_db would be discarded upon the first disconnection so it didn't work if the trace contains multiple connections. To fix this btmon would remember gatt_db discovered at runtime so even when there multiple connections the same db would be used.

Diffstat

M monitor/att.c | 61 ++++++++++++++++++++++++++++++++++++++++- - - - -
M monitor/packet.c | 2 +-
M monitor/packet.h | 2 +-

3 files changed, 58 insertions(+), 7 deletions(-)

View Full Diff | Patch