From: Kevin Dewald <kevin@simpleble.org>
To: linux-bluetooth@vger.kernel.org
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
Kevin Dewald <kevin@simpleble.org>
Subject: [PATCH BlueZ 4/5] client: Print LE connection parameters in info
Date: Mon, 2 Nov 2026 23:27:48 -0800 [thread overview]
Message-ID: <20261103072749.50979-5-kevin@simpleble.org> (raw)
In-Reply-To: <20261103072749.50979-1-kevin@simpleble.org>
This prints the connection parameter properties of the LE bearer with
the likes of info command:
bluetoothctl> info <addr>
...
LE.Role: central
LE.Interval: 0x00007530 (30000)
LE.Latency: 0x0000 (0)
LE.SupervisionTimeout: 0x07d0 (2000)
LE.Subrate: 0x0001 (1)
Assisted-by: Claude:claude-opus-5.5
---
client/main.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/client/main.c b/client/main.c
index 01ed00073..1131c2ae3 100644
--- a/client/main.c
+++ b/client/main.c
@@ -2098,6 +2098,11 @@ static void cmd_info(int argc, char *argv[])
print_property_with_label(bearer, "Connectable",
"LE.Connectable");
print_property_with_label(bearer, "Role", "LE.Role");
+ print_property_with_label(bearer, "Interval", "LE.Interval");
+ print_property_with_label(bearer, "Latency", "LE.Latency");
+ print_property_with_label(bearer, "SupervisionTimeout",
+ "LE.SupervisionTimeout");
+ print_property_with_label(bearer, "Subrate", "LE.Subrate");
}
return bt_shell_noninteractive_quit(EXIT_SUCCESS);
--
2.54.0 (Apple Git-157)
next prev parent reply other threads:[~2026-11-03 7:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 7:27 [PATCH BlueZ 0/5] Add LE connection parameters to org.bluez.Bearer.LE1 Kevin Dewald
2026-11-03 7:27 ` [PATCH BlueZ 1/5] doc/mgmt: Document Connection Subrate for LE connections and updates Kevin Dewald
2026-11-03 8:56 ` Add LE connection parameters to org.bluez.Bearer.LE1 bluez.test.bot
2026-11-03 7:27 ` [PATCH BlueZ 2/5] org.bluez.Bearer: Add connection parameter properties Kevin Dewald
2026-11-03 7:27 ` [PATCH BlueZ 3/5] bearer: " Kevin Dewald
2026-11-03 7:27 ` Kevin Dewald [this message]
2026-11-03 7:27 ` [PATCH BlueZ 5/5] test: functional: add bearer connection parameter tests Kevin Dewald
2026-11-03 16:30 ` [PATCH BlueZ 0/5] Add LE connection parameters to org.bluez.Bearer.LE1 patchwork-bot+bluetooth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261103072749.50979-5-kevin@simpleble.org \
--to=kevin@simpleble.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox