Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Header file for the Bluetooth Mesh BLOB Transfer Server model API. More...

Go to the source code of this file.

Data Structures

struct  bt_mesh_blob_srv_cb
 BLOB Transfer Server model event handlers. More...
struct  bt_mesh_blob_srv
 BLOB Transfer Server model instance. More...
struct  bt_mesh_blob_srv::bt_mesh_blob_srv_state

Macros

#define BT_MESH_BLOB_BLOCKS_MAX   1
 Max number of blocks in a single transfer.
#define BT_MESH_MODEL_BLOB_SRV(_srv)
 BLOB Transfer Server model composition data entry.

Functions

int bt_mesh_blob_srv_recv (struct bt_mesh_blob_srv *srv, uint64_t id, const struct bt_mesh_blob_io *io, uint8_t ttl, uint16_t timeout_base)
 Prepare BLOB Transfer Server for an incoming transfer.
int bt_mesh_blob_srv_cancel (struct bt_mesh_blob_srv *srv)
 Cancel the current BLOB transfer.
bool bt_mesh_blob_srv_is_busy (const struct bt_mesh_blob_srv *srv)
 Get the current state of the BLOB Transfer Server.
uint8_t bt_mesh_blob_srv_progress (const struct bt_mesh_blob_srv *srv)
 Get the current progress of the active transfer in percent.

Detailed Description

Header file for the Bluetooth Mesh BLOB Transfer Server model API.