Linux bluetooth development
 help / color / mirror / Atom feed
* [bluez/bluez] 671363: hog: Fix starting encryption on some BLE remotes
@ 2026-06-08 11:29 Šimon Mikuda
  0 siblings, 0 replies; only message in thread
From: Šimon Mikuda @ 2026-06-08 11:29 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1107612
  Home:   https://github.com/bluez/bluez
  Commit: 671363a7c1e274bcbe475da9290f886a12229d61
      https://github.com/bluez/bluez/commit/671363a7c1e274bcbe475da9290f886a12229d61
  Author: Simon Mikuda <simon.mikuda@streamunlimited.com>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M profiles/input/hog.c

  Log Message:
  -----------
  hog: Fix starting encryption on some BLE remotes

When BLE remote doesn't reply with Insufficient Authentication Error
encryption is not started.

Good remote:
< ACL Data TX: Handle 64 flags 0x00 dlen 7
      ATT: Read Request (0x0a) len 2
        Handle: 0x0021 Type: HID Information (0x2a4a)
> ACL Data RX: Handle 64 flags 0x02 dlen 9
      ATT: Error Response (0x01) len 4
        Read Request (0x0a)
        Handle: 0x0000
        Error: Insufficient Authentication (0x05)
< HCI Command: LE Start Encryption (0x08|0x0019) plen 28
        Handle: 64 Address: xx:xx:xx:xx:xx:xx (OUI xx-xx-xx)
        Random number: ...
        Encrypted diversifier: ...
        Long term key: ...

Bad remote:
< ACL Data TX: Handle 64 flags 0x00 dlen 7
      ATT: Read Request (0x0a) len 2
        Handle: 0x001e Type: HID Information (0x2a4a)
> ACL Data RX: Handle 64 flags 0x02 dlen 9
      ATT: Read Response (0x0b) len 4



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-06-08 11:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-08 11:29 [bluez/bluez] 671363: hog: Fix starting encryption on some BLE remotes Šimon Mikuda

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