Commit Graph

911 Commits

Author SHA1 Message Date
RogueMaster
32c9d94f73 Revert "Revert "Revert "Revert "Merge pull request #421 from flipperdevices/skorp/subghz_add_protocol_10""""
This reverts commit ec9542ca0e.
2022-11-22 00:17:56 -05:00
RogueMaster
c1b5bcfc50 Merge pull request #430 from flipperdevices/skorp/subghz_nice_flo_20bit
Skorp/subghz nice flo 20bit
2022-11-22 00:15:42 -05:00
RogueMaster
7ff15d223e Merge branch 'UNLEASHED' into 420 2022-11-15 16:15:35 -05:00
MX
0e9f6bef77 Speedup subghz favourites
if custom modulation was used, its saved in file itself, so no need to load it when using quick access from favourites
2022-11-15 23:00:30 +03:00
RogueMaster
ddb5ae2bd5 Merge branch 'UNLEASHED' into 420 2022-11-13 13:32:13 -05:00
MX
4240b59311 SubGHz: Fix magellan display issue 2022-11-12 22:16:02 +03:00
MX
950dee48a0 Merge branch 'fz-dev' into dev 2022-11-12 16:43:12 +03:00
RogueMaster
4b9f353c78 fmt 2022-11-12 08:37:29 -05:00
RogueMaster
ffbbc7ecde Merge branch 'ofwdev' into 420 2022-11-12 08:35:37 -05:00
Nikolay Minaylov
73441af9c6 BadUSB and Archive fixes (#2005)
* BsdUsb: fix empty lines handling
* Archive: folders and unknown files rename fix

Co-authored-by: あく <alleteam@gmail.com>
2022-11-12 20:55:42 +09:00
hedger
f9730bcafe fbt: lint fixes (#2008)
* lint: exclude "lib" subfolder from naming checks; fbt: moved LINT_SOURCES from literal strings to Dir() nodes
* lint: also exclude hidden directories

Co-authored-by: あく <alleteam@gmail.com>
2022-11-12 19:03:22 +09:00
RogueMaster
e8a76df61d Merge branch 'UNLEASHED' into 420 2022-11-10 20:12:04 -05:00
MX
666d30f2dd API compatibility with OFW part 2
+ Subghz protocol Princeton API symbols added
2022-11-11 03:45:41 +03:00
MX
930b369812 Merge branch 'fz-dev' into dev 2022-11-10 21:38:03 +03:00
RogueMaster
2ce7b4bdcc Merge branch 'ofwdev' into 420 2022-11-10 11:44:55 -05:00
Astra
e7c4b40dbe Force card types in extra actions (#1961)
* Mifare Classic forced read
* Add all the needed card types
* nfc: remove unused scene
* nfc: remove unused worker state
* nfc: fix read card type scene state usage
* nfc: move NfcReadMode to NfcDevData struct
* nfc: fix bank card reading and scene navigation
* nfc magic: fix magic deactifate function

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-11-11 01:29:57 +09:00
Astra
820afd2aec NFC Unit tests part 1.1 (#1927)
* Mifare Classic 1/4K, 4/7b uid, NFC-A: NFC-A is not complete yet, as there are no 4b uid tests. Also, Mifare Classic tests don't cover the key cache yet.
* NFC unit tests require access to the NFC app
* Made nfc_device_save accept full path as an argument
* Move from cstrs to furi strings and fix logic
* nfc tests: fix memory leak
* nfc: add mf_classic_get_total_blocks() to API
* nfc tests: simplify nfc tests
* nfc: fix memory leak in shadow file saving
* nfc: fix set uid scene
* nfc: fix saving files
* nfc: fix preload nfc file path
* nfc: remove comments

Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-11-11 01:20:35 +09:00
RogueMaster
e52cb3ca74 Merge branch 'UNLEASHED' into 420 2022-11-10 10:56:06 -05:00
Skorpionm
769af459cd Merge branch 'dev' into skorp/subghz_nice_flo_20bit 2022-11-10 18:12:33 +04:00
MX
af40b6b020 Move NRF24 driver into plugins, see desc
Major API version downgraded to official one, adding support for launching OFW apps on unleashed, part 1
2022-11-10 10:30:36 +03:00
RogueMaster
abe25b14a9 Merge branch 'UNLEASHED' into 420 2022-11-10 00:52:46 -05:00
MX
e90d335cdf Add value_index to API symbols 2022-11-10 07:13:02 +03:00
MX
684fdc632f Merge branch 'fz-dev' into dev 2022-11-10 06:57:08 +03:00
RogueMaster
1c23a2e0ea Merge branch 'ofwdev' into 420 2022-11-09 15:49:35 -05:00
gornekich
3985b456c3 NFC: fix crash on MFC read (#1993)
* nfc: fix nfc_worker_stop logic
* nfc: fix stop order

Co-authored-by: あく <alleteam@gmail.com>
2022-11-10 03:12:55 +09:00
RogueMaster
b791127c54 Merge branch 'ofwdev' into 420 2022-11-07 16:54:25 -05:00
SkorP
c2319373d5 SubGhz: add protocol Nice_Flo 20bit 2022-11-07 23:29:46 +04:00
Samuel Stauffer
aa2ecbe80f infrared: add Kaseikyo IR protocol (#1965)
* infrared: add Kaseikyo IR protocol

Add Kaseikyo IR protocol support. This protocol is also called the Panasonic protocol and is used by a number of manufacturers including Denon.

The protocol includes a vendor field and a number of fields that are vendor specific. To support the format of address+command used by flipper the vendor+genre1+genre2+id fields are encoded into the address while the data is used for the command.

There are older versions of the protocol that used a reverse bit order that are not supported.

Protocol information:
- https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/src/ir_Kaseikyo.hpp
- http://www.hifi-remote.com/johnsfine/DecodeIR.html#Kaseikyo
- https://www.denon.com/-/media/files/documentmaster/denonna/avr-x3700h_avc-x3700h_ir_code_v01_04062020.doc

* Format and add unit test to Kaseikyo IR codec.

Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
2022-11-07 18:38:04 +04:00
RogueMaster
30dbaea2e8 Merge branch 'ofwdev' into 420 2022-11-05 14:23:42 -04:00
あく
e8913f2e33 Code cleanup: srand, PVS warnings (#1974)
* Remove srand invocation

* PVS High priority fixes

* PVS High errors part 2

* Furi: heap tracing inheritance

* Furi add __builtin_unreachable to furi_thread_catch
2022-11-05 18:07:24 +03:00
RogueMaster
7233c93151 Delete scons 2022-11-04 17:21:52 -04:00
RogueMaster
5c7fe53714 Merge branch 'pr/404' into 420 2022-11-04 17:20:34 -04:00
SHxKenzuto
f07424f66d added 2 hours interval option in shutdown on idle submenu 2022-11-04 21:47:48 +01:00
RogueMaster
17db1286a8 fix issue? 2022-11-04 13:37:07 -04:00
RogueMaster
2cc4dadf19 Merge branch 'pr/401' into 420 2022-11-04 13:18:52 -04:00
RogueMaster
e00002f7b1 nfc magic stuff 2022-11-04 13:08:12 -04:00
MX
0ab400a27e Merge branch 'fz-dev' into dev 2022-11-04 14:34:34 +03:00
RogueMaster
5f86fe47d4 Revert "Merge branch 'ofwdev' into 420"
This reverts commit 430a9be02a, reversing
changes made to e2faf2e0e7.
2022-11-04 05:07:52 -04:00
RogueMaster
430a9be02a Merge branch 'ofwdev' into 420 2022-11-04 05:01:32 -04:00
gornekich
bf8fd71c00 NFC magic cards support (#1966)
* nfc magic: introduce nfc app to work with magic cards
* nfc: add nfc device functions to API
* nfc magic: add bacis scenes
* nfc magic: add wrong card and write confirm scenes
* nfc magic: introduce magic lib
* nfc magic: write magic lib
* nfc magic: add write commands to magic lib
* nfc magic: work on worker
* furi_hal_nfc: add bits data exchage method to API
* nfc magic: rework with new API
* nfc magic: add check and wipe scenes
* nfc magic: add icons, gui fixes
* nfc: format python src

Co-authored-by: あく <alleteam@gmail.com>
2022-11-04 16:01:44 +09:00
RogueMaster
b2840275d2 Merge branch 'UNLEASHED' into 420 2022-11-02 18:13:43 -04:00
MX
c8bc9e26e0 Fix part 1 2022-11-02 23:07:00 +03:00
MX
e1f5999095 update lib paths 2022-11-02 22:54:44 +03:00
MX
79b37556d4 Merge branch 'fz-dev' into dev 2022-11-02 22:53:12 +03:00
hedger
ebc2b66372 fbt fixes for mfbt pt2 (#1951)
* fbt: split sdk management code
* scripts: fixed import handling
* fbt: sdk: reformatted paths
* scrips: dist: bundling libs as a build artifact
* fbt: sdk: better path management
* typo fix
* fbt: sdk: minor path handling fixes
* toolchain: fixed windows toolchain download
* fbt: minor refactorin
* fbt: moved sdk management code to extapps.scons
* fbt: fixed sdk symbols header path; disabled -fstack-usage
* fbt: changed pathing for .py scripts
* fbt: changed SDK_HEADERS pathing; added libusb to SDK; added icon_i.h to SDK; added hw target to SDK meta
* fbt: added libusb headers to SDK
* picopass: include cleanup; api: added subghz/registry.h; api: added mbedtls to exported headers
* picopass: fixed formatting
* fbt: fixed COPRO_ASSETS_SCRIPT
* sdk: added basic infrared apis
* toolchain: added ufbt to list of legal fbtenv callers; updated error messages
* fbt: changed manifest collection & icon processing code
* fbt: simpler srcdir lookup
* toolchain: path management fixes; fbt: fixes for fap private libs paths
* scripts: toolchain: reworked download on Windows
* toolchain: v17
* scripts: added colorlog for logging
* Github: fix unit tests

Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 00:15:40 +09:00
MX
0f1e03fa51 Fix: proper deinit of gpio and spi bus in NRF24 driver 2022-11-02 03:42:38 +03:00
MX
165d9972e7 SubGHz Fixes: BFT fix, other small fixes 2022-11-02 01:05:05 +03:00
RogueMaster
3c085436b8 Merge branch 'UNLEASHED' into 420 2022-10-29 12:04:49 -04:00
MX
8e4595e4f7 fix nfc worker merge issues 2022-10-29 17:21:30 +03:00
RogueMaster
5c219ee7e9 fmt 2022-10-28 23:06:17 -04:00