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

fdanis-oss <[email protected]>
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <bluez/bluez/push/refs/heads/1149614/[email protected]>
  Branch: refs/heads/1149614
  Home:   https://github.com/bluez/bluez
  Commit: b7fdfbfda5ff74baf6865679cb0886290fb808fb
      https://github.com/bluez/bluez/commit/b7fdfbfda5ff74baf6865679cb0886290fb808fb
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-21 (Fri, 21 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: b37d0ea6ea07e39fe4ae0b134d5f2697e6aa6a8e
      https://github.com/bluez/bluez/commit/b37d0ea6ea07e39fe4ae0b134d5f2697e6aa6a8e
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-21 (Fri, 21 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: 8c3ca2066ae4adda9084c53c078c12513aefab85
      https://github.com/bluez/bluez/commit/8c3ca2066ae4adda9084c53c078c12513aefab85
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-21 (Fri, 21 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: a9bbcee669f075c71ffdd363b151348e43c5066b
      https://github.com/bluez/bluez/commit/a9bbcee669f075c71ffdd363b151348e43c5066b
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-21 (Fri, 21 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: 77d384e40acc8dbb7260111f42bc32d24e556306
      https://github.com/bluez/bluez/commit/77d384e40acc8dbb7260111f42bc32d24e556306
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-21 (Fri, 21 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: e3ef89048d52cdf780e7c1f9faf155af53a24b0e
      https://github.com/bluez/bluez/commit/e3ef89048d52cdf780e7c1f9faf155af53a24b0e
  Author: Frédéric Danis <[email protected]>
  Date:   2026-08-21 (Fri, 21 Aug 2026)

  Changed paths:
    M client/main.c

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


Compare: https://github.com/bluez/bluez/compare/b7fdfbfda5ff%5E...e3ef89048d52

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.