Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Bluetooth Mesh BLOB flash stream

Data Structures

struct  bt_mesh_blob_io_flash
 BLOB flash stream. More...
 

Functions

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.
 

Detailed Description

Function Documentation

◆ bt_mesh_blob_io_flash_init()

int bt_mesh_blob_io_flash_init ( struct bt_mesh_blob_io_flash * flash,
uint8_t area_id,
off_t offset )

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

Initialize a flash stream.

Parameters
flashFlash stream.
area_idFlash partition identifier. See flash_area_open.
offsetOffset into the flash area, in bytes.
Returns
0 on success or (negative) error code otherwise.