Commit Graph

750 Commits

Author SHA1 Message Date
Willy-JL
106d72a332 Better handling of read/write failure 2025-03-18 03:46:00 +00:00
Willy-JL
b1346bc9bb Make APDU arrays static 2025-03-18 03:03:31 +00:00
Willy-JL
ca30673238 Improve ISO SELECT naming and handling 2025-03-18 03:01:34 +00:00
Willy-JL
b503020f6d NFC: Implement Type 4 Tag writing biolerplate and structure 2025-03-17 06:46:13 +00:00
Willy-JL
0df5a66b19 Keep prev selection when new selection fails 2025-03-17 06:17:25 +00:00
Willy-JL
22a6c37e20 Refactor ISO APDUs in T4T poller 2025-03-17 06:16:31 +00:00
Willy-JL
967eb06082 NFC: Handle writes to Type 4 Tag while emulating 2025-03-15 05:49:44 +00:00
Willy-JL
e0b5aa8070 For now send NACK to all R blocks 2025-03-15 05:44:31 +00:00
Willy-JL
7689efa129 Use flags for ISO14443-4 layer decode result 2025-03-15 05:42:57 +00:00
Willy-JL
384f365cff Refactor CC parsing and dumping 2025-03-15 03:08:24 +00:00
Willy-JL
b05a735e8f Allow selecting PICC level too 2025-03-15 03:05:20 +00:00
Willy-JL
799ed9fcaf Fix emulate after save 2025-03-15 02:01:51 +00:00
Willy-JL
084774d9d7 Fix ISO READ BINARY params definitions 2025-03-15 02:00:40 +00:00
Willy-JL
01b113f508 Fix chunk sizes 2025-03-14 23:00:59 +00:00
Willy-JL
e64292d478 NFC: Initial ISO14443-4 PCB listener handling 2025-03-11 08:58:57 +00:00
Willy-JL
99b2762cd9 Fix sending error responses 2025-03-11 03:43:33 +00:00
Willy-JL
2e77e878de Support larger NDEF messages 2025-03-10 11:01:46 +00:00
Willy-JL
d174fa9505 NFC: Implement Type 4 Tag rudimentary emulation 2025-03-10 11:00:15 +00:00
Willy-JL
fbc176eb84 NFC: Rudimentary iso14443_4a_listener_send_block() (no PCB handling) (OFW issue 4059) 2025-03-10 09:13:31 +00:00
Willy-JL
cfeddbf8b6 BitBuffer: Allow copy right/left on same instance 2025-03-10 09:06:08 +00:00
Willy-JL
b0690de06a NFC: Expose iso14443_3a_listener functions (OFW issue 4059) 2025-03-10 09:05:05 +00:00
Willy-JL
4dce8790cc Cleanup includes 2025-03-10 04:15:14 +00:00
Willy-JL
385e8b3b1c Add more specific error types 2025-03-10 02:57:01 +00:00
Willy-JL
730f1b6ecf Fix event struct passed to callbacks 2025-03-10 02:23:06 +00:00
Willy-JL
f760d97e62 Sort and add missing protocol mentions 2025-03-09 06:10:36 +00:00
Willy-JL
0beee0c6a7 Fix reading NLEN header in NDEF message 2025-03-06 02:52:02 +00:00
Willy-JL
aa38025977 NFC: Implement Type 4 Tag saving 2025-03-06 02:21:47 +00:00
Willy-JL
d5161f0806 Fix reading empty NDEF message 2025-03-06 01:40:46 +00:00
Willy-JL
358631ec86 NFC: Implement Type 4 Tag reading 2025-03-05 08:10:03 +00:00
Zinong Li
145184f0f2 NFC: FeliCa Protocol Expose Read Block API and Allow Specifying Service (#4074)
* add one parameter to the rdbl and expose
* Bump api version and format sources

Co-authored-by: あく <alleteam@gmail.com>
2025-02-25 06:07:45 +09:00
Zinong Li
9f5e93bed8 LFRFID: Fix Detection Conflict Between Securakey and Noralsy Format (#4125)
* Securakey added parity check
* Format Sources

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2025-02-25 04:59:05 +09:00
Anna Antonenko
ef024e8086 [FL-3958] Stdio API improvements (#4110)
* improve thread stdio callback signatures
* pipe stdout timeout
* update api symbols

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2025-02-22 08:11:27 +09:00
Astra
2817666eb9 [FL-3774] Fix 5V on GPIO (#4103)
* Move OTG controls to the power service
* Accessor: add missing power service import
* Power: add is_otg_enabled to info and properly handle OTG enable with VBUS voltage present
* Power: method naming
* Power: add backward compatibility with old-style use of furi_hal_power
* Scripts: lower MIN_GAP_PAGES to 1
* SubGhz: fix incorrect logging tag
* SubGhz: delegate OTG management to power service
* Power: fix condition race, various improvements

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2025-02-20 12:37:52 +09:00
Justin Nesselrotte
3698fc8d02 Fixed repeat in subghz tx_from_file command (#4099)
* Fixed repeat in subghz tx_from_file command
* Fix PVS warnings

Co-authored-by: あく <alleteam@gmail.com>
2025-02-20 10:10:41 +09:00
Zinong Li
04fa7a9a7f LFRFID: Noralsy Format/Brand (#4090)
* beta version
* Working. No parsing yet. No checksum yet.
* T5 config caveat
* parsings

Co-authored-by: あく <alleteam@gmail.com>
2025-02-20 09:36:39 +09:00
Anna Antonenko
0f240c4dbc [FL-3949] Universal IR signal selection (#4085)
* feat: universal ir signal selection
* fix: f18, format specifiers
* update labels with suggestions from the ui team

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2025-02-20 08:58:55 +09:00
Ryan Peel
1541c36b14 BadUSB: Mouse control (#4004)
* add usb hid mouse functions, add mouse functions to BadUsbHidApi
* add ble mouse functionality
* add hid_usb_mouse_release_all
* ducky mouse command skeleton
* implement mouse click functions
* corrected missing semicolon
* added mouse functionality
* corrected mouse scroll functionality
* mouse key functionality, removed mouse commands, supporting get_mouse_keycode function, added mouse buttons as Keys for HOLD function
* add mouse commands
* removed mouse middle click
* Format sources and fix bunch of mistakes in nfc and subghz
* added HID_MOUSE_NONE: added to help with better readability
* added script for mouse movement test
* Fix: hold and release, imrpove readability
* simplified the mouse demo/test
* Format sources

Co-authored-by: あく <alleteam@gmail.com>
2025-02-20 08:24:34 +09:00
Demae
429c0dd387 Added naming for DESFire cards + fix MF3ICD40 cards unable to be read (#4058)
* Fixed MF3ICD40 DESFire cards soft-locking NFC application due to read free memory being an unsupported function, added naming for DESFire cards
* NFC: slightly more granular desfire card type resolution

Co-authored-by: あく <alleteam@gmail.com>
2025-02-13 19:49:53 +09:00
Yukai Li
59fe896ce8 nfc: Enable MFUL sync poller to be provided with passwords (#4050)
* nfc: Enable MFUL sync poller to be provided with passwords
* Sync targret api versions

Co-authored-by: あく <alleteam@gmail.com>
2025-02-13 19:31:56 +09:00
RebornedBrain
de85cc7a8e ST25TB poller mode check (#4084)
Co-authored-by: あく <alleteam@gmail.com>
2025-02-13 19:07:03 +09:00
Anna Antonenko
e27f82f041 [FL-3925, FL-3942, FL-3944] JS features & bugfixes (SDK 0.2) (#4075)
* feat: JS GPIO PWM, JS GUI Widget view; fix: JS EvtLoop stop on request, JS EvtLoop stop on error
* fix: f18 build
* docs: widget
* fix: js unit test
* change feature naming

Co-authored-by: あく <alleteam@gmail.com>
2025-02-13 17:50:38 +09:00
Astra
00f287e297 [FL-2754, FL-3945] EM4305 support (#4069)
* Initial EM4305 write support
* Support for writing EM4100 data to EM4305 blank tags
* F18 API version bump
* Satisfy pvs
* Lib: cleanup em4305 code
* Mask size fix
* Electra
* Fix leftovers from a previous implementation
* Viking
* Gallagher
* LFRFID: cleanup em4305

Co-authored-by: あく <alleteam@gmail.com>
2025-02-13 03:04:24 +09:00
Anna Antonenko
7a92fd359c [FL-3950] Update mbedtls & expose AES (#4092)
* update mbedtls
* expose mbedtls/aes.h
* update f18

Co-authored-by: あく <alleteam@gmail.com>
2025-02-10 20:57:16 +09:00
Yukai Li
a0d1d3fa0f nfc: Fix MIFARE Plus detection (#4049)
* nfc: Fix MIFARE Plus detection
  MIFARE Plus original doesn't have GetVersion support, so detection for SL2 has been moved. Also, SL2 only exists in MIFARE Plus X, so despite it not being specified in the type identification procedure chart, it's safe to call it for what it is.
* Fix spelling
* TODO: mark as non flipper one

Co-authored-by: あく <alleteam@gmail.com>
2025-01-13 03:15:52 +09:00
Yukai Li
668500e985 nfc: Fix MFUL PWD_AUTH command creation (#4051) 2025-01-10 17:20:34 +09:00
Anna Antonenko
5fd423951b [FL-3933] Pipe (#3996)
* feat: FuriThread stdin
* ci: fix f18
* feat: stdio callback context
* feat: FuriPipe
* POTENTIALLY EXPLOSIVE pipe welding
* fix: non-explosive welding
* Revert welding
* docs: furi_pipe
* feat: pipe event loop integration
* update f18 sdk
* f18
* docs: make doxygen happy
* fix: event loop not triggering when pipe attached to stdio
* fix: partial stdout in pipe
* allow simultaneous in and out subscription in event loop
* refactor: move pipe out of furi and decouple from event loop
* chore: api versioning
* Bump api versions
* refactor: rename pipe_set_pipe_broken_callback
* Toolbox: add missing pragma once

Co-authored-by: あく <alleteam@gmail.com>
2024-12-24 10:58:27 +09:00
Jan Wiesemann
e11a62694e Added flipper_format_write_empty_line(...) (#4029)
* Added flipper_format_write_empty_line(...)
* Format sources

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-12-23 11:32:53 +09:00
Astra
a02781b936 [FL-3920] Fix lost BadBLE keystrokes (#3993)
* WIP: fix lost BadBLE keystrokes
* Switch to semaphores for synchronization
* Move checking to the gap level
* Remove leftovers from hid_service
* Remove more leftovers from hid_service
* De-allocate the semaphore after use
* Change the timeout to account for unforeseen situation
* Update F18 API
* Fix naming and unbump api version
* Move away from semaphores
* Remove the left over include
* Ble: cleanup error handling in ble_gatt_characteristic_update
* Fix PVS warning

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-12-23 09:18:14 +09:00
WillyJL
a7b3a13581 Loader: Fix BusFault in handling of OOM (#3992)
* Loader: Fix BusFault in handling of OOM
* Furi: fix crash in aligned_alloc, cleanup aligned_alloc use

Co-authored-by: あく <alleteam@gmail.com>
2024-12-19 06:33:59 +09:00
RebornedBrain
9c96bbfc54 [NFC] Fix ISO15693 stucking in wrong mode. (#3988)
Co-authored-by: あく <alleteam@gmail.com>
2024-12-19 06:01:20 +09:00