Commit Graph

2513 Commits

Author SHA1 Message Date
Willy-JL
5798446a09 BadKB: Choose BT Pairing security mode (YesNo, PIN Type, Pin Y/N) 2024-04-17 02:47:23 +01:00
Willy-JL
a19598c44d BadKB: Improve BT Remember handling 2024-04-17 02:45:43 +01:00
Willy-JL
053040e308 BadKB: Fix mac address for remember on/off 2024-04-17 01:22:43 +01:00
Willy-JL
3b490d5d1f BLE: Allow bonding with GapPairingNone 2024-04-17 01:21:41 +01:00
Willy-JL
a3b6a2a04f Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-04-17 00:12:26 +01:00
gornekich
1a40fae003 [FL-3750] Mf Desfire multiple file rights support (#3576)
* mf desfire: remove unused type
* mf desfire: continue reading after failed get free mem cmd
* mf desfire: fix processing read master key settings command
* mf desfire: don't read applications if they are auth protected
* mf desfire: handle multiple rights
* mf desfire: fix PVS warnings
* mf desfire: fix print format
* mf desfire: fix logs
* mf classic: add send frame functions to poller
* unit tests: add test from mfc crypto frame exchange
* mf classic: add documentation
* mf classic: fix incorrect name
* target: fix api version
2024-04-16 14:55:24 +09:00
Willy-JL
6608b89626 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into mntm-dev 2024-04-11 03:33:57 +01:00
Willy-JL
c02be75868 Merge branch 'zlo/allocator-playground' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-04-11 03:15:09 +01:00
MX
2443a702c9 update nfc parser
by zacharyweiss
2024-04-10 15:38:57 +03:00
MX
744ef8138e subghz add manually fixes 2024-04-10 15:26:47 +03:00
MX
b3151c563f Merge remote-tracking branch 'OFW/dev' into dev 2024-04-10 15:18:09 +03:00
RebornedBrain
fb9728d570 [FL-3772] Felica poller (#3570)
* New types for felica poller
* New functions for felica data transmissions
* Felica memory map extended with new fields
* Init/deinit of mbedtls context added for felica encryption
* Functions for session key and mac calculations added
* Raw felica_poller implementation added
* Removed MAC type parameter from check_mac function
* Replaced all data fields needed for auth with context structure
* Clean up felica_poller.c
* Now RC block is filled with random numbers
* New parameter for counting well-read blocks
* Some cleanups
* Felica file save and load logic added
* Now we use card key from context for session key calculation
* Copying card key to card block from auth context when both authentications succeeded, otherwise decrement blocks count by 1
* New felica poller event added
* Moved some data structions to public namespace
* FelicaAuthenticationContext struct moved to felica.h
* Field type and name changed for better ones
* Helper functions for felica_auth added to the app
* New scene for felica card key input added
* Logic for felica key input added
* Auth context request processing added
* Added block index definitions and replaced all index numbers with them
* More macro defines
* Replace nesting with do while block
* New function for write operations mac calculation added
* Replace nesting with do while block
* Make functions static for now because they are used internally
* Wrote some comments
* Raw felica render implementation
* New felica scenes
* Adjusted felica dump rendering according design requirements
* New felica scene added
* Helper for switching scene during unlock added
* Added warning scene and transfer to it
* Moved unlock scene logic to separate files
* Magic number changed
* New felica render logic
* Felica scenes adjusted according to design requirements
* Felica poller cleanups
* Some asserts added and some fixed
* Replcaed asserts to checks in public api
* Fixed pvs warnings in felica_poller
* New event for felica_poller added for incomplete read actions
* Handling of new poller event added
* Update SConscript with felica files
* Update api_symbols.csv with felica functions
* Sync API versions

Co-authored-by: あく <alleteam@gmail.com>
2024-04-10 18:51:36 +09:00
Zachary Weiss
c056127e99 Merge branch 'Next-Flip:dev' into dev 2024-04-09 22:07:10 -04:00
Zachary Weiss
66f1558b07 Typo 2024-04-09 21:14:57 -04:00
Zachary Weiss
905c33a08b Only print end validity when present
Same might be worth doing for type & balance, keeping those as is for now; expiry/EV specifically given the switching logic as it has most potential for misinterpretation of null/0 value
2024-04-09 21:12:46 -04:00
Zachary Weiss
2150f18496 Struct&var refactor for clarity 2024-04-09 20:19:27 -04:00
Willy-JL
fe85c512f2 Archive: Fix .txt file type for /any paths 2024-04-09 03:36:19 +01:00
Zachary Weiss
33cfd6340a More cleanup, pass testing 2024-04-08 22:14:46 -04:00
Zachary Weiss
3ea6d46c79 Parsing function readability refactor 2024-04-07 22:10:46 -04:00
Zachary Weiss
3af66c7815 ASCII of known layouts, pass testing 2024-04-07 20:49:06 -04:00
Zachary Weiss
07f63f9512 Misc cleanup/refactor + passes testing 2024-04-07 16:20:08 -04:00
Willy-JL
75c74dce8a Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into mntm-dev 2024-04-07 20:46:09 +01:00
Willy-JL
73e8c632d7 MNTM: Add flipper Shell Color spoofing support 2024-04-07 20:43:12 +01:00
Willy-JL
6fc6d50904 MNTM: Refactor device name to Spoof submenu 2024-04-07 20:42:17 +01:00
Kuronons
83ef82dc9c Change y value for graphic asset in nfc_protocol_support.c
Set y=0 for NFC_dolphin_emulation_51x64 asset so it is coherent with the other uses of this pict.
2024-04-07 12:42:23 +02:00
MX
52d97b9329 update readme and fix hex uppercase 2024-04-06 06:44:08 +03:00
MX
294df5d1d4 desktop animations unload apilock revert
+ js layout fix and lfrfid ui fix
by Willy-JL
2024-04-06 05:40:53 +03:00
Willy-JL
0ebdc485f0 RFID: Fix success title icon overlap 2024-04-05 07:22:04 +01:00
Willy-JL
e607147378 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into mntm-dev 2024-04-05 04:52:23 +01:00
MX
7787845479 cleanup unused debug, set proper log levels 2024-04-05 06:41:31 +03:00
MX
ef29ed149d better subghz settings and more anim unload fixes
by Willy-JL
2024-04-05 06:36:35 +03:00
Willy-JL
ff7cb37c45 SubGHz: Refactor last settings logic 2024-04-05 04:26:29 +01:00
Willy-JL
7413cd8a71 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into mntm-dev 2024-04-05 03:25:28 +01:00
Willy-JL
f85127ea23 SubGHz: Improve some GPS handling 2024-04-05 02:56:31 +01:00
MX
a830d6b511 rework subghz settings, enable tx-rx state on unused gpio pin by default 2024-04-05 04:02:33 +03:00
MX
5ba6e3225b allow external apps to use infrared settings
by Willy-JL
2024-04-05 02:46:04 +03:00
MX
ec4b8b8f5e Various fixes
fixes by Willy-JL
nfc parser by zacharyweiss
js widget and path globals by jamisonderek
2024-04-05 01:25:03 +03:00
MX
45e7913435 after merge fixes
add void
2024-04-04 22:55:39 +03:00
Willy-JL
c81a501670 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-04-04 20:05:55 +01:00
MX
7c6541e513 Merge remote-tracking branch 'OFW/dev' into dev 2024-04-04 21:11:59 +03:00
Eric Betts
5793d5271c Hide unlock with reader for MFU-C (#3553)
Co-authored-by: あく <alleteam@gmail.com>
2024-04-04 19:01:41 +09:00
Lincoln
0a002b3799 Move badkb demos to demo folder 2024-04-02 16:19:28 -06:00
Willy-JL
0e9c0c2bb0 SubGHz: Default coords to NAN not 0 2024-04-02 17:56:52 +01:00
Willy-JL
708af5b120 SubGHz: Show Geo info when GPS is disabled 2024-04-02 17:56:52 +01:00
Willy-JL
82a07888f5 Fix function prototypes after merge 2024-04-02 16:05:03 +01:00
Willy-JL
514171d0c5 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-04-02 15:36:43 +01:00
MX
3ccb2956f3 Merge remote-tracking branch 'OFW/dev' into dev 2024-04-02 17:02:56 +03:00
RebornedBrain
f426c44811 [FL-3801] Mifare Ultralight naming fix (#3551)
* Fixed some UI mismatches in plugin and nfc app
* Fixed nameing mismatches in mosgortrans_util
* Fix ultralight naming display
* Fix naming for Ultralight on read screen
* fbt: fixed regression with pvs-reports autoopen
* Revert st25tb_render.c

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: hedger <hedger@nanode.su>
2024-04-02 00:02:11 +09:00
WillyJL
9f71be6fef IR: Remember OTG state (#3549)
Co-authored-by: あく <alleteam@gmail.com>
2024-04-01 22:42:47 +09:00
Guacamolie
002e5cd9de Bad USB: fix crash when selecting a keyboard layout (#3555)
Commit 6de2934 (BadUSB: BLE, media keys, Fn/Globe key commands (#3403),
2024-03-25) changed the life-cycle of the bad_usb_script object, so that
the bad_usb_script is allocated when entering the work scene, and freed
when going to the config scene. It also made it so that the keyboard
layout always gets reloaded when entering the work scene.

The logic of the layout config scene, however, assumes that it still
needs to reload the keyboard layout after selecting it. The keyboard
layout data is stored within bad_usb_script however, which is NULL when
within the layout config scene.

The fix is simple. Since we are now reload the keyboard layout anyway
when entering the work scene, we can just remove this extra call.

Resolves: #3552
2024-04-01 21:49:51 +09:00