2022-12-19 21:08:51

by fdanis-oss

[permalink] [raw]
Subject: [bluez/bluez] b91d92: shared/gatt-db: Add gatt_db_attribute_get_service

Branch: refs/heads/master
Home: https://github.com/bluez/bluez
Commit: b91d9213d951277896845830d0680061c7643828
https://github.com/bluez/bluez/commit/b91d9213d951277896845830d0680061c7643828
Author: Luiz Augusto von Dentz <[email protected]>
Date: 2022-12-16 (Fri, 16 Dec 2022)

Changed paths:
M src/shared/gatt-db.c
M src/shared/gatt-db.h

Log Message:
-----------
shared/gatt-db: Add gatt_db_attribute_get_service

This adds gatt_db_attribute_get_service which can be used to get the
service which the given attribute belongs to.


Commit: da203f5dbc7edaa15b55d1efcea3fda5e43cfc2e
https://github.com/bluez/bluez/commit/da203f5dbc7edaa15b55d1efcea3fda5e43cfc2e
Author: Luiz Augusto von Dentz <[email protected]>
Date: 2022-12-16 (Fri, 16 Dec 2022)

Changed paths:
M src/shared/gatt-client.c

Log Message:
-----------
shared/gatt-client: Fix not removing pending services

If there are no characteristics to discover, or for some reason
bt_gatt_discover_descriptors is skiped, or the last attribute is
actually a included service the service should be removed from
pending list as there will be no more attributes to be discovered.

Fixes: https://github.com/bluez/bluez/issues/438


Compare: https://github.com/bluez/bluez/compare/1270afa5aa1c...da203f5dbc7e