summaryrefslogtreecommitdiff
path: root/mesh/error.h
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2020-06-10 10:11:18 -0700
committerBrian Gix <brian.gix@intel.com>2020-06-10 10:27:17 -0700
commite5179f9fe59765606e7c806dccab2753e3297c1b (patch)
tree2c04928b61612b4a39c712565aa8f55e6afe3e92 /mesh/error.h
parent29ab37c76aa7a393b4052e172e626e6ab17de445 (diff)
downloadbluez-e5179f9fe59765606e7c806dccab2753e3297c1b.tar.gz
mesh: Make "Busy" and "InProgress" to be distinct errors
This separates "Busy" and "InProgress" error codes: MESH_ERROR_IN_PROGRESS maps to org.bluez.mesh.Error.InProgress MESH_ERROR_BUSY maps to org.bluez.mesh.Error.Busy Minor API change: UpdateAppKey() returns "InProgress" error instead of "Busy"
Diffstat (limited to 'mesh/error.h')
-rw-r--r--mesh/error.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesh/error.h b/mesh/error.h
index f3e0f5476..2809915b0 100644
--- a/mesh/error.h
+++ b/mesh/error.h
@@ -27,6 +27,7 @@ enum mesh_error {
MESH_ERROR_NOT_AUTHORIZED,
MESH_ERROR_NOT_FOUND,
MESH_ERROR_INVALID_ARGS,
+ MESH_ERROR_IN_PROGRESS,
MESH_ERROR_BUSY,
MESH_ERROR_ALREADY_EXISTS,
MESH_ERROR_DOES_NOT_EXIST,