Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Firmware Distribution Server model

API for the Firmware Distribution Server model More...

Data Structures

struct  bt_mesh_dfd_srv_cb
 Firmware Distribution Server callbacks: More...
 
struct  bt_mesh_dfd_srv
 Firmware Distribution Server instance. More...
 

Macros

#define CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX   0
 
#define CONFIG_BT_MESH_DFD_SRV_SLOT_MAX_SIZE   0
 
#define CONFIG_BT_MESH_DFD_SRV_SLOT_SPACE   0
 
#define BT_MESH_DFD_SRV_INIT(_cb)
 Initialization parameters for the Firmware Distribution Server model.
 
#define BT_MESH_MODEL_DFD_SRV(_srv)
 Firmware Distribution Server model Composition Data entry.
 

Detailed Description

API for the Firmware Distribution Server model

Macro Definition Documentation

◆ BT_MESH_DFD_SRV_INIT

#define BT_MESH_DFD_SRV_INIT ( _cb)

#include <zephyr/bluetooth/mesh/dfd_srv.h>

Value:
{ \
.cb = _cb, \
.dfu = BT_MESH_DFU_CLI_INIT(&_bt_mesh_dfd_srv_dfu_cb), \
.upload = { \
.blob = { .cb = &_bt_mesh_dfd_srv_blob_cb }, \
}, \
}
#define BT_MESH_DFU_CLI_INIT(_handlers)
Initialization parameters for the Firmware Uppdate Client model.
Definition dfu_cli.h:36

Initialization parameters for the Firmware Distribution Server model.

Parameters
[in]_cbPointer to a bt_mesh_dfd_srv_cb instance.

◆ BT_MESH_MODEL_DFD_SRV

#define BT_MESH_MODEL_DFD_SRV ( _srv)

#include <zephyr/bluetooth/mesh/dfd_srv.h>

Value:
BT_MESH_MODEL_DFU_CLI(&(_srv)->dfu), \
BT_MESH_MODEL_BLOB_SRV(&(_srv)->upload.blob), \
BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_DFD_SRV, _bt_mesh_dfd_srv_op, NULL, \
_srv, &_bt_mesh_dfd_srv_cb)
#define BT_MESH_MODEL_ID_DFD_SRV
Firmware Distribution Server.
Definition access.h:355
#define BT_MESH_MODEL_DFU_CLI(_cli)
Firmware Update Client model Composition Data entry.
Definition dfu_cli.h:48

Firmware Distribution Server model Composition Data entry.

Parameters
_srvPointer to a Firmware Distribution Server model instance.

◆ CONFIG_BT_MESH_DFD_SRV_SLOT_MAX_SIZE

#define CONFIG_BT_MESH_DFD_SRV_SLOT_MAX_SIZE   0

◆ CONFIG_BT_MESH_DFD_SRV_SLOT_SPACE

#define CONFIG_BT_MESH_DFD_SRV_SLOT_SPACE   0

◆ CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX

#define CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX   0