From 008057775d98ed23ea717539e77c5c2fe29b8743 Mon Sep 17 00:00:00 2001 From: Alain Michaud Date: Thu, 23 Apr 2020 14:23:05 +0000 Subject: [PATCH] doc/adapter-api: Add Roles property 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. --- doc/adapter-api.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt index acae032d9..1a7255750 100644 --- a/doc/adapter-api.txt +++ b/doc/adapter-api.txt @@ -326,3 +326,11 @@ 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. -- 2.47.3