Add supported features to advertising dbus api.
Reviewed-by: Miao-chen Chou <redacted>
---
Changes in v3:
- Rebased onto master
Changes in v2:
- Doc: Expect empty SupportedFeatures if no support available
doc/advertising-api.txt | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/doc/advertising-api.txt b/doc/advertising-api.txt
index 541c57004..ba9eacaae 100644
--- a/doc/advertising-api.txt
+++ b/doc/advertising-api.txt
@@ -235,6 +235,7 @@ Properties byte ActiveInstances
"2M"
"Coded"
+
dict SupportedCapabilities [Experimental]
Enumerates Advertising-related controller capabilities
@@ -257,3 +258,22 @@ Properties byte ActiveInstances
int16 MaxTxPower
Max advertising tx power (dBm)
+
+
+ array{string} SupportedFeatures [readonly, optional]
+
+ List of supported platform features. If no features
+ are available on the platform, the SupportedFeatures
+ array will be empty.
+
+ Possible values: "CanSetTxPower"
+
+ Indicates whether platform can
+ specify tx power on each
+ advertising instance.
+
+ "HardwareOffload"
+
+ Indicates whether multiple
+ advertising will be offloaded
+ to the controller.--
2.30.1.766.gb4fecdf3b7-goog