Commit Graph
340 Commits
Author SHA1 Message Date
MX c28eaa3c2e Merge branch 'pp_main' into zero-mega 2026-03-07 19:25:28 +03:00
0mega d03567f09f Add Kia V6 Encoder 2026-03-04 17:24:42 +01:00
0mega a54b0ab4a0 PSA faster BF and GUI 2026-03-04 13:17:05 +01:00
MX 7325675e04 fix merge bugs
FAP Build / ufbt: Build for Momentum dev (push) Successful in 1m8s
FAP Build / ufbt: Build for Momentum release (push) Successful in 1m8s
FAP Build / ufbt: Build for OFW dev channel (push) Successful in 1m8s
FAP Build / ufbt: Build for OFW release channel (push) Successful in 1m7s
FAP Build / ufbt: Build for Unleashed dev (push) Successful in 1m6s
FAP Build / ufbt: Build for Unleashed release (push) Successful in 1m6s
2026-02-20 16:14:10 +03:00
MMX 4fab638ca8 Merge pull request 'gull-protocoles-parse' (#17) from gullradriel/ProtoPirate:gull-protocoles-parse into main
Reviewed-on: http://protopirate.net/ProtoPirate/ProtoPirate/pulls/17
Reviewed-by: MMX <mmx@no-reply.protopirate.net>
2026-02-20 08:11:46 -05:00
MX 241ec6d75c fix 2026-02-20 16:06:39 +03:00
MX 2a04a6dd30 Merge remote-tracking branch 'pp_net/zero-mega' into gull-protocoles-parse 2026-02-20 16:02:40 +03:00
zero-mega 36c8dce72d Fix VAG decoder 2026-02-19 17:31:24 +01:00
gullradriel 8f00e382d9 typo on logged variable type 2026-02-17 16:45:00 +01:00
gullradriel 6969a09974 fix test on wrong variable 2026-02-17 16:02:24 +01:00
gullradriel a166eb6235 try-fix encoder 2026-02-15 22:14:20 +01:00
gullradriel 2e5651d5dd merge upstream 2026-02-13 09:41:16 -05:00
RocketGod 7b9f951f42 CI: rerun checks
FAP Build / ufbt: Build for Momentum dev (push) Successful in 2m13s
FAP Build / ufbt: Build for Momentum release (push) Successful in 2m6s
FAP Build / ufbt: Build for OFW dev channel (push) Successful in 2m24s
FAP Build / ufbt: Build for OFW release channel (push) Successful in 2m29s
FAP Build / ufbt: Build for Unleashed dev (push) Successful in 2m12s
FAP Build / ufbt: Build for Unleashed release (push) Successful in 2m7s
2026-02-12 19:16:35 -08:00
gullradriel 75f4283624 use files from file_decoder and not main, dumb me git status 2026-02-12 22:39:05 +01:00
gullradriel b49a964391 reapplied temp_str furi_string 2026-02-12 22:24:41 +01:00
gullradriel 784d106b8d restored from main, reapplied calloc instead of malloc and some furi_checks 2026-02-12 22:21:43 +01:00
gullradriel 2fb96f7ab6 merge upstream 2026-02-12 16:12:12 -05:00
MX 97302f7f79 fix missing check
FAP Build / ufbt: Build for Momentum dev (push) Successful in 40s
FAP Build / ufbt: Build for Momentum release (push) Successful in 1m8s
FAP Build / ufbt: Build for Unleashed release (push) Successful in 1m6s
FAP Build / ufbt: Build for OFW dev channel (push) Failing after 32s
FAP Build / ufbt: Build for OFW release channel (push) Failing after 43s
FAP Build / ufbt: Build for Unleashed dev (push) Successful in 40s
2026-02-12 21:02:09 +03:00
MMX ffd6652cd8 Merge pull request 'TX Power: Fix PA Table so it works on FM Modulations.' (#18) from RalphWiggum/ProtoPirate:main into main
Reviewed-on: http://protopirate.net/ProtoPirate/ProtoPirate/pulls/18
Reviewed-by: MMX <mmx@no-reply.protopirate.net>
2026-02-12 13:01:14 -05:00
gullradriel 66973cf6dc format and correct defines from main 2026-02-12 17:48:41 +01:00
gullradriel a35353fed1 format 2026-02-12 17:45:33 +01:00
gullradriel e483f1db26 restore values from working decoder 2026-02-12 17:44:38 +01:00
gullradriel 078640d074 fix conflict 2026-02-12 16:53:59 +01:00
MX 970b544f4a revert fiat to use working decoder 2026-02-12 18:26:38 +03:00
MX b7f9327113 Merge branch 'pp_main' into gull-protocoles-parse 2026-02-12 16:46:10 +03:00
MX a1fc3cf8a9 button is still broken
FAP Build / ufbt: Build for Momentum dev (push) Successful in 38s
FAP Build / ufbt: Build for OFW dev channel (push) Successful in 38s
FAP Build / ufbt: Build for OFW release channel (push) Successful in 37s
FAP Build / ufbt: Build for Unleashed dev (push) Successful in 37s
FAP Build / ufbt: Build for Unleashed release (push) Successful in 47s
FAP Build / ufbt: Build for Momentum release (push) Successful in 59s
2026-02-12 16:45:40 +03:00
gullradriel 88258a988d move all defines in private c file for clarity 2026-02-12 12:59:38 +01:00
gullradriel 7ab8f6837c testing:
- Harden timing decode, correct Manchester polarity, and size encoder buffer exactly
- Derive exact encoder upload capacity (FIAT_V0_UPLOAD_CAP = 1325 with current constants)
- Fix Manchester Short/Long High/Low event polarity (level maps to duration level)
- Fix end-of-frame off-by-one for btn bits (>= 0x46)
- Zero-init encoder/decoder allocations and reset decoder during alloc
- Reset Manchester state at frame start and ignore very short glitch pulses seen in capture
- Add overflow guards on upload building and yield stop conditions
2026-02-12 12:31:15 +01:00
gullradriel 62b311d96c added missing headers, some defines for caps and duration 2026-02-12 12:30:26 +01:00
gullradriel eb4a328c89 do not free/realloc furi_string as flipper_format_read_string is doing a reset of the string, check for problems and return error 2026-02-12 11:47:27 +01:00
gullradriel c4c7b6baee removed unneeded headers 2026-02-12 11:39:11 +01:00
Leeroy c8ad048424 REFACTOR TX Power 2026-02-12 21:26:25 +11:00
gullradriel 783f5597f9 use calloc instead of malloc, remove not needed anymore variable set to 0 as the calloc do them, furi_check the allocated memory 2026-02-12 11:20:31 +01:00
Leeroy 8557006e68 Remove UNUSED protopirate_set_preset function 2026-02-12 19:44:06 +11:00
Leeroy a0b792e990 TX Power: Fix FM PATable 2026-02-12 19:36:52 +11:00
gullradriel 637092c27e - Harden Manchester timing/reset, shrink encoder emit code
- Add compact timing helpers/macros for consistent TE tolerance checks
- Reset decoder Manchester state + counters in reset() to avoid stale parses
- Make Type2 Manchester decoder use tolerance-based checks (half-bit robustness)
- Compact repeated encoder Manchester bit emission via macro
- Add upload buffer overflow guards in encoder builders
2026-02-12 09:33:04 +01:00
gullradriel 49c86ef68b merge upstream 2026-02-12 02:30:52 -05:00
MX 602b24ee41 fix ui
FAP Build / ufbt: Build for Momentum dev (push) Successful in 37s
FAP Build / ufbt: Build for OFW dev channel (push) Successful in 41s
FAP Build / ufbt: Build for OFW release channel (push) Successful in 38s
FAP Build / ufbt: Build for Momentum release (push) Successful in 1m15s
FAP Build / ufbt: Build for Unleashed dev (push) Successful in 49s
FAP Build / ufbt: Build for Unleashed release (push) Successful in 47s
2026-02-12 03:46:03 +03:00
gullradriel 0271feca44 use calloc instead of malloc, avoid setting variables to zero after 2026-02-12 00:18:49 +01:00
gullradriel 20a1860395 make aut64_pack compilation optional, as it's not (yet?) used in the code 2026-02-11 23:38:04 +01:00
gullradriel ecdee5cf1e make validations optionnal 2026-02-11 23:18:25 +01:00
gullradriel d2c153a5c6 make aut64 validations optional via a define 2026-02-11 23:04:33 +01:00
gullradriel 6e01796a95 Use updated aut64 API, catch errors 2026-02-11 22:42:40 +01:00
gullradriel 7196583200 - API now returns status codes instead of void
- aut64_encrypt/decrypt/pack/unpack now return int
- API now uses pointers everywhere
- Made 0xFF sentinel meaningful
- Strict key validation added and enforced
- aut64_encrypt, aut64_decrypt, and aut64_pack fail fast if the key is invalid
- aut64_unpack() unpacks into dest, then validates the resulting key
- Pointer validation for public API functions
- Removed sizeof(...) loop bounds and replaced with defined sizes
- Avoid reading uninitialized memory / overwriting incorrectly
- Converted hardcoded message[7] to message[AUT64_BLOCK_SIZE - 1].
- Upgraded internal array dimensions to use defines
2026-02-11 22:42:05 +01:00
gullradriel 695d9c3d46 rename AUT64_KEY_STRUCT_PACKED_SIZE to AUT64_PACKED_KEY_SIZE as the size is not the struct size but the packed key size 2026-02-11 16:28:12 +01:00
gullradriel dde432b114 merge upstream 2026-02-11 08:48:03 -05:00
gullradriel 2b65d3e135 format + define helpers description 2026-02-11 11:21:28 +01:00
MMX 33c19c9e97 Merge pull request 'gull-parse-scenes' (#15) from gullradriel/ProtoPirate:gull-parse-scenes into main
FAP Build / ufbt: Build for Momentum release (push) Successful in 39s
FAP Build / ufbt: Build for OFW dev channel (push) Successful in 40s
FAP Build / ufbt: Build for Momentum dev (push) Successful in 1m2s
FAP Build / ufbt: Build for OFW release channel (push) Successful in 37s
FAP Build / ufbt: Build for Unleashed dev (push) Successful in 46s
FAP Build / ufbt: Build for Unleashed release (push) Successful in 56s
Reviewed-on: http://protopirate.net/ProtoPirate/ProtoPirate/pulls/15
Reviewed-by: MMX <mmx@no-reply.protopirate.net>
2026-02-11 05:21:12 -05:00
gullradriel 08d27354a5 fix risky/bon-portable 'inline' usage. Follow flipper zero codebase that mainly use static inline in headers for short functions, which guarantee that it will be inlined 2026-02-11 11:19:51 +01:00
gullradriel 06521f8329 return UNKNOWN if no preset name is given 2026-02-11 11:07:35 +01:00