mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-19 17:23:25 +00:00
27 lines
663 B
C
27 lines
663 B
C
#pragma once
|
|
|
|
#include "subrem_types.h"
|
|
#include <flipper_format/flipper_format_i.h>
|
|
#include <lib/subghz/protocols/protocol_items.h>
|
|
|
|
typedef struct {
|
|
uint32_t frequency;
|
|
uint8_t* data;
|
|
} FreqPreset;
|
|
|
|
// Sub File preset
|
|
typedef struct {
|
|
FlipperFormat* fff_data;
|
|
FreqPreset freq_preset;
|
|
FuriString* file_path;
|
|
FuriString* protocaol_name;
|
|
FuriString* label;
|
|
SubGhzProtocolType type;
|
|
SubRemLoadSubState load_state;
|
|
} SubRemSubFilePreset;
|
|
|
|
SubRemSubFilePreset* subrem_sub_file_preset_alloc();
|
|
|
|
void subrem_sub_file_preset_free(SubRemSubFilePreset* sub_preset);
|
|
|
|
void subrem_sub_file_preset_reset(SubRemSubFilePreset* sub_preset);
|