Zephyr Project API 4.0.99
A Scalable Open Source RTOS
|
MCUmgr handler registration API. More...
Macros | |
#define | MCUMGR_HANDLER_DEFINE(name, _init) |
Define a MCUmgr handler to register. | |
Typedefs | |
typedef void(* | mcumgr_handler_init_t) (void) |
Type definition for a MCUmgr handler initialisation function. | |
MCUmgr handler registration API.
#define MCUMGR_HANDLER_DEFINE | ( | name, | |
_init | |||
) |
#include <include/zephyr/mgmt/mcumgr/mgmt/handlers.h>
Define a MCUmgr handler to register.
This adds a new entry to the iterable section linker list of MCUmgr handers.
name | Name of the MCUmgr handler to registger. |
_init | Init function to be called (mcumgr_handler_init_t). |
typedef void(* mcumgr_handler_init_t) (void) |
#include <include/zephyr/mgmt/mcumgr/mgmt/handlers.h>
Type definition for a MCUmgr handler initialisation function.