[bluez/bluez] 6e3059: shared/gatt-client: Use parent debug_callback if n...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 6e3059ae8cac28b8eefd6e55b47a6e39278d6410
      https://github.com/bluez/bluez/commit/6e3059ae8cac28b8eefd6e55b47a6e39278d6410
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

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

  Log Message:
  -----------
  shared/gatt-client: Use parent debug_callback if not set on clone

If clone don't have a dedicated callback set use its parent so users of
bt_gatt_client_clone don't have to keep setting the same callback for
all clone instances.


  Commit: fde32ff9c9c0ab531767c4539cd0b5da3aec289b
      https://github.com/bluez/bluez/commit/fde32ff9c9c0ab531767c4539cd0b5da3aec289b
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

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

  Log Message:
  -----------
  shared/gatt-client: Allow registering with NULL callback

This makes bt_gatt_client_register_notify allow registering with NULL
callback which is interpreted as the CCC write has already been
performed therefore it won't be written again.


  Commit: 47b6cfeee3335c2d8a25876537071b30630abf4b
      https://github.com/bluez/bluez/commit/47b6cfeee3335c2d8a25876537071b30630abf4b
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

  Changed paths:
    M Makefile.am
    M attrib/gattrib.c
    M attrib/gattrib.h

  Log Message:
  -----------
  attrib: Introduce g_attrib_attach_client

This introduces g_attrib_attach_client which can be used to attach a
bt_gatt_client instance to GAttr so it can be used to register
notifications.


  Commit: 2f4c576ad24324e13ae6522f0799fce23e1ef0bd
      https://github.com/bluez/bluez/commit/2f4c576ad24324e13ae6522f0799fce23e1ef0bd
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

  Changed paths:
    M profiles/input/hog-lib.c
    M src/device.c

  Log Message:
  -----------
  hog-lib: Fix not handling BT_ATT_OP_HANDLE_NFY_MULT

This is a temporary fix for not handling BT_ATT_OP_HANDLE_NFY_MULT in
GAttr so the code will use g_attrib_attach_client to attach the
bt_gatt_client instance which is then used to register notifications
including those sent with BT_ATT_OP_HANDLE_NFY_MULT.

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


  Commit: c18e3bf92e048e44cbeb36846fe26a300dcc6be6
      https://github.com/bluez/bluez/commit/c18e3bf92e048e44cbeb36846fe26a300dcc6be6
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

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

  Log Message:
  -----------
  shared/gatt-client: Fix smatch warnings

This fixes the following warnings:

shared/gatt-client.c:2764:33: warning: Variable length array is used.
shared/gatt-client.c:2994:23: warning: Variable length array is used.
shared/gatt-client.c:3075:23: warning: Variable length array is used.
shared/gatt-client.c:3514:23: warning: Variable length array is used.


Compare: https://github.com/bluez/bluez/compare/4e2ae14ea311...c18e3bf92e04



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux