2021-08-29 13:05:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <gui/view.h>
|
|
|
|
|
2021-09-28 00:05:40 +00:00
|
|
|
typedef enum {
|
2022-03-03 09:48:56 +00:00
|
|
|
SubGhzTestStaticEventOnlyRx,
|
|
|
|
} SubGhzTestStaticEvent;
|
2021-09-28 00:05:40 +00:00
|
|
|
|
2022-03-03 09:48:56 +00:00
|
|
|
typedef struct SubGhzTestStatic SubGhzTestStatic;
|
2021-08-29 13:05:15 +00:00
|
|
|
|
2022-03-03 09:48:56 +00:00
|
|
|
typedef void (*SubGhzTestStaticCallback)(SubGhzTestStaticEvent event, void* context);
|
2021-09-28 00:05:40 +00:00
|
|
|
|
|
|
|
void subghz_test_static_set_callback(
|
2022-03-03 09:48:56 +00:00
|
|
|
SubGhzTestStatic* subghz_test_static,
|
|
|
|
SubGhzTestStaticCallback callback,
|
2021-09-28 00:05:40 +00:00
|
|
|
void* context);
|
|
|
|
|
2022-03-03 09:48:56 +00:00
|
|
|
SubGhzTestStatic* subghz_test_static_alloc();
|
2021-08-29 13:05:15 +00:00
|
|
|
|
2022-03-03 09:48:56 +00:00
|
|
|
void subghz_test_static_free(SubGhzTestStatic* subghz_static);
|
2021-08-29 13:05:15 +00:00
|
|
|
|
2022-03-03 09:48:56 +00:00
|
|
|
View* subghz_test_static_get_view(SubGhzTestStatic* subghz_static);
|