Commit Graph

486 Commits

Author SHA1 Message Date
g3gg0.de ae1e93e519 DigitalSignal: use cyclic DMA buffer for sequences 2023-02-04 01:39:56 +01:00
g3gg0.de 61ac844f56 Merge branch 'DigitalSequence_PulseReader' of https://github.com/g3gg0/flipperzero-firmware into DigitalSequence_PulseReader 2023-02-01 23:39:05 +01:00
g3gg0.de f7965fa4da Merge branch 'dev' into DigitalSequence_PulseReader 2023-02-01 23:38:55 +01:00
g3gg0.de 9268ea121f DigitalSequence: fix issues with concatenation of same levels and spurious bit flips 2023-02-01 23:25:23 +01:00
Angel a8e5f22500 LF-RFID: add CRC calculation to paradox protocol (#2299)
Co-authored-by: Angel <angel@Zoomies>
Co-authored-by: あく <alleteam@gmail.com>
2023-01-29 18:23:45 +07:00
Emily Trau 24a23e5dc7 debug apps: made runnable as .faps; sdk: resolved additional APIs in use by faps (#2333)
* sdk: resolve additional APIs in use by faps
* debug tools: fixed battery_test, bt_debug, display_test, rpc_debug

Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-01-27 16:41:55 +07:00
Giacomo Ferretti 126a9efd09 NFC: change from int8_t to uint8_t (#2302)
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-01-27 15:21:52 +07:00
Giacomo Ferretti eee5c35400 NFC: add MIFARE MINI support (#2307)
* NFC: add MIFARE MINI support
* Move new value to end of enum
* nfc: added missing unit test

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-01-27 12:51:47 +07:00
Emily Trau 4dc4d34d04 emv: parse track1&2 equivalent data (#2332)
* emv: parse track1&2 equivalent data
* emv: alternate expiry parser
* nfc: log EMV track1&2 data to trace output

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-01-27 12:10:08 +07:00
Krzysztof Zdulski 8fc834090d nfc: Fix sector reads when one block is unreadable for MIFARE Classic (#2296)
* Fix sector reads when one block is unreadable
* Auth on the correct block instead of first
* Fix in sector reader as well
* Apply patch by @gornekich

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-01-27 12:00:25 +07:00
Krzysztof Haładyn (krzys_h) 5134f44c09 nfc: Fix crash when using debug PCAP trace (#2338) 2023-01-26 15:28:36 +07:00
Sergey Gavrilov 709fa633ff ELF-loader: wait for notification to complete on app exit (#2335) 2023-01-25 12:15:01 +07:00
あく 8fe801660b Merge branch 'dev' into DigitalSequence_PulseReader 2023-01-17 19:55:28 +03:00
hedger 341610b8a1 [FL-3080] fbt: PVS support (#2286)
* fbt: added firmware_pvscheck & firmware_pvs targets for *nix
* fbt: pvs support on Windows
* fbt: additional fixes & docs for PVS support
* fbt: fixes for updater env configuration
* github: reworked pvs workflow
* vscode: added PVS shortcut
* pvs: added --ignore-ccache flag
* fbt: pvs: opening web browser if there are warnings
* fbt: pvs: added browser handler for mac
* github: fixed report path for PVS
* fbt: pvs: fixed report upload path
* removed intentional PVS warning
* fixed more PVS warnings
* fixed secplus_v1 PVS warning
* fbt: added PVSNOBROWSER flag
* github: setting PVSNOBROWSER for pvs runs
* fbt: less debug output

Co-authored-by: あく <alleteam@gmail.com>
2023-01-17 15:55:49 +03:00
g3gg0.de ff6da8421c Merge branch 'DigitalSequence_PulseReader' of https://github.com/g3gg0/flipperzero-firmware into DigitalSequence_PulseReader 2023-01-16 18:12:48 +01:00
g3gg0.de 19bcf0e44a digital_signal: keep lock until all DMA transfers have finished 2023-01-16 18:09:35 +01:00
g3gg0.de 34d9fa4529 digital_signal: fix memory leak 2023-01-16 10:51:38 +01:00
Eric Betts 9e1a6a6d2e relocate R_ARM_CALL (#2305) 2023-01-16 12:36:59 +03:00
Georgii Surkov 75e9de12b0 [FL-3078] Per protocol signal repeat count (#2293)
* Better Infrared protocol file structure
* Rename InfraredProtocolSpec to InfraredProtocolVariant
* Slightly better names
* Add repeat count field to protocol variant description
* Repeat the signal the appropriate number of times when brute-forcing
* Repeat the signal the appropriate number of times when sending via worker
* Better signal count logic in infrared_transmit
* Better variable names
* Convert some raw signals to messages in tv.ir

Co-authored-by: あく <alleteam@gmail.com>
2023-01-13 16:50:19 +03:00
あく 8af14abf62 Merge branch 'dev' into DigitalSequence_PulseReader 2023-01-07 16:34:10 +09:00
yan0f 9740dd8c75 Fix typos in source code (#2258) 2023-01-07 01:06:50 +09:00
あく 41c43f4805 Various improvements: Toolbox, Updater and Unit Tests. (#2250)
* Toolbox: add seek to character stream method. UpdateUtils: reverse manifest iterator. UnitTests: more unit tests.
* Target: bump API version. Updater: delete empty folders from manifest before resource deployment.
* UnitTests: use manifest from unit_tests folder instead of global one
* Make PVS happy
* sector cache: allocate always
* Better PVS config for manifest.c
* PVS: Move exception outside of condition
* PVS: remove confusing condition

Co-authored-by: SG <who.just.the.doctor@gmail.com>
2023-01-06 16:31:17 +10:00
g3gg0.de e1c92269f7 added recovery if the timer already expired 2023-01-03 02:10:30 +01:00
g3gg0.de 11e3d47301 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into DigitalSequence_PulseReader 2023-01-02 10:57:29 +01:00
g3gg0.de 197b6725f7 digital_signal: remove assembly code, limiting the performance but increasing portability 2022-12-30 16:34:52 +01:00
g3gg0.de 4107fb9b55 digital_signal: reduce code complexity of digital_signal_update_dma() by only reconfiguring DMA2 2022-12-30 16:18:55 +01:00
Georgii Surkov 95f8895b43 Add float_tools to SDK api (#2225) 2022-12-30 15:52:53 +03:00
g3gg0.de a1f1618648 pulse_reader: further optimize assembly code 2022-12-30 12:48:01 +01:00
g3gg0.de efa43048a1 Merge branch 'DigitalSequence_PulseReader' of https://github.com/g3gg0/flipperzero-firmware into DigitalSequence_PulseReader 2022-12-30 10:51:49 +01:00
g3gg0.de 5856612182 digital_signal: show unoptimized and optimized code for digital_signal_update_dma() next to each other 2022-12-30 10:50:55 +01:00
あく ef478605e7 Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-30 13:45:45 +09:00
g3gg0.de e8bf252299 Merge branch 'DigitalSequence_PulseReader' of https://github.com/g3gg0/flipperzero-firmware into DigitalSequence_PulseReader 2022-12-30 02:20:24 +01:00
g3gg0.de 8b81fb921c digital_signal/pulse_reader: allow parameters for free to be NULL 2022-12-30 02:19:13 +01:00
Thomas Roth 26e5527a93 Mifare dictionary attack performance improvements. (#2173)
* NFC dictionary attack performance improvements.
* Remove unnecessary assignment
2022-12-29 14:20:01 +09:00
g3gg0.de c4ef534af5 Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-28 23:16:06 +01:00
g3gg0.de 823ff9503a Merge branch 'DigitalSequence_PulseReader' of https://github.com/g3gg0/flipperzero-firmware into DigitalSequence_PulseReader 2022-12-28 22:44:52 +01:00
g3gg0.de 3a42ab189f make structures private, add C implementation of digital_signal_update_dma() 2022-12-28 22:43:39 +01:00
Skorpionm ea054423b0 [FL-3074] SubGhz: CAME 12 bit encoder fix guard time (#2210)
* SubGhz: CAME encoder fix guard ime
* SubGhz: fix 2 encoder CAME

Co-authored-by: あく <alleteam@gmail.com>
2022-12-29 05:29:23 +09:00
あく 6ea375c70d Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-29 02:28:14 +09:00
Konstantin Volkov 27ee0f73f7 Fixing various typos in readme files #2208
Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com>
2022-12-28 23:30:20 +09:00
g3gg0.de 9f8a86adef Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-28 14:41:46 +01:00
g3gg0.de 60f56cc048 pulse_reader: add call to set GPIO pull direction 2022-12-28 14:40:29 +01:00
Astra ded7e727d0 [FL-3060] New MFC Bruteforce animation (#2190)
* Change the wording in the headers
* Add support for text in the progress bar
* New MFC key bruteforce screen
* Typo fix
* nfc: rename Flipper Dict to System Dict
* elements: fix types
* Display the correct key attack sector

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-12-27 18:14:03 +09:00
Skorpionm 1390f10a6f [FL-3068] SubGhz: add Holtek_ht12x protocol (#2187)
* SubGhz: add Holtek_ht12x protocol
* SubGhz: add unit_test holtek_ht12x
* SubGhz: correct string formatting

Co-authored-by: あく <alleteam@gmail.com>
2022-12-27 17:29:21 +09:00
Georgii Surkov 8582670a34 [FL-2811] Fix PVS-Studio warnings (#2142)
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-12-26 21:13:30 +09:00
gornekich 73056d34ff pulse_reader: remove from API, allow to link with faps
Signed-off-by: g3gg0.de <git@g3gg0.de>
2022-12-21 21:49:28 +01:00
g3gg0.de b9d7e5b41e ran format_py 2022-12-21 17:36:51 +01:00
g3gg0.de f92776c457 pulse_reader_stop now deinits GPIO as recommended by @gornekich 2022-12-21 15:38:03 +01:00
g3gg0.de 126c5847b5 Merge branch 'dev' into DigitalSequence_PulseReader 2022-12-21 01:06:38 +01:00
g3gg0.de 70faa47dee fix starting level detection in pulse_reader 2022-12-21 01:01:16 +01:00