summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2020-06-10 10:11:21 -0700
committerBrian Gix <brian.gix@intel.com>2020-06-10 10:27:17 -0700
commit7bcb1086ab310f414a9bfe78b17f5a4429d1375c (patch)
treefba090fb097d04b4a2467507611de768d1875fc8 /doc
parent4de95f9fbedce881f68db548cb666a01a94bdf11 (diff)
downloadbluez-7bcb1086ab310f414a9bfe78b17f5a4429d1375c.tar.gz
mesh: Add "node is busy" check for Leave() & Attach()
This introduces the following behavior change for those methods on Network interface that specify node token as an input parameter Leave() method: If Leave method is called for a node that is being processed as a result of a Create, Import, Join or Attach method calls in progress, node removal is not allowed and org.bluez.mesh.Error.Busy error is returned. Attach() method: If Attach method is called for a node that is being processed as a result of a Create, Import or Join method calls in progress, node attachment is not allowed and org.bluez.mesh.Error.Busy error is returned.
Diffstat (limited to 'doc')
-rw-r--r--doc/mesh-api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt
index e85f0bf52..4bef6174c 100644
--- a/doc/mesh-api.txt
+++ b/doc/mesh-api.txt
@@ -116,6 +116,7 @@ Methods:
org.bluez.mesh.Error.InvalidArguments
org.bluez.mesh.Error.NotFound,
org.bluez.mesh.Error.AlreadyExists,
+ org.bluez.mesh.Error.Busy,
org.bluez.mesh.Error.Failed
void Leave(uint64 token)
@@ -126,6 +127,8 @@ Methods:
PossibleErrors:
org.bluez.mesh.Error.InvalidArguments
+ org.bluez.mesh.Error.NotFound
+ org.bluez.mesh.Error.Busy
void CreateNetwork(object app_root, array{byte}[16] uuid)