Commit Graph
145 Commits
Author SHA1 Message Date
Leeroy 2dabdb3c68 Remove overflow handling for PR 2026-01-20 14:17:41 +11:00
Leeroy 88e3e515a0 BAckward compatibilty with old PSF files 2026-01-20 13:45:40 +11:00
Leeroy eabbff45d3 Add BS Magic Number calculation to Ford V0
* The Code uses 6f, all my remotes use different numbers.
* So, I am getting the required Magic Number on decode,
* and saving that to the psf.
* Then on Encode, I grab that number and use that instead of 6f
* This works with the 2 remotes I have, and I dont have to patch
* the Magic Number from Calulator anymore!

*** I noticed my Chinese Fob with Magic of 0 said CRC BAD, but Car Unlocked as it captured!
*** It also works when Emulated, car unlocks.
*** The CRC check will have to be looked at!
2026-01-20 13:21:51 +11:00
RocketGod 1408ee09a8 Merge pull request #67 from zero-mega/main 2026-01-19 10:11:28 -08:00
zero-mega e191349f8e Merge branch 'RocketGod-git:main' into main 2026-01-19 18:18:41 +01:00
zero-mega 8f42155e37 Add PSA decoder (no decryption yet) 2026-01-19 11:36:52 +01:00
RocketGod d582dfc57d Merge pull request #64 from RocketGod-git/Ford-encoder-fixes
Refactor and enhance Ford V0 protocol encoder/decoder
2026-01-18 11:46:53 -08:00
RocketGod aa010536b2 Refactor and enhance Ford V0 protocol encoder/decoder
Reorganizes code with clearer sectioning and comments, adds explicit BS calculation, and implements robust encode/decode functions for Ford V0 protocol. Improves logging, error handling, and field extraction in encoder deserialization, and ensures protocol fields are recalculated rather than loaded from files. Cleans up and clarifies bit manipulation logic, and enhances maintainability and readability throughout the protocol implementation.
2026-01-18 11:44:09 -08:00
RocketGod bd9eebff73 Merge pull request #57 from RocketGod-git/Ford-V0-CRC-(ENCODER)
Add CRC to encoder
2026-01-17 18:47:55 -08:00
RocketGod 0d043831ba Add CRC to encoder
Removed verbose debug logging and refactored CRC calculation for Ford V0 protocol, including a new function for CRC calculation during encoding and proper bit inversion for transmission and verification. Updated key2 construction to always use calculated CRC.
2026-01-17 18:46:46 -08:00
RocketGod f5e7c73b16 Merge pull request #56 from RocketGod-git/Ford-V0-CRC-(DECODE)
Add Ford V0 CRC verification and logging
2026-01-17 18:06:57 -08:00
RocketGod 4ee8932eaf Add Ford V0 CRC verification and logging
Implements CRC calculation and verification for Ford V0 protocol using a firmware-extracted matrix. Adds detailed logging for CRC operations, decoding, and deserialization, and updates output string to show CRC status. Also improves button naming and field extraction during deserialization.
2026-01-17 18:06:26 -08:00
RocketGod 9d405bdc6f Add Subaru to list of supported encoders
Updated the README to include Subaru in the list of supported encoders, reflecting expanded compatibility.
2026-01-16 15:56:39 -08:00
RocketGod 096941f93d Merge pull request #52 from RocketGod-git/Suzuki-fixes
Add encoder implementation for Suzuki protocol
2026-01-16 15:54:14 -08:00
RocketGod b4124fc633 Refactor Suzuki protocol header for clarity and structure 2026-01-16 15:52:11 -08:00
RocketGod e5a6ba574b Merge branch 'main' into Suzuki-fixes 2026-01-16 15:49:04 -08:00
RocketGod d43c6c06b5 Add encoder implementation for Suzuki protocol
Implemented encoder functions for the Suzuki SubGhz protocol, including allocation, freeing, deserialization, stop, and yield. Updated protocol flags to support load, save, and send operations. Refactored code structure for clarity and added protocol constants and helper functions.
2026-01-16 15:45:26 -08:00
RocketGod deaae84938 Merge pull request #51 from RocketGod-git/Subaru-Encoder
Add encoder support for Subaru protocol
2026-01-16 15:24:46 -08:00
RocketGod f28e311684 Merge pull request #39 from grugnoymeme/suzuki-encoder
Suzuki encoder
2026-01-16 15:24:08 -08:00
RocketGod 36a8518983 Add encoder support for Subaru protocol
Implements encoder functions for the Subaru protocol, enabling signal generation and transmission. Updates protocol flags to support loading, saving, and sending. Refactors decoder/encoder data structures for consistency, adds dynamic memory management for file entry buffers, and improves serialization/deserialization logic for protocol data.
2026-01-16 14:13:56 -08:00
47LeCoste 7cbaddbaf3 add suzuki at encoders list in the README.md 2026-01-16 10:28:28 +00:00
RocketGod 38a4d993b8 Merge pull request #47 from RocketGod-git/Fiat-Encoder
Add encoder implementation for Fiat V0 protocol
2026-01-15 22:35:22 -08:00
RocketGod 8e872da27f Add encoder implementation for Fiat V0 protocol
Implemented the encoder for the Fiat V0 SubGhz protocol, including allocation, serialization, and signal generation logic. Updated the decoder and related data structures for consistency, improved serialization/deserialization, and added protocol flags for encoding support. Updated README to list Fiat V0 as an encoder.
2026-01-15 22:33:34 -08:00
47LeCoste fc7f51bb85 remove unused header (furi.h) 2026-01-15 07:51:41 +00:00
47LeCoste 2ca4cb6411 remove unused header (level_duration) 2026-01-15 07:51:11 +00:00
MX 5030750af1 Fix non raw files in sub decode 2026-01-14 23:50:25 +03:00
MX 62db1e63f9 Fix paths, fix missing event
if you want your OLD settings.txt and saved captures to work with NEW update
you need to rename files in /subghz/protopirate from .sub to .psf extension
and place them at apps_data/proto_pirate/saved after extension renaming
config can be copied to apps_data/proto_pirate/settings.txt
2026-01-14 23:23:38 +03:00
MMX a2bbd921e0 Merge pull request #41 from limbo111111/patch-1
Update lock state in protopirate receiver
2026-01-14 23:04:25 +03:00
MMX 2ea9606a45 Merge pull request #40 from limbo111111/patch-2
Refactor lock count handling in protopirate_receiver
2026-01-14 23:04:14 +03:00
MMX 841ebef219 Merge pull request #38 from RocketGod-git/pr-37
Finish PR
2026-01-14 23:00:21 +03:00
MX 5e43af0200 Merge branch 'rg_main' into pr-37 2026-01-14 23:00:10 +03:00
MX e5cc9c3e85 Crash fix, lower stack size
Replace sub decode implementation with @zero-mega code, apply UI fixes
2026-01-14 22:59:31 +03:00
limbo111111 ff2acb36d5 Refactor lock count handling in protopirate_receiver 2026-01-14 20:08:54 +01:00
limbo111111 6daabc32c6 Update lock state in protopirate receiver
Added lock state updates in the receiver view.
2026-01-14 19:49:47 +01:00
47LeCoste f08547485a suzuki encoder header 2026-01-14 11:42:05 +00:00
47LeCoste a0526f8a33 suzuki encoder 2026-01-14 11:41:33 +00:00
RocketGod d7b6616445 Add temp file support for emulation in storage
Refactored capture data writing into a helper and introduced functions to save and delete a temporary file for emulation purposes. Updated the receiver info and emulate scenes to use the temp file, ensuring it is deleted on exit. Also improved filename sanitization and file list building to skip temp and hidden files.
2026-01-13 18:30:26 -08:00
RocketGod c46cf2f6ab Add emulate feature to receiver info scene
Introduces a new custom event and button for emulating receiver info when ENABLE_EMULATE_FEATURE is defined. The emulate action saves the current protocol data and transitions to the emulate scene, with appropriate logging and error handling.
2026-01-13 12:45:26 -08:00
RocketGod f78c153383 Merge pull request #31 from RogueMaster/main 2026-01-12 18:16:12 -08:00
MMX 745e632d1c Add missing stuff to README 2026-01-13 04:54:16 +03:00
MX 62481ee1c6 sub decoder will require more work 2026-01-13 03:51:18 +03:00
RogueMaster eca94f10e4 Merge branch 'RocketGod-git:main' into main 2026-01-12 17:05:58 -05:00
RocketGod 48cf355789 Merge pull request #29 from grugnoymeme/kia2fix
Fix Kia V2 buffer overflow
2026-01-12 14:02:14 -08:00
RogueMaster 4a4993811b Merge branch 'RocketGod-git:main' into main 2026-01-12 16:14:56 -05:00
RocketGod b91f43fcee Merge pull request #33 from xMasterX/fixes_and_improvements
Fixes and improvements
2026-01-12 12:56:07 -08:00
RocketGod c1df48406a Merge pull request #32 from xMasterX/formattt
Apply formatting and add clang format config
2026-01-12 12:50:51 -08:00
MX 822f3ac1c0 Fixes and improvements 2026-01-12 23:29:01 +03:00
MX e1f77c53bc Merge branch 'formattt' into fixes_and_improvements 2026-01-12 23:26:50 +03:00
MX 31c09401b6 apply formatting and add clang format config 2026-01-12 23:20:34 +03:00
RogueMaster bfca595239 FIX VERSION 2026-01-12 00:23:17 -05:00