-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SubGhz: add subghz tx_from_file
CLI cmd, major TX flow refactoring, various improvements and bug fixes
#3302
Conversation
Compiled f7 firmware for commit |
PVS-Studio report for commit |
This worked. I was able to use the CLI to replay a RAW .sub file. I tested with two different sub files and both worked in turning on and off a light that uses an RF remote. The only thing that looks strange is that there is an ERROR message on the command line but it worked regardless. Here is the output when i ran the command.
|
it's not a mistake. this means that you don’t have the keeloq_mfcodes_user file, but yes, I’ll change the message now |
… and ISR priorities, fix issue with async tx stuck
subghz tx_from_file
CLI cmd, major TX flow refactoring, various improvements and bug fixes
… various improvements and bug fixes (flipperdevices#3302) By Skorpionm * SubGhz: add cmd CLI "subghz tx_from_file" * SubGhz: add sending raw.sub files * SubGhz: add load custom preset * SubGhz: remove unnecessary files * SubGhz: change message * SubGhz: fix printf formatting * SubGhz: Cli refactoring code * FuriHal: add furi_hal_subghz Tx Rx IDLE state switching test * SubGhz: remove debug code, fix ext driver compilation * SubGhz: cleanup code, move wait status routine to cc1101 driver * SubGhz: proper pin mode transition in tx stop isr routine, proper DMA and ISR priorities, fix issue with async tx stuck * SubGhz: simplify async tx stop flow, fix ISR ARR check condition race * SubGhz: check ARR only when we transmitting * SubGhz: check ARR only when we transmitting for ext cc1101 * SubGhz: lower ISR priorities to safe level * SubGhz: proper gpio config, comments update Co-authored-by: あく <alleteam@gmail.com>
What's new
Verification
CLI: subghz tx_from_file <file_name> [<repeat: count> <device: 0 - CC1101_INT, 1 - CC1101_EXT>]
default value:
repeat = 10
device = CC1101_INT
Examination. Launch CLI, run the command "subghz tx_from_file /any/subghz/file.sub" file.sub - pre-saved SubGhz file
Checklist (For Reviewer)