  | 
        
           Wirepas SDK
           
         | 
        
          
         | 
      
    
  
 
  
  
 
Go to the documentation of this file.
   20 #ifndef APP_LIB_SECURE_STORAGE_H_ 
   21 #define APP_LIB_SECURE_STORAGE_H_ 
   31 #define APP_LIB_SECURE_STORAGE_NAME 0x74be4415   
   34 #define APP_LIB_SECURE_STORAGE_VERSION 0x200 
  106     void * to, 
size_t * max_amount);
 
  
 
@ APP_LIB_SECURE_STORAGE_RECORD_FLAG_NO_ENCRYPT
 
app_lib_secure_storage_write_record_f writeRecord
 
@ APP_LIB_SECURE_STORAGE_CMD_NO_INIT
 
uint32_t app_lib_mem_area_id_t
Memory Area id definition.
 
app_lib_secure_storage_init_area_f initArea
 
uint32_t app_lib_secure_storage_record_tag_t
Secure storage record tag definition.
 
app_lib_secure_storage_read_record_f readRecord
 
@ APP_LIB_SECURE_STORAGE_CMD_INIT
 
app_lib_mem_area_res_e(* app_lib_secure_storage_delete_record_f)(app_lib_mem_area_id_t id, app_lib_secure_storage_record_tag_t tag)
Delete a record in the secure storage area.
 
app_lib_secure_storage_command_e
Secure storage initialization command.
 
List of library functions.
 
app_lib_mem_area_res_e(* app_lib_secure_storage_read_record_f)(app_lib_mem_area_id_t id, app_lib_secure_storage_record_tag_t tag, void *to, size_t *max_amount)
Read a record from the secure storage area.
 
app_lib_mem_area_res_e(* app_lib_secure_storage_init_area_f)(app_lib_mem_area_id_t id, app_lib_secure_storage_command_e cmd, uint32_t flags)
Initialize secure storage area or check if already initialized.
 
@ APP_LIB_SECURE_STORAGE_CMD_ERASE
 
app_lib_secure_storage_record_flags_e
Secure storage record option flags.
 
@ APP_LIB_SECURE_STORAGE_RECORD_FLAG_NO_AUTH
 
app_lib_secure_storage_delete_record_f deleteRecord
 
app_lib_mem_area_res_e
memory area operations result
 
app_lib_mem_area_res_e(* app_lib_secure_storage_write_record_f)(app_lib_mem_area_id_t id, app_lib_secure_storage_record_tag_t tag, const void *from, size_t amount, uint32_t flags)
Write a record to the secure storage area, overwriting any previous version with the same record tag.