mesh: Make "Busy" and "InProgress" to be distinct errors
authorInga Stotland <inga.stotland@intel.com>
Wed, 10 Jun 2020 17:11:18 +0000 (10:11 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Fri, 18 Dec 2020 05:40:30 +0000 (11:10 +0530)
commite78c0cb892566afdc564de244d74c50abe7f8301
tree2e34297863561e10a04edb9a10ff46c716ca9d99
parente6807bd0347bb5cc1fa54f24ae32ba7f8251fd1c
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"

Change-Id: I4d30be4542e6f8c5130dab24a056f6a94877da5c
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
doc/mesh-api.txt
mesh/dbus.c
mesh/error.h
mesh/manager.c