Commit Graph
68 Commits
Author SHA1 Message Date
MX 7770143097 fix most of the issues
- fix alloc / free
- fix raw file reading buffer size
- remake raw file reading logic
- remake sub decode to stop when heap is low
- disable 2 scenes to free heap
- add comments
- fix crashes caused by previous alloc/free fixes
- alloc worker only for RX
- fix emulation scene hold
- fix emulation scene back button
2026-02-09 16:47:10 +03:00
RocketGod c6f3b947ad Fix memory management and state handling 2026-02-08 22:53:31 -08:00
MMX 767bddf94b Merge branch 'main' into zero-mega 2026-02-06 16:36:53 -05:00
MX b8bdd7a364 display freq and modulation 2026-02-06 11:40:21 +03:00
zero-mega 506ec6ac40 fix VAG encoder 2026-02-05 18:25:41 +01:00
zero-mega 1e5dda16b1 Merge remote-tracking branch 'origin/main' into zero-mega 2026-02-05 18:25:27 +01:00
MX dc886f9053 add some fixes 2026-02-05 01:09:41 +03:00
MX c4ecdef83c add some fixes 2026-02-04 20:57:36 +03:00
MX 4a272e2d0a merge after review fixes 2026-02-04 12:29:03 +03:00
0mega 8a7759108b Vag Encoder WIP 2026-02-04 07:41:12 +01:00
MX 74b8f629a4 Merge branch 'somefixes' into rw_ui_and_improvement 2026-02-03 17:58:22 +03:00
MX bd47a1d290 fix protocol naming 2026-02-03 17:58:15 +03:00
MX 99746e32ca remove WIP add manually 2026-02-03 17:46:44 +03:00
MX 54bb63bc73 Merge branch 'somefixes' into rw_ui_and_improvement 2026-02-03 17:44:38 +03:00
MX f1f59165d6 naming fixes 2026-02-03 17:44:34 +03:00
MX cae95bedcf Merge branch 'somefixes' into rw_ui_and_improvement 2026-02-03 17:41:41 +03:00
MX aaf987dd8c fix button being present where it shouldn't 2026-02-03 17:41:05 +03:00
MX c084750cf3 add changes by @RalphWiggum 2026-02-03 17:09:09 +03:00
RocketGod 11253a9f81 Fix memory issues and crashes 2026-01-30 17:12:54 -08:00
MX a50067aed8 Merge branch 'rg_main' into zm 2026-01-27 03:26:05 +03:00
MX 9426369965 Fixes and final touches 2026-01-27 03:17:49 +03:00
RocketGod b69c23ac19 Refactor storage and radio initialization logic
Removes the file list cache and related logic from protopirate_storage, deferring file browsing to the dialogs file browser. Refactors radio initialization and deinitialization to be performed on-demand in relevant scenes, reducing memory usage and improving modularity. Updates scene logic to use the new file browser and radio management, and adds detailed logging and memory usage tracking for debugging. Also includes minor formatting and heap logging improvements. Will leave logging until we don't need it anymore.
2026-01-26 10:14:25 -08:00
zero-mega b76d1e7dbc Add PSA Encoder 2026-01-26 18:54:57 +01:00
RocketGod 55e8068ed3 Remove mutex usage and simplify file storage logic
Eliminated all mutex-based locking and re-entrancy logic from protopirate_storage.c, simplifying file list management and related functions. Reduced MAX_FILES_TO_DISPLAY to 30 and shortened file entry name buffer. Updated file list builder to allocate and free memory as needed, and added yielding in file enumeration to prevent watchdog lockups. In protopirate_scene_saved.c, limited displayed items to 20 and added GUI yield to prevent lockup. Reduced encoder upload buffer size from 1024 to 512 in fiat_v0.c and ford_v0.c.
2026-01-25 22:22:45 -08:00
MMXandGitHub b79c12a8ba Merge pull request #72 from LeeroysHub/or_receiver_led
Added Cyan blinking LED to Receiver.
2026-01-23 16:25:36 +03:00
MMXandGitHub fbf2f62224 Merge pull request #71 from LeeroysHub/PR_Ford_Display
Add BS Magic to Saved Info View, make visible in Received.
2026-01-23 16:20:31 +03:00
RocketGod 78e8673ea8 Merge branch 'main' of https://github.com/RocketGod-git/ProtoPirate 2026-01-21 19:03:36 -08:00
RocketGod 3a8567be83 Update credits and bump version to 1.7
Added 'Leeroy' and 'MMX' to the contributors and protocol magic credits in README.md and protopirate_scene_about.c. Incremented application version from 1.6 to 1.7 in application.fam.
2026-01-21 19:03:22 -08:00
Leeroy 7bfdeaaac3 Add CYAN blining LED for Receiver (Like SubGhz App) 2026-01-22 10:37:45 +11:00
Leeroy 1823d6438e Moved Receiver Info around so BS Magic isnt off-screen.
* Added spaces for easier viewing
* Swap BS Magic and Btn so BS Magic always fits
2026-01-21 17:07:14 +11:00
Leeroy b49a97a999 Add BS Magic Number to Saved Info View 2026-01-21 17:05:56 +11:00
Leeroy e402bb582c Move TX buttons to + shape 2026-01-21 12:32:52 +11: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
MMXandGitHub a2bbd921e0 Merge pull request #41 from limbo111111/patch-1
Update lock state in protopirate receiver
2026-01-14 23:04:25 +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
limbo111111andGitHub 6daabc32c6 Update lock state in protopirate receiver
Added lock state updates in the receiver view.
2026-01-14 19:49:47 +01: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
MX 62481ee1c6 sub decoder will require more work 2026-01-13 03:51:18 +03:00
MX 822f3ac1c0 Fixes and improvements 2026-01-12 23:29:01 +03:00
MX 31c09401b6 apply formatting and add clang format config 2026-01-12 23:20:34 +03:00
RocketGod a75f80059a Revert "Refactor and enhance protocol storage and KIA protocol handling"
This reverts commit 52baeb9e86.
2026-01-11 20:33:25 -08:00
RocketGod 52baeb9e86 Refactor and enhance protocol storage and KIA protocol handling
Refactored helpers/protopirate_storage.c for improved readability and maintainability, including code style updates and logic simplification. Updated KIA protocol v1 and v2 implementations for better consistency, logging, and CRC handling. Increased stack size and version in application.fam, and added keystore to file assets. These changes improve protocol support, file management, and code clarity.
2026-01-11 20:28:31 -08:00
RocketGod 22889d743d Add preset name conversion and improve preset fallback
Introduced a function to convert full FuriHal preset names to short names used by settings. Improved preset selection logic with clearer fallback handling and updated log messages for better debugging.
2026-01-11 16:30:15 -08:00
RocketGod dc5962525d Refactor file list to use static circular buffer
Replaces dynamic allocation of file entries with a static circular buffer to improve memory usage and reliability. Updates file list building logic to keep only the most recent MAX_FILES_TO_DISPLAY entries, and ensures cache is freed on scene exit to save memory. Also simplifies filename sanitization and capture saving logic.
2026-01-11 16:13:46 -08:00
RocketGod 01e0e1f30c Refactor and extend storage and emulation handling
Improves and refactors protopirate_storage to add cache invalidation, file existence checks, and proper resource management. Updates emulation scene to ensure correct cleanup, resource allocation, and transmitter setup. Adds menu reset to receiver view and ensures proper widget reset in receiver info. Updates saved info scene to use new storage close function.
2026-01-11 15:02:39 -08:00
zero-mega ab6c3df2c5 Fix Kia V1 encoder 2026-01-09 17:08:12 +01:00
0mega aaf6abb4a1 Receiver info scene: Update receiver info scene 2026-01-02 17:15:00 +01:00