Zephyr Project API 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mgmt_callback Struct Reference

MGMT callback struct. More...

#include <callbacks.h>

Data Fields

sys_snode_t node
 Entry list node.
 
mgmt_cb callback
 Callback that will be called.
 
uint32_t event_id
 MGMT_EVT_[...] Event ID for handler to be called on.
 

Detailed Description

MGMT callback struct.

Field Documentation

◆ callback

mgmt_cb mgmt_callback::callback

Callback that will be called.

◆ event_id

uint32_t mgmt_callback::event_id

MGMT_EVT_[...] Event ID for handler to be called on.

This has special meaning if MGMT_EVT_OP_ALL is used (which will cover all events for all groups), or MGMT_EVT_OP_*_MGMT_ALL (which will cover all events for a single group). For events that are part of a single group, they can be or'd together for this to have one registration trigger on multiple events, please note that this will only work for a single group, to register for events in different groups, they must be registered separately.

◆ node

sys_snode_t mgmt_callback::node

Entry list node.


The documentation for this struct was generated from the following file: