Commit graph

6729 commits

Author SHA1 Message Date
MX
f21ba616cd
fm238 mod for sommer add manually for rare cases 2024-07-08 08:41:45 +03:00
MX
92c997b9a7
fix decoderaw scene 2024-07-08 08:20:42 +03:00
MX
96b1ca97dc
subghz add novoferm support 2024-07-08 08:10:00 +03:00
MX
ed767b8286
oops 2024-07-08 08:01:12 +03:00
MX
3b74c0733f
js subghz module fixes and improvements
by @Willy-JL
2024-07-08 07:51:20 +03:00
MX
e4f315188b
fbt format 2024-07-08 07:37:28 +03:00
MX
646bc7db23
Merge remote-tracking branch 'OFW/dev' into dev 2024-07-08 00:47:05 +03:00
Konstantin Volkov
9161af293a
Increase github action timeouts (#3763)
Co-authored-by: doomwastaken <k.volkov@flipperdevices.com>
2024-07-07 16:56:08 +01:00
あく
aeabf0447d
[FL-3704] Updater: reset various debug flags on production build flash (#3762) 2024-07-07 13:00:39 +01:00
MX
a7ca56cf4e
Merge remote-tracking branch 'OFW/dev' into dev 2024-07-07 02:22:08 +03:00
あく
d39c3b3776
Fix PVS Warnings (#3760) 2024-07-06 15:05:29 +01:00
WillyJL
a0eab5a371
NFC: Cache plugin name not full path, saves some RAM (#3737)
* NFC: Cache plugin name not full path, saves some RAM
* Remove file_path FuriString from context

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <gornekich@users.noreply.github.com>
2024-07-06 13:18:48 +01:00
Filipe Paz Rodrigues
1510d8773b
CCID: Improve request and response data handling (#3741)
* CCID: Improve request and response data handling
  - Add iso7816_set_response function: serves a helpers to set SW1 and SW2 values
  - improved iso7816_read_response_apdu by correctly parsing Lc and Le values
  - add client script to make testing easier
* lint and rename
* Format
* Review changes: pragma once, typedef
* Move command/response data and datalen into respective structures
* Remove conditional for Lc=0
* Fix comment: Le
* Make PVS happy and fix spelling

Co-authored-by: あく <alleteam@gmail.com>
2024-07-06 12:08:44 +01:00
Konstantin Volkov
248e926a82
Updating bench flipper search algorithm (#3742)
* initial commit, changed flipper search function and unit test runner script
* increased timeouts due to new unpacking delays
* python formatting fixes
* fixed flipper name

Co-authored-by: doomwastaken <k.volkov@flipperdevices.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-07-06 11:49:56 +01:00
あく
cf0cc4fa8d
Furi: count ISR time. Cli: show ISR time in top. (#3751)
* Furi: count ISR time. Cli: show ISR time in top.
* hal: interrupt: macros for interrupt accounting; split FURI_ALWAYS_STATIC_INLINE -> FURI_ALWAYS_INLINE static

Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2024-07-06 11:44:25 +01:00
hedger
7879876ba1
[FL-3863] toolchain: v37 (#3746)
* toolchain: v36
* toolchain: fixed cert path; lib: nanopb: updated to 0.4.8
* fbtenv: rolled back cert path for 3.11
* clang-format: updated config for v18
* linter fixes
* clang-format: properly regenerated config (`clang-format -style=file:.clang-format -dump-config > .clang-format-new; mv .clang-format-new .clang-format`)
* clang-format: AllowShortLoopsOnASingleLine: false
* toolchain: v37
* fbt: compilation_db.py: fixes for Windows
2024-07-05 18:27:21 +01:00
MX
923130ffdb
upd changelog 2024-07-05 05:53:20 +03:00
MMX
b8921920c2
Merge pull request #777 from mishamyte/patch-1
Updated display info to DEZ 8 (actual one)
2024-07-05 05:52:14 +03:00
Mykhailo Shevchuk
6436235f41
Update CHANGELOG.md 2024-07-05 01:07:46 +03:00
Mykhailo Shevchuk
9c8ab2bf3b
Updated to DEZ 8 2024-07-05 01:05:48 +03:00
MX
f7a393ffdb
upd changelog 2024-07-04 22:58:16 +03:00
MX
223de97d8c
NFC: Cache plugin name not full path, saves some RAM [ci skip]
by Willy-JL
2024-07-04 22:53:47 +03:00
Leptopt1los
bd6b2166ce
Merge pull request #776 from korden32/korden32-patch-2
LFRFID: add DEZ 10 display form for EM4100
2024-07-04 22:48:04 +03:00
KorDen
379d3c2008
LFRFID: add DEZ 10 display form for EM4100 2024-07-04 22:42:55 +03:00
MX
460b17e23b
upd changelog 2024-07-04 06:24:46 +03:00
MMX
36e227d24d
Merge pull request #774 from korden32/patch-1
LFRFID: Update t5577 passwords
2024-07-04 06:24:33 +03:00
MX
842922f018
Merge remote-tracking branch 'OFW/dev' into dev [ci skip] 2024-07-04 04:56:04 +03:00
hedger
8c380ebe94
copro: bumped to 1.20.0 (#3727)
* copro: bumped to 1.19.1
* copro: bumped to 1.20.0
2024-07-03 19:31:55 +01:00
Silent
6e0115c2e1
input_srv: Put input state data on the stack of the service (#3748)
* input_srv: Put input state data on the stack of the service
* input_srv: Use post-increment on the global counter

Co-authored-by: あく <alleteam@gmail.com>
2024-07-03 13:09:37 +01:00
Silent
7e0849b44e
Coalesce some allocations (#3747)
* View: Coalesce view model allocations
* SceneManager: Coalesce AppScene allocations
* BufferStream: Coalesce Buffer allocations
* ProtocolDict: Coalesce dict allocations
* DigitalSignal: Coalesce buffer allocations

Co-authored-by: あく <alleteam@gmail.com>
2024-07-03 12:56:13 +01:00
Astra
2715d9a0e1
[FL-3752] Fix iButton/LFRFID Add Manually results being discarded (#3749)
Co-authored-by: あく <alleteam@gmail.com>
2024-07-03 12:44:17 +01:00
RebornedBrain
3224401479
[FL-3835] Ultralight C authentication with des key (#3720)
* Update api_symbols.csv
* Ultralight C 3des implementation added
* Access check for Ultralight cards is now splitted into 2 functions one for ULC card and another for common
* Ultralight C authentication command handlers added
* Update api_symbols.csv and api_symbols.csv
* Length added to ultralight encrypt function
* New structure for storing 3des key added
* Reseting of 3des_key added
* des_context init/deinit added to poller
* New poller step for ultralight c auth added
* Added ultralight c des key to application
* Renamed felica unlock scenes to more generic des auth scenes, because they are now used also for ultralight c
* Show different menus for different ultralight card types
* Update api_symbols.csv and api_symbols.csv
* Some macro defines added
* Different amount of pages will be now read for ultralight C and others
* New unit test for ultralight C
* Some comments and macro replacements
* New function added to api
* Now all data read checks mfulC separately
* Adjusted listener to handle missing 3des_key properly
* Now poller populates 3des_key after reading with auth to card data
* Nfc: rename _3des_key to tdes_key
* Bump API Symbols
* Mute PVS Warnings

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-07-03 12:38:30 +01:00
MX
3dfd907245
Merge remote-tracking branch 'OFW/dev' into dev 2024-07-02 16:25:34 +03:00
MX
d1755a46f9
Merge remote-tracking branch 'OFW/dev' into dev 2024-07-02 16:17:40 +03:00
hedger
95658063af
updater: slightly smaller image (#3740)
Co-authored-by: あく <alleteam@gmail.com>
2024-07-02 13:17:05 +01:00
Georgii Surkov
139660d206
[FL-3846] Event Loop Timers (#3721)
* Implement POC event loop tmers (not all edge cases are handled)
* Use a separate ready list to allow for (re)starting and stopping of timers from callback
* Improve the test application
* Improve timer API and test application
* Improve timeout calculation logic
* Improve timer API, update documentation
* Fix API usage error
* Update doxygen comments
* Revert the old (correct) check
* Improve function naming
* Check whether a timer was on the expired list before processing it
* Implement tick callback
* Add critical sections to improve timer consistency
* Simplify event loop timer API
* Remove redundant search
* Refactor timer logic, use message queue
* Simplify FuriEventLoopTimer API
* Improve event loop timer logic
* Update the f18 target
* Remove superfluous clears
* Correct f18 api symbols
* Fix doxygen comments
* Update .pvsconfig
* Use a double push list instead of deque
* Update .pvsconfig
* Add pending callback functionality
* Restore unprocessed flags when applicable
* Refactor Dolphin app to use FuriEventLoop
* Improve naming
* Update naming some more
* Fix a typo Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com>
* Fix wait time in example
* Bump API version
* Debug: multiple of 25 timings in event loop blink test
* Separate FuriEventLoopTimer to its own set of files
* Improve start time calculation for periodic timers
* Do not use dynamic allocations for timer requests
* Split the tick functionality in separate files, rearrange code
* Improve timer queue handling
* Properly reset GPIO pins in the test app
* Properly initialise GPIO pins in the test app too
* Furi: variable naming in event loop
* Furi: fix spelling in event loop

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com>
2024-07-02 13:09:50 +01:00
WillyJL
bf90843f25
Updater: Fix double dir cleanup (#3743) 2024-07-02 11:54:28 +04:00
MX
0812cd30b2
Merge remote-tracking branch 'OFW/dev' into dev 2024-07-01 22:18:36 +03:00
hedger
14b37a68b2
cli: storage: minor subcommand lookup refactor (#3739)
Co-authored-by: あく <alleteam@gmail.com>
2024-06-30 19:20:12 +01:00
Zinong Li
d36396f35b
LFRFID Securakey: Add Support for RKKTH Plain Text Format (#3728)
* Create protocol_securakey.c
* decode and render done
* Support for Radio Key Securakey
  Support both 26- and 32-bit format
  Solves issue #2619
* debugs and improvements
* Formatting in response to requested changes
* fixed wiegand parity bit calculation
* format
* debug unnecessary assert
* LfRfid: swap vendor and protocol names in securakey
* fixed manually generated keys issues
* fix bit length render error caused by bit length fix
* 1.0
* edit the citation in comments
* backward compatibility
* debug
* debug preamble false positives
* temporary fix: writing RKKTH causes second to last byte not encoded. unknown reason
* slightly more elegant solution to the weird bug
* plausible solution, much more elegant
* finally fixed it. stupid mistake
* clean up and format. ready for new PR

Co-authored-by: あく <alleteam@gmail.com>
2024-06-30 19:11:49 +01:00
Astra
2b0b5b02b5
[NFC] Add mf_classic_set_sector_trailer_read function (#3733)
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-06-30 18:54:55 +01:00
Astra
81e2736145
[FL-3831] Separate editing and renaming in iButton and LFRFID (#3735)
Co-authored-by: あく <alleteam@gmail.com>
2024-06-30 12:34:13 +01:00
Ruslan Nadyrshin
9a02e23dc7
New js modules documentation added (#3736)
* New js modules documentation added
* Documentation: Spelling and formatting

Co-authored-by: ElectronicsInFocus <rnadyrshin@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-06-30 12:18:46 +01:00
Astra
0b2827836d
[FL-3860] Update link to mfkey32 (#3738)
Co-authored-by: あく <alleteam@gmail.com>
2024-06-30 11:54:59 +01:00
hedger
fcbcb6b5a8
Updater: resource compression (#3716)
* toolbox: compress: moved decompressor implementation to separate func
* toolbox: compress: callback-based api; cli: storage unpack command
* toolbox: compress: separate r/w contexts for stream api
* targets: f18: sync API
* compress: naming fixes & cleanup
* toolbox: compress: using hs buffer size for stream buffers
* toolbox: tar: heatshrink stream mode
* toolbox: compress: docs & small cleanup
* toolbox: tar: header support for .hs; updater: now uses .hs for resources; .hs.tar: now rewindable
* toolbox: compress: fixed hs stream tail handling
* updater: reworked progress for resources cleanup; rebalanced stage weights
* updater: single-pass decompression; scripts: print resources compression ratio
* updater: fixed warnings
* toolbox: tar: doxygen
* docs: update
* docs: info or tarhs format; scripts: added standalone compression/decompression tool for heatshrink-formatted streams
* scripts: tarhs: fixed parameter handling
* cli: storage extract command; toolbox: tar: guess type based on extension
* unit_tests: added test for streamed raw hs decompressor `compress_decode_streamed`
* unit_tests: compress: added extraction test for .tar.hs
* rpc: autodetect compressed archives
* scripts: minor cleanup of common parts
* scripts: update: now using in-memory intermediate tar stream
* scripts: added hs.py wrapper for heatshrink-related ops (single object and directory-as-tar compression)
* scripts: naming fixes
* Toolbox: export compress_config_heatshrink_default as const symbol
* Toolbox: fix various types naming
* Toolbox: more of types naming fixes
* Toolbox: use size_t in compress io callbacks and structures
* UnitTests: update to match new compress API
* Toolbox: proper path_extract_extension usage

Co-authored-by: あく <alleteam@gmail.com>
2024-06-30 11:38:48 +01:00
KorDen
3b4183f4dd
LFRFID: Update t5577 passwords
Removed duplicates; added few more China cloners pw
2024-06-30 10:09:19 +03:00
MX
160d6c319c
upd changelog 2024-06-27 14:18:09 +03:00
MMX
2b25c14374
Merge pull request #771 from Willy-JL/emv-transactions-restructure
NFC: EMV Transactions less nested, hide if unavailable
2024-06-27 14:14:14 +03:00
MMX
c93eb07213
Merge pull request #770 from Willy-JL/js-widget-keyboard-refactor
JS: Refactor widget and keyboard modules, fix crash
2024-06-27 14:14:01 +03:00
MX
a91a4af053
Merge remote-tracking branch 'OFW/dev' into dev 2024-06-27 04:36:00 +03:00