[bluez/bluez] 2cfa33: mgmt: Add Security Level Changed event

fdanis-oss <[email protected]>
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <bluez/bluez/push/refs/heads/1149033/[email protected]>
  Branch: refs/heads/1149033
  Home:   https://github.com/bluez/bluez
  Commit: 2cfa331b41fb1488993b90e77f133be48f088f3a
      https://github.com/bluez/bluez/commit/2cfa331b41fb1488993b90e77f133be48f088f3a
  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: 748645f56595e6d5ba65250bc305c38cd9f2147e
      https://github.com/bluez/bluez/commit/748645f56595e6d5ba65250bc305c38cd9f2147e
  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: 30e6a91fad2e004b0c702fff88489ca0ec3278ed
      https://github.com/bluez/bluez/commit/30e6a91fad2e004b0c702fff88489ca0ec3278ed
  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: 4587e291ed8831f3789113d5e787a8bf517402e2
      https://github.com/bluez/bluez/commit/4587e291ed8831f3789113d5e787a8bf517402e2
  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: 7ecdc6def676ee1873db5e92d33a58730d409666
      https://github.com/bluez/bluez/commit/7ecdc6def676ee1873db5e92d33a58730d409666
  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: 0e5f562720b3be4d5e860c85416208c5bc1d8a28
      https://github.com/bluez/bluez/commit/0e5f562720b3be4d5e860c85416208c5bc1d8a28
  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/2cfa331b41fb%5E...0e5f562720b3

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.