subsys/mgmt/mcumgr: Fix collision with user defined groups
The commit moves definition of Zephyr specific mcumgr basic group to PERUSER - 1. This has been done to avoid collision with application specific groups, defined by users. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
parent
b1b977dacf
commit
dfa3930196
1 changed files with 4 additions and 3 deletions
|
@ -12,9 +12,10 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The file contains definitions of Zephyr specific mgmt commands */
|
/* The file contains definitions of Zephyr specific mgmt commands. The group numbers decrease
|
||||||
|
* from PERUSER to avoid collision with user defined groups.
|
||||||
#define ZEPHYR_MGMT_GRP_BASE MGMT_GROUP_ID_PERUSER
|
*/
|
||||||
|
#define ZEPHYR_MGMT_GRP_BASE (MGMT_GROUP_ID_PERUSER - 1)
|
||||||
|
|
||||||
/* Basic group */
|
/* Basic group */
|
||||||
#define ZEPHYR_MGMT_GRP_BASIC ZEPHYR_MGMT_GRP_BASE
|
#define ZEPHYR_MGMT_GRP_BASIC ZEPHYR_MGMT_GRP_BASE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue