7#ifndef ZEPHYR_INCLUDE_BLUETOOTH_MESH_BLOB_IO_FLASH_H__
8#define ZEPHYR_INCLUDE_BLUETOOTH_MESH_BLOB_IO_FLASH_H__
int bt_mesh_blob_io_flash_init(struct bt_mesh_blob_io_flash *flash, uint8_t area_id, off_t offset)
Initialize a flash stream.
bt_mesh_blob_io_mode
BLOB stream interaction mode.
Definition blob.h:137
__INTPTR_TYPE__ off_t
Definition types.h:36
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
BLOB flash stream.
Definition blob_io_flash.h:23
struct bt_mesh_blob_io io
Definition blob_io_flash.h:35
uint8_t area_id
Flash area ID to write the BLOB to.
Definition blob_io_flash.h:25
enum bt_mesh_blob_io_mode mode
Active stream mode.
Definition blob_io_flash.h:27
const struct flash_area * area
Definition blob_io_flash.h:33
off_t offset
Offset into the flash area to place the BLOB at (in bytes).
Definition blob_io_flash.h:29
BLOB stream.
Definition blob.h:145
Flash partition.
Definition flash_map.h:59