[FL-1931, FL-2005] SubGhz: migration in flipper file format (#807)
* SubGhz: add save key in flipper file format * [FL-2005] SubGhz: fix stored signals cannot be deleted * SubGhz: add load key in flipper file format * SubGhz: fix syntax * SubGhz: fix bad file upload * Storage: add function to get the next free filename * SubGhz: add save RAW in flipper file format * SubGhz: add load RAW in flipper file format * SubGhz: refactoring protocol * SubGhz: refactoring scene * SubGhz: fix SubGhzNotificationState define * Makefile: proper comapre for FORCE Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -45,20 +45,20 @@ void subghz_protocol_raw_parse(SubGhzProtocolRAW* instance, bool level, uint32_t
|
||||
*/
|
||||
void subghz_protocol_raw_to_str(SubGhzProtocolRAW* instance, string_t output);
|
||||
|
||||
const char* subghz_protocol_get_last_file_name(SubGhzProtocolRAW* instance);
|
||||
const char* subghz_protocol_raw_get_last_file_name(SubGhzProtocolRAW* instance);
|
||||
|
||||
void subghz_protocol_set_last_file_name(SubGhzProtocolRAW* instance, const char* name);
|
||||
void subghz_protocol_raw_set_last_file_name(SubGhzProtocolRAW* instance, const char* name);
|
||||
|
||||
bool subghz_protocol_raw_save_to_file_init(
|
||||
SubGhzProtocolRAW* instance,
|
||||
const char* dev_name,
|
||||
uint32_t frequency,
|
||||
FuriHalSubGhzPreset preset);
|
||||
const char* preset);
|
||||
void subghz_protocol_raw_save_to_file_stop(SubGhzProtocolRAW* instance);
|
||||
bool subghz_protocol_raw_save_to_file_write(SubGhzProtocolRAW* instance);
|
||||
size_t subghz_protocol_raw_get_sample_write(SubGhzProtocolRAW* instance);
|
||||
|
||||
bool subghz_protocol_raw_to_load_protocol_from_file(
|
||||
FileWorker* file_worker,
|
||||
FlipperFile* flipper_file,
|
||||
SubGhzProtocolRAW* instance,
|
||||
const char* file_path);
|
Reference in New Issue
Block a user