public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] e9f2c8: shared/mcp: emit MCS error if value changes during...
@ 2026-01-13 22:42 Pauli Virtanen
  0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2026-01-13 22:42 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: e9f2c8fdc676e8d33ed1a3be144594ebdfb620de
      https://github.com/bluez/bluez/commit/e9f2c8fdc676e8d33ed1a3be144594ebdfb620de
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-01-13 (Tue, 13 Jan 2026)

  Changed paths:
    M src/shared/mcp.c

  Log Message:
  -----------
  shared/mcp: emit MCS error if value changes during long read

MCS spec requires emitting Value Changed During Read Long if value
changes between remote reading with zero offset and nonzero offset.

This is session-specific state, so add support for that.

As server, track value changes and emit that error properly.

As client, we don't need to reread if this error occurs, as there should
be a notification or track changed that queues a new read.


  Commit: 4ce4b5d679ab62bc6361207c67007e9e6df22779
      https://github.com/bluez/bluez/commit/4ce4b5d679ab62bc6361207c67007e9e6df22779
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-01-13 (Tue, 13 Jan 2026)

  Changed paths:
    M src/shared/mcp.c
    M src/shared/mcp.h
    M unit/test-mcp.c

  Log Message:
  -----------
  test-mcp: add tests for long value reading

Add server tests for handling the Value Changed During Read Long error.

Add similar client tests.


Compare: https://github.com/bluez/bluez/compare/a94f994201a6...4ce4b5d679ab

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-13 22:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 22:42 [bluez/bluez] e9f2c8: shared/mcp: emit MCS error if value changes during Pauli Virtanen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox