diff options
author | Inga Stotland <inga.stotland@intel.com> | 2020-06-10 10:11:21 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2020-06-10 10:27:17 -0700 |
commit | 7bcb1086ab310f414a9bfe78b17f5a4429d1375c (patch) | |
tree | fba090fb097d04b4a2467507611de768d1875fc8 /test | |
parent | 4de95f9fbedce881f68db548cb666a01a94bdf11 (diff) | |
download | bluez-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 'test')
-rwxr-xr-x | test/test-mesh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test-mesh b/test/test-mesh index 38f0c0a74..7c8a25482 100755 --- a/test/test-mesh +++ b/test/test-mesh @@ -412,8 +412,6 @@ class Application(dbus.service.Object): token = value have_token = True - if attached == False: - attach(token) @dbus.service.method(MESH_APPLICATION_IFACE, in_signature="s", out_signature="") |