From: Bastien Nocera <hadess@hadess.net>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ v7 4/6] adapter-api: Add PowerState property documentation
Date: Thu, 1 Sep 2022 13:07:17 +0200 [thread overview]
Message-ID: <20220901110719.176944-4-hadess@hadess.net> (raw)
In-Reply-To: <20220901110719.176944-1-hadess@hadess.net>
---
doc/adapter-api.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index 48466ab75..9b2721c1b 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -269,6 +269,21 @@ Properties string Address [readonly]
restart or unplugging of the adapter it will reset
back to false.
+ string PowerState [readonly, experimental]
+
+ The power state of an adapter.
+
+ The power state will show whether the adapter is
+ turning off, or turning on, as well as being on
+ or off.
+
+ Possible values:
+ "on" - powered on
+ "off" - powered off
+ "off-enabling" - transitioning from "off" to "on"
+ "on-disabling" - transitioning from "on" to "off"
+ "off-blocked" - blocked by rfkill
+
boolean Discoverable [readwrite]
Switch an adapter to discoverable or non-discoverable
--
2.37.2
next prev parent reply other threads:[~2022-09-01 11:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 11:07 [PATCH BlueZ v7 1/6] adapter: Keep track of whether the adapter is rfkill'ed Bastien Nocera
2022-09-01 11:07 ` [PATCH BlueZ v7 2/6] adapter: Implement PowerState property Bastien Nocera
2022-09-01 11:07 ` [PATCH BlueZ v7 3/6] client: Print the " Bastien Nocera
2022-09-01 11:07 ` Bastien Nocera [this message]
2022-09-01 11:07 ` [PATCH BlueZ v7 5/6] adapter: Fix typo in function name Bastien Nocera
2022-09-01 11:07 ` [PATCH BlueZ v7 6/6] adapter: Remove experimental flag for PowerState Bastien Nocera
2022-11-13 15:54 ` Jonas Dreßler
2022-11-14 23:35 ` Luiz Augusto von Dentz
2022-11-17 14:18 ` Bastien Nocera
2022-09-01 12:18 ` [BlueZ,v7,1/6] adapter: Keep track of whether the adapter is rfkill'ed bluez.test.bot
2022-09-01 18:50 ` [PATCH BlueZ v7 1/6] " patchwork-bot+bluetooth
2022-09-01 20:10 ` Bastien Nocera
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=20220901110719.176944-4-hadess@hadess.net \
--to=hadess@hadess.net \
--cc=linux-bluetooth@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.