[bluez/bluez] 13d214: device: Reset svc_resolved on device_discover_serv...

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

 



  Branch: refs/heads/954076
  Home:   https://github.com/bluez/bluez
  Commit: 13d214c19f71e47a30cfd77c4a868e6fab683ebd
      https://github.com/bluez/bluez/commit/13d214c19f71e47a30cfd77c4a868e6fab683ebd
  Author: Frédéric Danis <frederic.danis@xxxxxxxxxxxxx>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M src/device.c

  Log Message:
  -----------
  device: Reset svc_resolved on device_discover_services() request

This allows profiles requesting to re-retrieve the services records
(SDP or GATT) to be called back once the services are completed using
device_wait_for_svc_complete().


  Commit: c2e574bf2f97482df99435ae9bf34a1b7932693c
      https://github.com/bluez/bluez/commit/c2e574bf2f97482df99435ae9bf34a1b7932693c
  Author: Frédéric Danis <frederic.danis@xxxxxxxxxxxxx>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M profiles/input/device.c

  Log Message:
  -----------
  input: device: Browse SDP records if not cached

For a HID paired device, if the cache file containing the SDP records
is not present this will prevent the device to connect and need to
remove it and pair again.

Current bluetoothd traces:
src/shared/mgmt.c:can_read_data() [0x0000] event 0x000b
src/adapter.c:connected_callback() hci0 device EC:83:50:76:BD:67
  connected eir_len 31
src/shared/mgmt.c:can_read_data() [0x0000] event 0x0006
profiles/input/server.c:connect_event_cb() Incoming connection from
  EC:83:50:76:BD:67 on PSM 17
profiles/input/device.c:input_device_set_channel() idev 0x5580c6a331b0
  psm 17
profiles/input/server.c:confirm_event_cb()
profiles/input/server.c:connect_event_cb() Incoming connection from
  EC:83:50:76:BD:67 on PSM 19
profiles/input/device.c:input_device_set_channel() idev 0x5580c6a331b0
  psm 19
profiles/input/device.c:hidp_add_connection() Could not parse HID SDP
  record: No such file or directory (2)
profiles/input/device.c:ctrl_watch_cb() Device EC:83:50:76:BD:67
  disconnected
profiles/input/device.c:intr_watch_cb() Device EC:83:50:76:BD:67
  disconnected

This commit tries to retrieve the SDP record from the remote HID then
to add the HIDP connection.


Compare: https://github.com/bluez/bluez/compare/13d214c19f71%5E...c2e574bf2f97

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