The first patch allow to prevent automatic security level change to allow to the security error when running GATT/CL/GAR/BI-04-C using btgatt-client. The other patches add commands to be able to call GATT discovery functions from btgatt-client and get their results. Frédéric Danis (5): gatt: Prevent security level change for PTS GATT tests btgatt-client: Add function to search service based on UUID btgatt-client: Add function to search characteristics btgatt-client: Add function to search descriptors btgatt-client: Add function to search all primary services src/shared/att.c | 14 ++ src/shared/att.h | 1 + src/shared/gatt-client.c | 9 ++ src/shared/gatt-client.h | 2 + tools/btgatt-client.c | 296 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 322 insertions(+) -- 2.34.1