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.