Commit Graph

11461 Commits

Author SHA1 Message Date
Nick Mooney
f6eb79e1e5 NFC: Add support for Gallagher access control (MIFARE Classic only) (#3306)
* Merge remote-tracking branch 'origin/dev' into dev
* Add basic API interface (inspired by advanced plugins example), modify NfcSupportedCardsLoadContext to contain a pointer to a resolver
* WIP: API resolver implemented / passed to plugin via context, still having resolution issues
* Attempt to add constants to the nfc_app_api_table list
* WIP: We're defining the constants directly in nfc_app_api.c to see if this fixes our woes, which it does not.
* WIP: Remove furi_assert(false) (lmao)
* Working implementation of Gallagher decoding via exposed plugin API
* lib: api_hashtable: change log level for symbol not found message
* nfc app: alloc composite resolver along with supported cards
* nfc app: rework nfc api structure
* nfc app: fix memory leakage in supported cards

Co-authored-by: gornekich <n.gorbadey@gmail.com>
2024-02-09 15:00:17 +07:00
Willy-JL
9454e1b1dc Format 2024-02-09 06:29:31 +00:00
Willy-JL
a865bbf545 This was leftover from old reverted OFW PR 2024-02-09 06:25:27 +00:00
Willy-JL
41a7c3dbbf Remove debug and other bs from updater.bin 2024-02-09 06:19:49 +00:00
Willy-JL
e689db3600 FBT error for updater.bin too big 2024-02-09 05:56:13 +00:00
Willy-JL
02d78d1a76 Remove unused desktop debug screen 2024-02-09 02:40:50 +00:00
Willy-JL
e878db579c Display actual region in about 2024-02-09 02:39:51 +00:00
Willy-JL
508288723a Random low level API cleanup 2024-02-09 02:18:45 +00:00
Willy-JL
aba6237fc8 We don't deal with f18 2024-02-09 01:38:09 +00:00
Willy-JL
5ea2c9799b Trace and Icons not essential in debug builds 2024-02-09 01:37:16 +00:00
Willy-JL
5e69b1f622 Reset log level on flash for more responsiveness 2024-02-09 01:36:13 +00:00
Nikita Vostokov
d195de502e Fix PDOL parsing 2024-02-09 00:06:34 +00:00
Methodius
ec356626fa code cleanup, gui fixes 2024-02-08 23:59:48 +00:00
Nikita Vostokov
b1674711a1 [EMV] Add Effective date and Preferred Name 2024-02-08 23:58:52 +00:00
Nikita Vostokov
9ceae3a3b2 [EMV] Fix crash while PDOL parsing 2024-02-08 23:58:52 +00:00
Willy-JL
9271e6d10b Fix FreeRTOS submodule --nobuild 2024-02-08 23:57:41 +00:00
WillyJL
4f54cf92b0 Fix kb combo for BT Remote / Push to Talk / Teams / macOS (#545) 2024-02-08 23:49:27 +00:00
Willy-JL
9131f59938 Merge branch 'gsurkov/3764_expansion_control' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-08 23:46:31 +00:00
Willy-JL
134e74dda3 Upd MFC keys: added 41 from RRG pm3 2024-02-08 23:46:10 +00:00
Willy-JL
6a35b87376 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-08 22:56:18 +00:00
Chris Pressland
10601c1316 Fix kb combo for BT Remote / Push to Talk / Teams / macOS 2024-02-08 15:03:13 +00:00
Georgii Surkov
ded9b121ba Fix premature RX interrupt during serial configuration 2024-02-08 15:18:58 +03:00
Georgii Surkov
534fe2fb26 Remove too optimistic furi_check, replace with condition 2024-02-08 14:50:39 +03:00
Georgii Surkov
3cbc68f07a Merge branch 'dev' into gsurkov/3764_expansion_control 2024-02-08 13:48:30 +03:00
Kris Bahnsen
26da5f564b furi/core/timer: resolve timer handle use-after-free post deletion (#3431)
When xTimerDelete is called using a dymanic timer handle, the timer
handle should immediately be considered unusable for any operation;
including checking if the timer is still running. Under high system
loads, that memory region may see fast reuse while furi_timer_free
is sleeping between timer active checks. That reuse could result in
memory at that pointer causing the timer active check to return true.

Rework the furi_timer_delete process (in the case of dynamically
allocated callback memory) to stop the timer, wait for it to stop,
free the memory, and then delete the timer. Timers without dynamically
allocated callback memory are just sent a delete command; no need
to stop it first.

Fixes: ff33bc6aea ("Furi: wait for timer wind down in destructor (#1716)")

Signed-off-by: Kris Bahnsen <Kris@KBEmbedded.com>
2024-02-08 16:22:03 +07:00
Willy-JL
031120a766 Merge branch 'leptoptilos' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2024-02-08 01:10:34 +00:00
Willy-JL
db492fd2cb Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2024-02-08 01:03:08 +00:00
Willy-JL
df3f9484f6 Merge branch 'gsurkov/3764_expansion_control' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-08 01:00:13 +00:00
Willy-JL
082d065ede Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-08 00:41:37 +00:00
Georgii Surkov
1ad9bb8caf Merge branch 'dev' into gsurkov/3764_expansion_control 2024-02-07 21:18:25 +03:00
Georgii Surkov
5a92adaefc Fix a typo 2024-02-07 21:16:04 +03:00
Georgii Surkov
c489c956e7 Improve furi_hal_serial API 2024-02-07 21:13:38 +03:00
あく
afd41aade1 FuriHal: various GPIO improvements (#3406) 2024-02-07 12:09:29 +03:00
Georgii Surkov
fee6f12684 Improve responsiveness in heavy games at the expense of dropped frames 2024-02-07 11:43:58 +03:00
Methodius
4265b9c28e parsers cleanup 2024-02-07 14:21:58 +09:00
Methodius
95e653cf76 Merge remote-tracking branch 'origin/dev' into leptoptilos 2024-02-07 14:01:54 +09:00
Willy-JL
1e480a2151 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-07 03:55:55 +00:00
Willy-JL
adb4d96bad Fix desktop keybinds buffer overrun 2024-02-07 03:49:34 +00:00
Willy-JL
ddfb495498 NFC Maker support multiple NTAG types + fixes 2024-02-07 03:19:30 +00:00
Sergei Gavrilov
29fa68118d GUI: canvas commit callback has been moved to canvas. Direct Draw apps can now be streamed via RPC. (#3397)
Co-authored-by: あく <alleteam@gmail.com>
2024-02-07 09:38:20 +07:00
Willy-JL
faf0ee4609 API for abbreviated NFC dev name 2024-02-07 02:04:14 +00:00
Willy-JL
9ebc47fd00 Fix BLE Spam click offset 2024-02-07 01:54:44 +00:00
Willy-JL
1851ffe52b Improve NDEF parser safety 2024-02-06 23:37:13 +00:00
Willy-JL
67a5f316b0 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-06 21:00:57 +00:00
Willy-JL
b4b82e68ca NFC parsers PartialRead fixes 2024-02-06 19:50:40 +00:00
Willy-JL
7552e84ad3 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-06 19:47:52 +00:00
Georgii Surkov
4625d6f17c Merge branch 'dev' into gsurkov/3764_expansion_control 2024-02-06 22:47:17 +03:00
MX
dd4f873439 Merge branch 'ofw_dev' into dev [ci skip] 2024-02-06 22:42:19 +03:00
gornekich
4984e9e414 nfc app: fix incorrect protocol detection in save scene (#3430) 2024-02-06 23:25:55 +04:00
MX
3e53e69827 Merge branch 'ofw_dev' into dev 2024-02-06 22:18:29 +03:00