flipperzero-firmware/lib/subghz/environment.h
Skorpionm 3164184bbc
[FL-2230] SubGhz: protocol API refactoring (#969)
* SubGhz: protocols library refactoring
* SubGhz: new architecture and refactoring
* SubGhz: simplify protocol structure, remove unused types
* SubGhz: rename Subghz to SubGhz
* SubGhz: add environment concept

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
2022-03-03 12:48:56 +03:00

29 lines
851 B
C

#pragma once
#include <furi.h>
#include "subghz_keystore.h"
typedef struct SubGhzEnvironment SubGhzEnvironment;
SubGhzEnvironment* subghz_environment_alloc();
void subghz_environment_free(SubGhzEnvironment* instance);
bool subghz_environment_load_keystore(SubGhzEnvironment* instance, const char* filename);
SubGhzKeystore* subghz_environment_get_keystore(SubGhzEnvironment* instance);
void subghz_environment_set_came_atomo_rainbow_table_file_name(
SubGhzEnvironment* instance,
const char* filename);
const char* subghz_environment_get_came_atomo_rainbow_table_file_name(SubGhzEnvironment* instance);
void subghz_environment_set_nice_flor_s_rainbow_table_file_name(
SubGhzEnvironment* instance,
const char* filename);
const char*
subghz_environment_get_nice_flor_s_rainbow_table_file_name(SubGhzEnvironment* instance);