Thread (8 messages) 8 messages, 3 authors, 2021-08-19

Re: [RFC 1/3] adapter-api: Add Experimental property

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-08-19 14:57:46

Hi Luiz,
quoted hunk ↗ jump to hunk
This adds Experimental property which indicates what experimental
features are currently enabled.
---
doc/adapter-api.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index 464434a81..13e904425 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -335,3 +335,8 @@ Properties	string Address [readonly]
				"peripheral": Supports the peripheral role.
				"central-peripheral": Supports both roles
						      concurrently.
+
+		array{string} Experimental [readonly, optional]
+
+			List of 128-bit UUIDs that represents the experimental
+			features currently enabled.
I wonder if this is the best name.

Do we care about just the enabled experimental features or the overall supported experimental features as well. And please keep in mind that we also have per-adapter vs global experimental features. So we should distinguish here as well.

We also need to document that this property is only available if bluetoothd is started with -E and otherwise this property is omitted.

My proposal would be to at least name it ExperimentalSupport or ExperimentalFeatures to give us a path to nicely extend it if needed.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help