newtmgr; remove obsolete definitions.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/de697825 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/de697825 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/de697825 Branch: refs/heads/master Commit: de6978257cb90101e0b97854371bd4ab29bf6772 Parents: 524af89 Author: Marko Kiiskila <ma...@runtime.io> Authored: Tue Nov 8 22:01:26 2016 -0800 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Tue Nov 8 22:02:17 2016 -0800 ---------------------------------------------------------------------- mgmt/newtmgr/include/newtmgr/newtmgr.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/de697825/mgmt/newtmgr/include/newtmgr/newtmgr.h ---------------------------------------------------------------------- diff --git a/mgmt/newtmgr/include/newtmgr/newtmgr.h b/mgmt/newtmgr/include/newtmgr/newtmgr.h index 2349578..98e7374 100644 --- a/mgmt/newtmgr/include/newtmgr/newtmgr.h +++ b/mgmt/newtmgr/include/newtmgr/newtmgr.h @@ -28,25 +28,12 @@ extern "C" { #endif -/* First 64 groups are reserved for system level newtmgr commands. - * Per-user commands are then defined after group 64. - */ -#define NMGR_GROUP_ID_DEFAULT (0) -#define NMGR_GROUP_ID_IMAGE (1) -#define NMGR_GROUP_ID_STATS (2) -#define NMGR_GROUP_ID_CONFIG (3) -#define NMGR_GROUP_ID_LOGS (4) -#define NMGR_GROUP_ID_CRASH (5) -#define NMGR_GROUP_ID_SPLIT (6) -#define NMGR_GROUP_ID_RUNTEST (7) -#define NMGR_GROUP_ID_PERUSER (64) - #define NMGR_OP_READ (0) #define NMGR_OP_READ_RSP (1) #define NMGR_OP_WRITE (2) #define NMGR_OP_WRITE_RSP (3) -#define NMGR_F_CBOR_RSP_COMPLETE (0x0001) +#define NMGR_F_CBOR_RSP_COMPLETE (0x01) struct nmgr_hdr { uint8_t nh_op; /* NMGR_OP_XXX */