Data Structures | |
| struct | filesystem_resource_handle_t |
| struct | memory_resource_handle_t |
| struct | resource_hnd_t |
Macros | |
| #define | RESOURCE_RESULT_LIST(prefix) |
Enumerations | |
| enum | resource_location_t { RESOURCE_IN_MEMORY , RESOURCE_IN_FILESYSTEM , RESOURCE_IN_EXTERNAL_STORAGE } |
| enum | resource_result_t |
Functions | |
| resource_result_t | resource_free_readonly_buffer (const resource_hnd_t *handle, const void *buffer) |
| resource_result_t | resource_get_readonly_buffer (const resource_hnd_t *resource, uint32_t offset, uint32_t maxsize, uint32_t *size_out, const void **buffer) |
| resource_result_t | resource_read (const resource_hnd_t *resource, uint32_t offset, uint32_t maxsize, uint32_t *size, void *buffer) |
WICED Resource API's The Resource Management functions reads resource from a resource location and returns the number of bytes from an offset in an caller filled buffer.
Functions to get the resource size and resource data
The Resource could be one of the three locations
| #define RESOURCE_RESULT_LIST | ( | prefix | ) |
Failed to read resource file
| enum resource_location_t |
| enum resource_result_t |
Result type for WICED Resource function