Commit graph

97 commits

Author SHA1 Message Date
MX
2e787dea47
merge ofw pr 3868 [ci skip]
by zinongli

LFRFID: Fix Guard GProxII False Positive and 36-bit Parsing
2024-09-04 04:46:31 +03:00
MX
d2f0fbad45
Merge remote-tracking branch 'OFW/astra/gproxii-fix-detection' into dev 2024-09-04 03:17:29 +03:00
MX
00a0c6ee1a
Merge remote-tracking branch 'OFW/dev' into dev 2024-09-04 03:16:37 +03:00
Astra
a8482984de Fix incorrect parity starting bit 2024-09-03 17:42:49 +09:00
Astra
14a49759ce Fix detection of GProx II cards and false detection of other cards as GProx II 2024-09-03 17:20:49 +09:00
Zinong Li
5272eb7550
Publishing T5577 page 1 block count macro (#3864)
* publishing t5577 page 1 block count macro

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-09-02 18:03:56 +09:00
MX
856fe752de
Merge remote-tracking branch 'OFW/dev' into dev 2024-08-02 11:09:56 +03:00
BarTender NZ
bec6bd381f
Add lfrfid GProxII support (#3796)
* Add lfrfid GProxII support
* Add rfid GProxII support and correct linting issues.
* Add GProxII support for 26 and 36 bit cards
* Add GProxII 26 and 36 bit key - fixing minor typos
* Add GProxII 26 and 36 bit key - fix typo
* Add GProxII 26 and 36 Bit support - Change comment to not fail lint checking on XOR Value

Co-authored-by: あく <alleteam@gmail.com>
2024-08-01 07:21:49 +09:00
MX
57f3bce8e3
merge manually formatted stuff too 2024-07-16 01:01:17 +03:00
MX
726cb770d0
formatting 2024-07-15 20:02:45 +03:00
hedger
ffa3996a5e
[FL-3867] Code formatting update (#3765)
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard:        c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev

Co-authored-by: あく <alleteam@gmail.com>
2024-07-15 13:38:49 +09:00
MX
e4f315188b
fbt format 2024-07-08 07:37:28 +03:00
MX
a7ca56cf4e
Merge remote-tracking branch 'OFW/dev' into dev 2024-07-07 02:22:08 +03: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
Mykhailo Shevchuk
9c8ab2bf3b
Updated to DEZ 8 2024-07-05 01:05:48 +03:00
KorDen
379d3c2008
LFRFID: add DEZ 10 display form for EM4100 2024-07-04 22:42:55 +03: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
MX
ed2cef5eb0
merge ofw PR 3728 [ci skip]
by zinongli

https://github.com/flipperdevices/flipperzero-firmware/pull/3728/files
2024-06-22 17:17:27 +03:00
MX
ec747892c9
Merge remote-tracking branch 'OFW/dev' into dev [ci skip] 2024-06-13 23:27:27 +03:00
Zinong Li
e7d0afdc50
[LFRFID] Added Support for Securakey Protocol (#3697)
* 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

Co-authored-by: あく <alleteam@gmail.com>
2024-06-13 12:55:51 +01:00
MX
17dbb4105d
Merge remote-tracking branch 'OFW/dev' into dev 2024-06-06 00:35:40 +03:00
hedger
03196fa110
cleanup of various warnings from clangd (#3682)
* cleanup of various warnings from clangs
* lfrfid_debug: cast fixes
* subghz: binraw: round->roundf
* furi: thread: updated internal stack size variable to size_t
* github: fail faster on unsuccessful build
* unit_tests: double trouble
2024-06-03 14:43:23 +01:00
Leptopt1los
a6139b01ce
Electra non-initialized encoded epilogue on render fix (#3666) 2024-05-27 12:31:26 +01:00
Methodius
ba8dd58dee
electra non-initialized encoded epilogue on render fix 2024-05-24 21:37:17 +03:00
Leptopt1los
a86aeface5
electra lfrfid protocol implemented (#3640) 2024-05-15 00:27:35 +10:00
MX
a89a67d103
fix naming 2024-05-03 23:04:58 +03:00
Methodius
7077d588c7
electra protocol rename. again 2024-05-01 21:12:06 +03:00
Methodius
70cdd26855
electra cleanup, protocol description added 2024-04-21 21:03:10 +03:00
Methodius
5bf16e7e0e
no more hardcoded epilogue (for now, whitelist will be great if it is possible) 2024-04-19 23:17:18 +03:00
Methodius
7b99f0b0bb
Merge remote-tracking branch 'origin/dev' into electra 2024-04-19 18:07:23 +03:00
MX
e436ea275a
Merge remote-tracking branch 'OFW/dev' into dev 2024-03-29 14:05:07 +03:00
Georgii Surkov
64bd2f9c84
[FL-3677, FL-3798] RFID Improvements (#3524)
* Update saved_info and read_success scenes
* Update EM4100 rendering
* Update HIDExt rendering
* Update Gallagher rendering
* Update HidProx rendering
* Update IOProx rendering
* Update H10301 rendering
* Update PAC/Stanley rendering
* Add strcasecmp() to API, better manufacturer/name handling
* Update Viking rendering
* Update FDX-A rendering
* Update Pyramid rendering
* Update Indala26 rendering
* Update Idteck rendering
* Update Keri rendering
* Update Nexwatch rendering
* Update Jablotron rendering
* Update Paradox rendering
* Truncate long Hex string on scene_read_suceess
* Fix formatting
* Update AWID rendering
* Update FDX-B rendering
* Tweak string formatting in various screens
* More read_success view tweaks
* Fix formatting
* Fix Pyramid brief rendering
* Reset saved key menu when going back
* Reset other menus on back where applicable
* Update confirmation scenes
* Update emulation scene
* Update delete scene
* Update raw read info screen
* Update raw read scene, fix crash
* Update raw read success scene
* Update write scene
* Always return to SceneSelectKey after saving
* Update SceneWriteSuccess and SceneDeleteSuccess
* Replace closing parens with dots
* FL-3798: Fix special formatting in text_box
* Simplify SceneReadSuccess
* Fix crash when having a trailing newline in text_box
* Bump API symbols version
* Make PVS happy
* Format sources

Co-authored-by: あく <alleteam@gmail.com>
2024-03-29 12:32:43 +09:00
MX
7c0939ad52
Merge remote-tracking branch 'OFW/dev' into dev 2024-03-25 14:23:44 +03:00
MX
585b7f963d
Api Symbols: replace asserts with checks
merge ofw commit
2024-03-25 13:53:32 +03:00
hedger
ee36c66572
fbt: doxygen target (#3510)
* fbt: doxygen target
* github: adjustments for doxygen
* github: always generate docs, only upload for dev
* doxygen: fixed exclusion path for awesome-css
* github: stricter check for push ref
* github: bumped action version to fix node.js deprecation
* github: added PVS report url to workflow summary
* github: pvs: reworked report URL handling
* github: added size report to summary
* docs: added `doxygen` target
* fbt: common naming scheme for COMSTR
* Documentation: fix warnings and errors
* Doxygen: stricter warning checks
* fbt: "doxy" target, opens generated doxygen documentation in browser
* github: doxygen: now using edge (1.10) version

Co-authored-by: あく <alleteam@gmail.com>
2024-03-21 01:32:53 +09:00
あく
acc39a4bc0
Api Symbols: replace asserts with checks (#3507)
* Api Symbols: replace asserts with checks
* Api Symbols: replace asserts with checks part 2
* Update no args function signatures with void, to help compiler to track incorrect usage
* More unavoidable void
* Update PVS config and code to make it happy
* Format sources
* nfc: fix checks
* dead code cleanup & include fixes

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
2024-03-19 23:43:52 +09:00
MX
f88da8b0c3
test swap em4100 t5577 blocks (issue 3463 ofw) 2024-03-15 09:32:42 +03:00
Methodius
78e6c236c7
electra protocol added 2024-02-28 15:13:54 +09:00
MX
2c5973be22
better naming [ci skip]
16 clock merged but still not working, waiting for updates in OFW
2024-02-15 14:09:49 +03:00
MX
62edabe9dd
Merge branch 'ofw_dev' into dev 2024-02-15 13:56:57 +03:00
Radek Pilar
87804374c5
lfrfid/em4100: added support for different bit rates (#3410)
* lfrfid/em4100: added support for different bit rates
* Format Sources

Co-authored-by: Radek Pilar <radek.pilar@apollogames.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-02-15 15:31:04 +07:00
Leptopt1los
26ac455fb9
T5577 lib: write with mask function added (#3362)
* T5577 lib: write with mask function added
* t5577_write_with_mask: with_password param added

Co-authored-by: あく <alleteam@gmail.com>
2024-02-15 13:10:48 +07:00
Methodius
cc457fade2
total cleanup. finally, bitlib 2024-02-14 18:34:26 +03:00
MX
6d15c23231
Merge branch 'ofw_dev' into dev 2024-02-14 12:12:54 +03:00
Leptopt1los
dd988ba449
bit_lib and nfc_util refactor (#3383)
* nfc_util functions for processing bytes moved into bit_lib
* bitlib test update
* bit_lib moved from lfrfid to standalone lib
* Added bit functions for any supported data types
* Error fix and api add
* Added test for 64
* Added doc
* Testcase for 64 rewrited
* Realization error fix
* API version bump
* sync api version, fix after-merge old libs usage
* fix build errors
* build fix
* fbt format

Co-authored-by: assasinfil <nfa57643@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-02-14 11:41:42 +07:00
MX
603421bd8c
fix display 2024-01-31 20:19:39 +03:00
MX
398a468fd7
disable em4100 16clk due to non working read
32 is working well
2024-01-31 18:32:48 +03:00
Radek Pilar
6bfa591e92
lfrfid/em4100: added support for different bit rates 2024-01-31 16:37:49 +03:00
Methodius
39e9dd0ab0
T5577 write/clear with custom password option added 2024-01-20 07:47:45 +03:00
John Scarfone
f37d00a8ba
Bugfix: Strip last parity bit from decoded FDX-B data (#3199)
* remove last parity bit from buffer
* add unit tests
* zap old debug logging

---------

Co-authored-by: Sergei Gavrilov <who.just.the.doctor@gmail.com>
2024-01-19 23:22:28 +03:00