Flipper Zero Firmware
Loading...
Searching...
No Matches
bt_keys_storage.h
1#pragma once
2
3#include <stdint.h>
4#include <stdbool.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10typedef struct BtKeysStorage BtKeysStorage;
11
12BtKeysStorage* bt_keys_storage_alloc(const char* keys_storage_path);
13
14void bt_keys_storage_free(BtKeysStorage* instance);
15
16void bt_keys_storage_set_file_path(BtKeysStorage* instance, const char* path);
17
18void bt_keys_storage_set_ram_params(BtKeysStorage* instance, uint8_t* buff, uint16_t size);
19
20bool bt_keys_storage_load(BtKeysStorage* instance);
21
22bool bt_keys_storage_update(BtKeysStorage* instance, uint8_t* start_addr, uint32_t size);
23
24bool bt_keys_storage_delete(BtKeysStorage* instance);
25
26#ifdef __cplusplus
27}
28#endif
Definition bt_keys_storage.c:13