mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-02-22 22:48:28 +00:00
Flipper tx: use file_path, example file (#2496)
* added subghz_dir * use subghz_dir from file_path * example file
This commit is contained in:
parent
54ad82a423
commit
b2bb37af74
@ -89,8 +89,6 @@ class FlipperTxView : public View {
|
||||
std::unique_ptr<FlipperPlayThread> replay_thread{};
|
||||
Optional<flippersub_metadata> submeta{};
|
||||
|
||||
const std::filesystem::path subghz_dir = u"subghz";
|
||||
|
||||
MessageHandlerRegistration message_handler_tx_progress{
|
||||
Message::ID::TXProgress,
|
||||
[this](const Message* const p) {
|
||||
|
@ -49,3 +49,4 @@ const std::filesystem::path sstv_dir = u"SSTV";
|
||||
const std::filesystem::path wav_dir = u"WAV";
|
||||
const std::filesystem::path whipcalc_dir = u"WHIPCALC";
|
||||
const std::filesystem::path ook_editor_dir = u"OOKFILES";
|
||||
const std::filesystem::path subghz_dir = u"SUBGHZ";
|
||||
|
@ -51,5 +51,6 @@ extern const std::filesystem::path sstv_dir;
|
||||
extern const std::filesystem::path wav_dir;
|
||||
extern const std::filesystem::path whipcalc_dir;
|
||||
extern const std::filesystem::path ook_editor_dir;
|
||||
extern const std::filesystem::path subghz_dir;
|
||||
|
||||
#endif /* __FILE_PATH_H__ */
|
||||
|
10
sdcard/SUBGHZ/flipper_tx_example.sub
Normal file
10
sdcard/SUBGHZ/flipper_tx_example.sub
Normal file
@ -0,0 +1,10 @@
|
||||
Filetype: Flipper SubGhz RAW File
|
||||
Version: 1
|
||||
Frequency: 433920000
|
||||
Preset: FuriHalSubGhzPresetOok650Async
|
||||
Protocol: RAW
|
||||
|
||||
RAW_Data: 210 650 210 650 210 650 630 650 210 650 210 650 210 650 630 650
|
||||
RAW_Data: 210 650 210 650 210 650 630 650 210 650 210 650 210 650 210 1950
|
||||
RAW_Data: 210 650 210 650 210 650 630 650 210 650 210 650 210 650 630 650
|
||||
RAW_Data: 210 650 210 650 210 650 630 650 210 650 210 650 210 650 210 1950
|
Loading…
x
Reference in New Issue
Block a user