Address of the data to be read, relative to the beginning of the partition.
dest
Pointer to the buffer where data should be stored. The Pointer must be non-NULL and the buffer must be at least 'size' bytes long.
size
Size of data to be read, in bytes.
Return value
- ESP_OK, if data was read successfully; - ESP_ERR_INVALID_ARG, if src_offset exceeds partition size; - ESP_ERR_INVALID_SIZE, if read would go out of bounds of the partition; - or one of error codes from lower-level flash driver.
Examples
wl_read() is referenced by 2 libraries and example projects: