Commit Graph

316 Commits

Author SHA1 Message Date
RogueMaster
4a8c814daf Merge branch 'UNLEASHED' into 420 2022-11-23 15:28:31 -05:00
g3gg0
73111c4ac1 optimized ISO15693 code 2022-11-23 21:25:36 +01:00
MX
7829428455 Merge branch 'fz-dev' into dev 2022-11-23 19:21:50 +03:00
Sergey Gavrilov
c511c67e71 Core: thread allocation shortcut (#2007)
* Core: thread alloc+set shortcut
* Apps: use thread allocation shortcut
* Mark some service threads as services
* Init BT as soon as possible

Co-authored-by: あく <alleteam@gmail.com>
2022-11-23 21:49:17 +09:00
g3gg0
b1cd358bfb reworked nfca signal generation, added idle time before sending response 2022-11-23 02:17:18 +01:00
g3gg0
9d07f8db29 minimal speedups for mifare_classic.c
included missing nfcv.c API update
2022-11-23 02:16:52 +01:00
Michael Huebler
fa135c3249 NFC: Accept non-parsed apps in Mifare DESFire.
Fixes #2040
2022-11-22 14:08:45 +01:00
g3gg0
021695b2a3 use sequences, but bake them before sending. required for shorter signal sequences, causing higher setup time 2022-11-22 02:11:09 +01:00
g3gg0
116528f871 sync bit phases 2022-11-22 01:39:46 +01:00
g3gg0
eb98c7b246 rework NfcA and simplify a bit
digital_sequence_bake added for testing purpose
2022-11-22 00:34:09 +01:00
g3gg0
ae80d06e93 properly initialize DigitalSequence for NfcA 2022-11-21 18:40:54 +01:00
g3gg0
8b4e6de56e fix NfcA 2022-11-21 17:38:13 +01:00
g3gg0
a1ae1ed515 switch NfcA to digital sequence also
updated DigitalSequence API
2022-11-21 15:25:12 +01:00
g3gg0
aad093a4b5 smaller code cleanups 2022-11-21 13:49:19 +01:00
g3gg0
cd241a2901 switch to DigitalSequence 2022-11-21 13:36:16 +01:00
g3gg0
820ccb9775 switch to signal sequence (nonfunc) 2022-11-21 01:21:15 +01:00
g3gg0
f2457b6ee5 switch to scalable timebase for digital reader to prevent overflows
added yielding to emulation loop
2022-11-19 17:03:55 +01:00
g3gg0
01137a5b6e added pulse_reader for DMA based NFC signal reading
updated nfcv to use pulse_reader instead of bitbanging
2022-11-19 02:45:33 +01:00
g3gg0
24f8db3c27 temporary DMA based timer capturing 2022-11-19 00:22:41 +01:00
g3gg0
d6903a4a06 some more comments
updated API file
2022-11-17 21:58:17 +01:00
g3gg0
971e0093c4 cleaned up SLIX code
fixed byte order mixup
read larger cards
2022-11-17 21:49:29 +01:00
g3gg0
b4802247df always save file even when tag was not locked 2022-11-17 01:45:22 +01:00
g3gg0
75f5e6604b separate ISO15693 basic and SLIX extensions a bit more
changed save format to reflect this
executing emulation from browser now also works
2022-11-17 01:35:39 +01:00
g3gg0
bcd33ca125 added NfcV emulation 2022-11-14 21:12:18 +01: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
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
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
MX
684fdc632f Merge branch 'fz-dev' into dev 2022-11-10 06:57:08 +03:00
g3gg0
fe216b4ddd implemented unlock, read, save sequence 2022-11-09 22:59:09 +01:00
RogueMaster
1c23a2e0ea Merge branch 'ofwdev' into 420 2022-11-09 15:49:35 -05:00
g3gg0
fa74fc9541 fix naming ReadAuth->Unlock 2022-11-09 21:19:12 +01: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
g3gg0
c840e9ad49 added ISO15693 reading, saving and revealing from privacy mode (unlock) 2022-11-09 14:10:05 +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
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
RogueMaster
f18e7725b4 Merge branch 'UNLEASHED' into 420 2022-10-28 13:09:03 -04:00
MX
4da3f9cf15 Merge branch 'fz-dev' into dev 2022-10-28 19:43:22 +03:00