4418e73b26
* ToolBox: add manchester-decoder and manchester-encoder * SubGhz: add new FM config cc1101 * Subghz: add protocol Kia * SubGhz: fix receiving the last packet Nero Radio * SubGhz: app protocol CAME Twin (TW2EE/TW4EE) * SubGhz: add protocol CAME Atomo (AT03EV/ AT04EV) * F7: sync with F6 * SubGhz: add frequency analyzer * SubGhz: remove space from file name * SubGhz: frequency analyzer add filter and fix view * [FL-1939] GubGhz: Frequency analyzer redesign * SubGhz: fix incorrect subghz api call sequence in frequency analyzer worker Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
23 lines
680 B
C
23 lines
680 B
C
#pragma once
|
|
|
|
#include <gui/view.h>
|
|
|
|
typedef enum {
|
|
SubghzFrequencyAnalyzerEventOnlyRx,
|
|
} SubghzFrequencyAnalyzerEvent;
|
|
|
|
typedef struct SubghzFrequencyAnalyzer SubghzFrequencyAnalyzer;
|
|
|
|
typedef void (*SubghzFrequencyAnalyzerCallback)(SubghzFrequencyAnalyzerEvent event, void* context);
|
|
|
|
void subghz_frequency_analyzer_set_callback(
|
|
SubghzFrequencyAnalyzer* subghz_frequency_analyzer,
|
|
SubghzFrequencyAnalyzerCallback callback,
|
|
void* context);
|
|
|
|
SubghzFrequencyAnalyzer* subghz_frequency_analyzer_alloc();
|
|
|
|
void subghz_frequency_analyzer_free(SubghzFrequencyAnalyzer* subghz_static);
|
|
|
|
View* subghz_frequency_analyzer_get_view(SubghzFrequencyAnalyzer* subghz_static);
|