Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
blob.h File Reference
#include <sys/types.h>
#include <zephyr/kernel.h>

Go to the source code of this file.

Data Structures

struct  bt_mesh_blob_block
 BLOB transfer data block. More...
 
struct  bt_mesh_blob_chunk
 BLOB data chunk. More...
 
struct  bt_mesh_blob_xfer
 BLOB transfer. More...
 
struct  bt_mesh_blob_io
 BLOB stream. More...
 

Macros

#define CONFIG_BT_MESH_BLOB_CHUNK_COUNT_MAX   0
 

Enumerations

enum  bt_mesh_blob_xfer_mode { BT_MESH_BLOB_XFER_MODE_NONE , BT_MESH_BLOB_XFER_MODE_PUSH , BT_MESH_BLOB_XFER_MODE_PULL , BT_MESH_BLOB_XFER_MODE_ALL }
 BLOB transfer mode. More...
 
enum  bt_mesh_blob_xfer_phase {
  BT_MESH_BLOB_XFER_PHASE_INACTIVE , BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_START , BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_BLOCK , BT_MESH_BLOB_XFER_PHASE_WAITING_FOR_CHUNK ,
  BT_MESH_BLOB_XFER_PHASE_COMPLETE , BT_MESH_BLOB_XFER_PHASE_SUSPENDED
}
 Transfer phase. More...
 
enum  bt_mesh_blob_status {
  BT_MESH_BLOB_SUCCESS , BT_MESH_BLOB_ERR_INVALID_BLOCK_NUM , BT_MESH_BLOB_ERR_INVALID_BLOCK_SIZE , BT_MESH_BLOB_ERR_INVALID_CHUNK_SIZE ,
  BT_MESH_BLOB_ERR_WRONG_PHASE , BT_MESH_BLOB_ERR_INVALID_PARAM , BT_MESH_BLOB_ERR_WRONG_BLOB_ID , BT_MESH_BLOB_ERR_BLOB_TOO_LARGE ,
  BT_MESH_BLOB_ERR_UNSUPPORTED_MODE , BT_MESH_BLOB_ERR_INTERNAL , BT_MESH_BLOB_ERR_INFO_UNAVAILABLE
}
 BLOB model status codes. More...
 
enum  bt_mesh_blob_io_mode { BT_MESH_BLOB_READ , BT_MESH_BLOB_WRITE }
 BLOB stream interaction mode. More...