Home
last modified time | relevance | path

Searched refs:group (Results 1 – 4 of 4) sorted by relevance

/mcumgr-2.7.6/mgmt/src/
Dmgmt.c75 mgmt_unregister_group(struct mgmt_group *group) in mgmt_unregister_group() argument
79 if (!group) { in mgmt_unregister_group()
83 if (curr == group) { in mgmt_unregister_group()
88 while (curr && curr != group) { in mgmt_unregister_group()
106 struct mgmt_group *group; in mgmt_find_group() local
114 for (group = mgmt_group_list; group != NULL; group = group->mg_next) { in mgmt_find_group()
115 if (group->mg_group_id == group_id) { in mgmt_find_group()
116 if (command_id >= group->mg_handlers_count) { in mgmt_find_group()
120 if (!group->mg_handlers[command_id].mh_read && in mgmt_find_group()
121 !group->mg_handlers[command_id].mh_write) { in mgmt_find_group()
[all …]
/mcumgr-2.7.6/mgmt/include/mgmt/
Dmgmt.h121 typedef void mgmt_on_evt_cb(uint8_t opcode, uint16_t group, uint8_t id,
367 void mgmt_register_group(struct mgmt_group *group);
375 mgmt_unregister_group(struct mgmt_group *group);
448 void mgmt_evt(uint8_t opcode, uint16_t group, uint8_t id, void *arg);
/mcumgr-2.7.6/
Dprotocol.md49 uint8_t nh_id; /* Message ID within group */
117 Id: 2 # 0x02 in group 0x00 = OS_MGMT_ID_TASKSTAT
DREADME.md60 …A command handler is associated with a single command type, defined by a (group ID, command ID) pa…