[bluez/bluez] a05d0a: mgmt: Add Security Level Changed event

fdanis-oss <[email protected]>
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <bluez/bluez/push/refs/heads/1149110/[email protected]>
  Branch: refs/heads/1149110
  Home:   https://github.com/bluez/bluez
  Commit: a05d0a3ee5086abe0489b69192b586fa94080f2d
      https://github.com/bluez/bluez/commit/a05d0a3ee5086abe0489b69192b586fa94080f2d
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    M doc/mgmt-protocol.rst
    M lib/bluetooth/mgmt.h

  Log Message:
  -----------
  mgmt: Add Security Level Changed event

This provides a TLV list of values related to the security level of
the connection to a remote device.

Currently Security Level and Encryption type are implemented.


  Commit: 73446f96026595c4fd118122ec9196af37ed8fe8
      https://github.com/bluez/bluez/commit/73446f96026595c4fd118122ec9196af37ed8fe8
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    M tools/mgmt-tester.c

  Log Message:
  -----------
  mgmt-tester: Add Security Level Changed event tests

Test that MGMT_EV_SECURITY_LEVEL_CHANGED is correctly received during
BREDR and LE secured connection.

Assisted-by: GPT:GPT-5.3-Codex


  Commit: 41bddf9081365e4f7f1233e1b4b3c222fe37e337
      https://github.com/bluez/bluez/commit/41bddf9081365e4f7f1233e1b4b3c222fe37e337
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    M monitor/packet.c

  Log Message:
  -----------
  monitor: Add support for Mgmt Security Level changed event

@ MGMT Event: Security Level Changed (0x0034) plen 16
        BR/EDR Address: 00:AA:01:01:00:00 (Intel Corporation)
        Count: 2
        Security Level: No security (0x00000000)
        Encryption Type: No encryption (0x00000000)


  Commit: 35add0164705497fba2743028cd04afa2d6408c4
      https://github.com/bluez/bluez/commit/35add0164705497fba2743028cd04afa2d6408c4
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    M src/adapter.c
    M src/device.c
    M src/device.h

  Log Message:
  -----------
  device: Add SecurityLevel properties to org.bluez.Device1

This uses the new MGMT_EV_SECURITY_LEVEL_CHANGED event.

It will be used by btpclient to reduce test time.


  Commit: 8e3446ee8835ff701f5aec1c441c9eeee81ac0d8
      https://github.com/bluez/bluez/commit/8e3446ee8835ff701f5aec1c441c9eeee81ac0d8
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    M doc/org.bluez.Device.rst

  Log Message:
  -----------
  org.bluez.Device: Add Security Level related properties

This adds the SecurityLevel and EncryptionType properties which can be
used by clients to get the security level and encryption type in use
for a connection.


  Commit: ce7f2a5277e5b7cd7f1a3469ea6291d8aacbc391
      https://github.com/bluez/bluez/commit/ce7f2a5277e5b7cd7f1a3469ea6291d8aacbc391
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-20 (Thu, 20 Aug 2026)

  Changed paths:
    M client/main.c

  Log Message:
  -----------
  client: Display SecurityLevel in device info


Compare: https://github.com/bluez/bluez/compare/a05d0a3ee508%5E...ce7f2a5277e5

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.