summaryrefslogtreecommitdiff
path: root/mesh/model.h
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2019-08-11 23:25:58 -0700
committerBrian Gix <brian.gix@intel.com>2019-08-12 12:49:34 -0400
commitfb5c57bccb302ebaf17a0fbf5944b358968082ef (patch)
treef9fe8d6d73813758f1df0576f1c7d4fe6d62abd0 /mesh/model.h
parentb94453eb2d57f8bf0f99734743720208d0be3015 (diff)
downloadbluez-fb5c57bccb302ebaf17a0fbf5944b358968082ef.tar.gz
mesh: Move commonly used constants into mesh-defs.h
This consolidates definitions of commonly used constant values into a single header file. The constant values are based on mesh specification, plus a few internal utility constants (masks, etc.) Also, removes redundant redefinition maximum message length.
Diffstat (limited to 'mesh/model.h')
-rw-r--r--mesh/model.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/mesh/model.h b/mesh/model.h
index fa031f598..f30ca2e38 100644
--- a/mesh/model.h
+++ b/mesh/model.h
@@ -26,27 +26,6 @@ struct mesh_model;
#define VIRTUAL_BASE 0x10000
-#define MESH_MAX_ACCESS_PAYLOAD 380
-
-#define MESH_STATUS_SUCCESS 0x00
-#define MESH_STATUS_INVALID_ADDRESS 0x01
-#define MESH_STATUS_INVALID_MODEL 0x02
-#define MESH_STATUS_INVALID_APPKEY 0x03
-#define MESH_STATUS_INVALID_NETKEY 0x04
-#define MESH_STATUS_INSUFF_RESOURCES 0x05
-#define MESH_STATUS_IDX_ALREADY_STORED 0x06
-#define MESH_STATUS_INVALID_PUB_PARAM 0x07
-#define MESH_STATUS_NOT_SUB_MOD 0x08
-#define MESH_STATUS_STORAGE_FAIL 0x09
-#define MESH_STATUS_FEATURE_NO_SUPPORT 0x0a
-#define MESH_STATUS_CANNOT_UPDATE 0x0b
-#define MESH_STATUS_CANNOT_REMOVE 0x0c
-#define MESH_STATUS_CANNOT_BIND 0x0d
-#define MESH_STATUS_UNABLE_CHANGE_STATE 0x0e
-#define MESH_STATUS_CANNOT_SET 0x0f
-#define MESH_STATUS_UNSPECIFIED_ERROR 0x10
-#define MESH_STATUS_INVALID_BINDING 0x11
-
#define OP_MODEL_TEST 0x8000fffe
#define OP_MODEL_INVALID 0x8000ffff