- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using CYBT-213043-MESH
hello, how can I save an array uint8_t data [6] = {'d', 'a', 't', 'a', 's', 'a', 'v', 'e'}; in flash memory?, and how can I read this data every time I need it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can use nvram APIs listed in wiced_hal_nvram.h. Below example shows how to use it. Please have a look.
Please note, the NVRAM IDs which are already used by Mesh Core and Model libraries can be seen in mesh_setup_nvram_ids () defined in mesh_application.c. Please avoid using the same IDs for the array.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can use nvram APIs listed in wiced_hal_nvram.h. Below example shows how to use it. Please have a look.
Please note, the NVRAM IDs which are already used by Mesh Core and Model libraries can be seen in mesh_setup_nvram_ids () defined in mesh_application.c. Please avoid using the same IDs for the array.
Thanks,
-Dheeraj