Parent: 4de95f9fbedce881f68db548cb666a01a94bdf11
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-06-10 20:27:17
Tree: fba090fb097d04b4a2467507611de768d1875fc8
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
| M | doc/mesh-api.txt | | | 3 | +++ |
| M | mesh/mesh.c | | | 10 | +++++++++- |
| M | mesh/node.c | | | 21 | +++++++++++++++++++++ |
| M | mesh/node.h | | | 1 | + |
| M | test/test-mesh | | | 2 | - - |
5 files changed, 34 insertions(+), 3 deletions(-)