From: Bastien Nocera Date: Wed, 23 Feb 2022 09:00:59 +0000 (+0100) Subject: adapter-api: Document per-client discovery sessions X-Git-Tag: accepted/tizen/unified/20230608.164325~352 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c64e398cf64487be880351a0421e4b9fa41abdf0;p=platform%2Fupstream%2Fbluez.git adapter-api: Document per-client discovery sessions The fact that each client can start its own discovery wasn't clear from the documentation and only becomes obvious when reading the sources. Signed-off-by: Manika Shrivastava Signed-off-by: Ayush Garg --- diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt index 552a97c..811ff49 100755 --- a/doc/adapter-api.txt +++ b/doc/adapter-api.txt @@ -21,6 +21,9 @@ Methods void StartDiscovery() During discovery RSSI delta-threshold is imposed. + Each client can request a single device discovery session + per adapter. + Possible errors: org.bluez.Error.NotReady org.bluez.Error.Failed org.bluez.Error.InProgress @@ -32,7 +35,8 @@ Methods void StartDiscovery() Note that a discovery procedure is shared between all discovery sessions thus calling StopDiscovery will only - release a single session. + release a single session and discovery will stop when + all sessions from all clients have finished. Possible errors: org.bluez.Error.NotReady org.bluez.Error.Failed