[bluez/bluez] c0fb6c: client: Add command wake

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

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: c0fb6c067e48e1c867d2447a275253bea4d7ec40
      https://github.com/bluez/bluez/commit/c0fb6c067e48e1c867d2447a275253bea4d7ec40
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M client/main.c

  Log Message:
  -----------
  client: Add command wake

This adds command wake which can be used to set WakeAllowed property:

[bluetoothctl]> wake XX:XX:XX:XX:XX:XX off
[bluetoothctl]> Changing wake off succeeded
[bluetoothctl]> [CHG] Device XX:XX:XX:XX:XX:XX WakeAllowed: no
[bluetoothctl]> wake XX:XX:XX:XX:XX:XX on
[bluetoothctl]> Changing wake on succeeded
[bluetoothctl]> [CHG] Device XX:XX:XX:XX:XX:XX WakeAllowed: yes
[bluetoothctl]> wake XX:XX:XX:XX:XX:XX


  Commit: dfb1ffdc95a00bc06d81a75c11ab5ad2e24d37bf
      https://github.com/bluez/bluez/commit/dfb1ffdc95a00bc06d81a75c11ab5ad2e24d37bf
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M src/device.c

  Log Message:
  -----------
  device: Fix not being able to set WakeAllowed

Setting WakeAllowed was not working as intended since
device_set_wake_override was changing the current_flags which
btd_device_flags_changed checks to determine if flags has been changed
to only then call device_set_wake_allowed_complete.

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


Compare: https://github.com/bluez/bluez/compare/c2caa26a4d62...dfb1ffdc95a0

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




[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