[FL-1913, FL-1963] SubGhz: save raw signal, add came atomo decoder (#783)
* File_Worker: getting the name of a new file with an index * SubGhz: add decoder RAW protocol * SubGhz: add view Save RAW * SubGhz: refactoring subghz custom event * SubGhz: fix syntax * SubGhz: fix error build * SubGhz: test build * SubGhz: refactoring subghz, add rename, delete, start and emulate RAW signal * SubGhz: fix triangle glitch in save raw view * SubGhz: fix receiver config scene * SubGhz: fix transfer after returning from save scene * Canvas: add font rotation * SubGhz: raw protocol encoder * SubGhz: fix error completion of transfer raw encoder * SubGhz: increased the speed of reading RAW data from a flash drive, displaying the name of the saved file in the Save RAW scene * Canvas: fix font rotation * SubGhz: fix navigation save RAW scene * SubGhz: add decode came atomo * Git: renormalize * Cleanup sources and enums * Gui: add font direction to canvas reset, canvas init sequence cleanup. * SubGhz: reorder menu. * Gui: correct canvas_set_font_direction signature Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
30
applications/subghz/views/subghz_save_raw.h
Normal file
30
applications/subghz/views/subghz_save_raw.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include <gui/view.h>
|
||||
#include "../helpers/subghz_custom_event.h"
|
||||
|
||||
typedef struct SubghzSaveRAW SubghzSaveRAW;
|
||||
|
||||
typedef void (*SubghzSaveRAWCallback)(SubghzCustomEvent event, void* context);
|
||||
|
||||
void subghz_save_raw_set_callback(
|
||||
SubghzSaveRAW* subghz_save_raw,
|
||||
SubghzSaveRAWCallback callback,
|
||||
void* context);
|
||||
|
||||
SubghzSaveRAW* subghz_save_raw_alloc();
|
||||
|
||||
void subghz_save_raw_free(SubghzSaveRAW* subghz_static);
|
||||
|
||||
void subghz_save_raw_add_data_statusbar(
|
||||
SubghzSaveRAW* instance,
|
||||
const char* frequency_str,
|
||||
const char* preset_str);
|
||||
|
||||
void subghz_save_raw_set_file_name(SubghzSaveRAW* instance, const char* file_name);
|
||||
|
||||
void subghz_save_raw_update_sample_write(SubghzSaveRAW* instance, size_t sample);
|
||||
|
||||
void subghz_save_raw_add_data_rssi(SubghzSaveRAW* instance, float rssi);
|
||||
|
||||
View* subghz_save_raw_get_view(SubghzSaveRAW* subghz_static);
|
Reference in New Issue
Block a user