bt_keys_storage.h 595 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <stdint.h>
  3. #include <stdbool.h>
  4. typedef struct BtKeysStorage BtKeysStorage;
  5. BtKeysStorage* bt_keys_storage_alloc(const char* keys_storage_path);
  6. void bt_keys_storage_free(BtKeysStorage* instance);
  7. void bt_keys_storage_set_file_path(BtKeysStorage* instance, const char* path);
  8. void bt_keys_storage_set_ram_params(BtKeysStorage* instance, uint8_t* buff, uint16_t size);
  9. bool bt_keys_storage_load(BtKeysStorage* instance);
  10. bool bt_keys_storage_update(BtKeysStorage* instance, uint8_t* start_addr, uint32_t size);
  11. bool bt_keys_storage_delete(BtKeysStorage* instance);