mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
421a0f6b97
* Firmware: drop F5 target * Rename app-loader to loader * Update code owners file * Loader: global application start lock API, minor refactoring * Archive: update loader usage * Cli: Command flags, global application start lock * Apps: update cli API usage * Bootloader: minor refactoring * Firmware: minor build refactoring * SubGhz: GUI packet test * SubGhz: drop packet transmission and unused presets * Github: drop F5 from build * Archive: favorites * Archive: a little bit more of Favorites
25 lines
583 B
C
25 lines
583 B
C
#pragma once
|
|
|
|
#include <m-string.h>
|
|
#include <m-array.h>
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
string_t name;
|
|
uint64_t key;
|
|
uint16_t type;
|
|
} SubGhzKey;
|
|
|
|
ARRAY_DEF(SubGhzKeyArray, SubGhzKey, M_POD_OPLIST)
|
|
|
|
#define M_OPL_SubGhzKeyArray_t() ARRAY_OPLIST(SubGhzKeyArray, M_POD_OPLIST)
|
|
|
|
typedef struct SubGhzKeystore SubGhzKeystore;
|
|
|
|
SubGhzKeystore* subghz_keystore_alloc();
|
|
|
|
void subghz_keystore_free(SubGhzKeystore* instance);
|
|
|
|
void subghz_keystore_load(SubGhzKeystore* instance, const char* filename);
|
|
|
|
SubGhzKeyArray_t* subghz_keystore_get_data(SubGhzKeystore* instance);
|