Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
subsys
▼
zephyr
►
acpi
►
app_memory
►
arch
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
►
dt-bindings
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mctp
►
mem_mgmt
▼
mgmt
►
ec_host_cmd
►
hawkbit
▼
mcumgr
►
grp
▼
mgmt
►
callbacks.h
►
handlers.h
►
mgmt.h
►
mgmt_defines.h
►
smp
►
transport
hawkbit.h
►
osdp.h
►
updatehub.h
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
portability
►
posix
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
handlers.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef H_MCUMGR_MGMT_HANDLERS_
8
#define H_MCUMGR_MGMT_HANDLERS_
9
10
#include <
zephyr/kernel.h
>
11
#include <
zephyr/sys/util_macro.h
>
12
#include <
zephyr/sys/iterable_sections.h
>
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
/* __cplusplus */
17
26
typedef
void (*
mcumgr_handler_init_t
)(void);
27
29
struct
mcumgr_handler {
31
const
mcumgr_handler_init_t
init;
32
};
43
#define MCUMGR_HANDLER_DEFINE(name, _init) \
44
STRUCT_SECTION_ITERABLE(mcumgr_handler, name) = { \
45
.init = _init, \
46
}
43
#define MCUMGR_HANDLER_DEFINE(name, _init) \
…
47
48
#ifdef __cplusplus
49
}
50
#endif
/* __cplusplus */
51
56
#endif
/* H_MCUMGR_MGMT_HANDLERS_ */
mcumgr_handler_init_t
void(* mcumgr_handler_init_t)(void)
Type definition for a MCUmgr handler initialisation function.
Definition
handlers.h:26
kernel.h
Public kernel APIs.
iterable_sections.h
util_macro.h
Macro utilities.
zephyr
mgmt
mcumgr
mgmt
handlers.h
Generated on Fri Mar 14 2025 09:05:35 for Zephyr API Documentation by
1.12.0