mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
84f46e670a
* Add more more frequencees and change ok key bahavior to toggle * GUI: add queue support to ViewDispatcher * SubGhz: basic cli * SubGHz: pt send cli * SubGhz: carrier cli commands. * Fix irda test data merge artifacts
42 lines
815 B
C
42 lines
815 B
C
#pragma once
|
|
|
|
#include "subghz.h"
|
|
#include "subghz_test_basic.h"
|
|
#include "subghz_test_packet.h"
|
|
#include "subghz_static.h"
|
|
|
|
#include <furi.h>
|
|
#include <api-hal.h>
|
|
#include <gui/gui.h>
|
|
#include <gui/view_dispatcher.h>
|
|
#include <gui/modules/submenu.h>
|
|
|
|
typedef struct {
|
|
uint32_t frequency;
|
|
uint8_t path;
|
|
} SubGhzFrequency;
|
|
|
|
extern const SubGhzFrequency subghz_frequencies[];
|
|
extern const uint32_t subghz_frequencies_count;
|
|
extern const uint32_t subghz_frequencies_433_92;
|
|
|
|
struct SubGhz {
|
|
Gui* gui;
|
|
|
|
ViewDispatcher* view_dispatcher;
|
|
|
|
Submenu* submenu;
|
|
|
|
SubghzTestBasic* subghz_test_basic;
|
|
|
|
SubghzTestPacket* subghz_test_packet;
|
|
|
|
SubghzStatic* subghz_static;
|
|
};
|
|
|
|
typedef enum {
|
|
SubGhzViewMenu,
|
|
SubGhzViewTestBasic,
|
|
SubGhzViewTestPacket,
|
|
SubGhzViewStatic,
|
|
} SubGhzView;
|