This repository has been archived on 2023-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
bl_mcu_sdk/examples/littlefs/kv_test/arch_psm.h

15 lines
596 B
C
Raw Permalink Normal View History

#ifndef __ARCH_PSM_H__
#define __ARCH_PSM_H__
int arch_psm_init(void);
int arch_psm_get_value(const char* name_space, const char* key, void *value, size_t length);
int arch_psm_set_value(const char* name_space, const char* key, const void* value, size_t length);
int arch_psm_del_value(const char* name_space, const char* key);
int arch_psm_get_str(const char* name_space, const char* key, char *str, size_t str_size);
int arch_psm_set_str(const char* name_space, const char* key, const char* str);
int arch_psm_erase_key(const char* name_space, const char* key);
#endif /* __ARCH_PSM_H__ */