All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bluez 0/2] shared/gatt-client: Fix init when Service Changed lacks Indicate
@ 2026-11-12 17:40 ` Marian Poltak via B4 Relay
  0 siblings, 0 replies; 7+ messages in thread
From: Marian Poltak @ 2026-11-12 17:40 UTC (permalink / raw)
  To: Linux Bluetooth

Some devices, e.g. the Aqara Presence Sensor P2 in Matter commissioning
mode, declare the Service Changed characteristic as Read | Notify only.
The client initialization then fails because indications are requested
explicitly, so no services are exported although ServicesResolved is
set.

Patch 1 requests indications only when the characteristic supports
them. Patch 2 adds unit tests for both cases.

---
Marian Poltak (2):
      shared/gatt-client: Fix init when Service Changed lacks Indicate
      unit/test-gatt: Add Service Changed registration tests

 src/shared/gatt-client.c | 15 ++++++++++++++-
 unit/test-gatt.c         | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+), 1 deletion(-)
---
base-commit: 9659adb6819d7e0284d0d2ba226a3894423d8db4
change-id: 20261112-svc-chngd-notify-only-f1d1d99d3f34

Best regards,
-- 
Marian Poltak <marianpoltak@gmail.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-13  3:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 17:40 [PATCH bluez 0/2] shared/gatt-client: Fix init when Service Changed lacks Indicate Marian Poltak
2026-11-12 17:40 ` Marian Poltak via B4 Relay
2026-11-12 17:40 ` [PATCH bluez 1/2] " Marian Poltak
2026-11-12 17:40   ` Marian Poltak via B4 Relay
2026-11-13  3:52   ` bluez.test.bot
2026-11-12 17:40 ` [PATCH bluez 2/2] unit/test-gatt: Add Service Changed registration tests Marian Poltak
2026-11-12 17:40   ` Marian Poltak via B4 Relay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.