Zephyr Project API  3.4.0
A Scalable Open Source RTOS
Firmware Distribution Server model

API for the Firmware Distribution Server model. More...

Data Structures

struct  bt_mesh_dfd_srv_cb
 
struct  bt_mesh_dfd_srv
 

Macros

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

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 <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.

◆ BT_MESH_MODEL_DFD_SRV

#define BT_MESH_MODEL_DFD_SRV (   _srv)

#include <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
Definition: access.h:204
#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_TARGETS_MAX

#define CONFIG_BT_MESH_DFD_SRV_TARGETS_MAX   0