doc/adapter-api: Add Roles property
authorAlain Michaud <alainm@chromium.org>
Thu, 23 Apr 2020 14:23:05 +0000 (14:23 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
This change adds a new property to indicate the support for concurrent
roles which means that the controller has reported the appropriate
LE_Supported_States (hdev->le_states) and that the controller's driver
has reported correctly handling the various reported states.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
doc/adapter-api.txt

index ce6c4cb..5f608e3 100755 (executable)
@@ -486,6 +486,15 @@ Properties string Address [readonly]
 
                        Local Device ID information in modalias format
                        used by the kernel and udev.
+
+               array{string} Roles [readonly]
+
+                       List of supported roles. Possible values:
+                               "central": Supports the central role.
+                               "peripheral": Supports the peripheral role.
+                               "central-peripheral": Supports both roles
+                                                     concurrently.
+
 #ifdef TIZEN_FEATURE_BLUEZ_MODIFY
                boolean LEDiscovering [readonly]