MX
f80da7e06c
Merge branch 'fz-dev' into dev
2022-07-31 03:55:41 +03:00
hedger
84550d5878
[FL-2654] Updater: retrying pre-boot SD card mount multiple times ( #1402 )
...
* Updater: retrying pre-boot SD card mount multiple times
* Updater: added delay before retrying SD card mount on early boot
Co-authored-by: あく <alleteam@gmail.com>
2022-07-31 08:48:55 +09:00
MX
f4cc9e5de7
plugins & badusb
...
if author want their plugin to be removed - create issue, thanks
2022-07-29 17:48:51 +03:00
Eng1n33r
acd5430c21
Merge branch 'fz-dev' into dev
2022-07-26 21:09:31 +03:00
gornekich
9c59bcd776
[FL-2605] NFC new design ( #1364 )
...
* nfc: add new read scene
* lib: refactore nfc library
* mifare desfire: add read card fuction
* lib nfc: add auto read worker
* nfc: add supported cards
* nfc: add mifare classic read success scene
* nfc: add troyka support
* submodule: update protobuf
* nfc: mifare classic keys cache
* nfc: rework mifare classic key cache
* Correct spelling
* nfc: add user dictionary
* nfc: introduce block read map in fff
* nfc: rework dict attack
* nfc: improve dict attack
* nfc: rework mifare classic format
* nfc: rework MFC read with Reader
* nfc: add gui for MFC read success scene
* nfc: fix dict attack view gui
* nfc: add retry and exit confirm scenes
* nfc: add retry and exit scenes navigation
* nfc: check user dictionary
* nfc: remove unused scenes
* nfc: rename functions in nfc worker
* nfc: rename mf_classic_dict_attack -> dict_attack
* nfc: change scenes names
* nfc: remove scene tick events
* nfc: rework dict calls with buffer streams
* nfc: fix notifications
* nfc: fix mf desfire navigation
* nfc: remove notification from mf classic read success
* nfc: fix read sectors calculation
* nfc: add fallback for unknown card
* nfc: show file name while emulating
* nfc: fix build
* nfc: fix memory leak
* nfc: fix desfire read
* nfc: add no dict found navigation
* nfc: add read views
* nfc: update card fix
* nfc: fix access bytes save
* nfc: add exit and retry confirm to mf ultralight read success
* nfc: introduce detect reader
* nfc: change record open arg to macros
* nfc: fix start from archive
Co-authored-by: Astra <astra@astrra.space>
Co-authored-by: あく <alleteam@gmail.com>
2022-07-27 00:30:49 +09:00
Skorpionm
ec19c11dbe
[FL-2669] SubGhz: add support for loading custom presets ( #1398 )
...
* SubGhz: load custom -preset
* SubGhz: fix error prt=0
* SubGhz: load custom preset
* SubGhz: code refactoring to support custom preset
* SubGhz: add custom presert refactoring
* SubGhz: fix alloc history alloc preset
* SubGhz: fix error load file
* SubGhz: fix start custom preset
* SubGhz: fix delete custom preset
* SubGhz: add description Custom_preset_data for CC1101
* SubGhz: debug logging and buffer size rounding
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2022-07-26 23:16:59 +09:00
Eng1n33r
2c0dcc808d
Merge branch 'fz-dev' into dev
2022-07-26 15:52:19 +03:00
hedger
056446dfed
[FL-2675] /int space reservation ( #1448 )
...
* storage: added global #defines for /int, /ext & /any
* storage: introduced PATH_EXT, PATH_INT& PATH_ANY macros
* core apps: moved hardcoded config files names to separate headers; prefixed them with "."; updater: added file name migration to new naming convention on backup extraction
* storage: fixed storage_merge_recursive handling of complex directory structures; storage_move_to_sd: changed data migration logic to all non-dot files & all folders
* core: added macro aliases for core record names
* Bumped protobuf commit pointer
* storage: reserved 5 pages in /int; denying write&creation of non-dot files when running out of free space
Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 21:21:51 +09:00
Eng1n33r
ad970c6c6d
Merge branch 'fz-dev' into dev
2022-07-20 16:28:48 +03:00
あく
e3c7201a20
Furi: core refactoring and CMSIS removal part 2 ( #1410 )
...
* Furi: rename and move core
* Furi: drop CMSIS_OS header and unused api, partially refactor and cleanup the rest
* Furi: CMSIS_OS drop and refactoring.
* Furi: refactoring, remove cmsis legacy
* Furi: fix incorrect assert on queue deallocation, cleanup timer
* Furi: improve delay api, get rid of floats
* hal: dropped furi_hal_crc
* Furi: move DWT based delay to cortex HAL
* Furi: update core documentation
Co-authored-by: hedger <hedger@nanode.su>
2022-07-20 13:56:33 +03:00
Eng1n33r
e39b1c37e5
Merge branch 'fz-dev' into dev
2022-07-12 18:51:45 +03:00
gornekich
f707aa92bb
nfc: fix exit after emulation ( #1385 )
2022-07-12 23:56:56 +09:00
Eng1n33r
c942a95963
Merge branch 'flipperdevices:dev' into dev
2022-07-08 15:54:00 +03:00
Michael Marcucci
6b3625f46b
Bluetooth Remote Additions ( #1330 )
...
* Update the HID Keycodes to pull from the library
* Composite BLE Report Map, add consumer & mouse HID
* Add Mouse & keyboard bt remote, fixed media remote
* BT Keyboard remove long press shift
* Fix usb hid modifier keys
* Fixed misaligned bad usb keys
* Fix keyboard app keys
* Partial fix for bt app and linux
* Update to work across platforms
* Fix for report ids
* BtHidApp: move variable from bss to model, cleanup naming.
* FuriHal: add const to immutable data declaration
Co-authored-by: あく <alleteam@gmail.com>
2022-07-08 21:36:34 +09:00
Eng1n33r
41341658dd
Merge branch 'fz-dev' into dev
2022-07-04 21:57:40 +03:00
あく
c495677eb5
FuriHal: RTC recovery routine and ext3v3 enabled on start ( #1357 )
...
* FuriHal: leave ext3v3 enabled on start
* FuriHal: RTC recovery routine, cleanup resources
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2022-07-05 00:26:02 +10:00
Eng1n33r
cba5cb745c
Merge remote-tracking branch 'flipperdevices/dev' into dev
2022-07-03 21:04:15 +03:00
gornekich
5769595e67
NFC emulation software tunning ( #1341 )
...
* digital_signal: optimize calculationxx
* firmware: add listen start and listen rx
* digital signal: rework with fixed point calculation
* nfc: tune timings
* nfc: fix array overflow
* mifare classic: fix key access
* nfc: rework spi bus access
* nfc: rework listen mode with st25r3916 calls
* digital signal: speed up digital_signal_append()
* digital signal: remove unused profiling
* nfc: clean up code
* nfc: correct sleep state
* nfc: add unit tests
* nfc: fix memory leak in unit test
* digital_signal: remove unused code
* nfc: fix incorrect sak load in pt memory
Co-authored-by: あく <alleteam@gmail.com>
2022-07-03 23:51:50 +09:00
Eng1n33r
aaeede7793
Merge branch 'fz-dev' into dev
2022-06-26 15:16:32 +03:00
hedger
f3b1475ede
[FL-2052] New build system based on scons ( #1269 )
2022-06-26 21:00:03 +09:00
Eng1n33r
c6a3b71db6
Merge branch 'fz-dev' into dev
2022-06-21 18:21:49 +03:00
Yukai Li
556af0b82b
nfc: NTAG21x complete emulation ( #1313 )
...
* nfc: Refactor Mifare Ultralight feature flags
Unify them in both reader and emulator to make handling easier
* nfc: Refactor MFUL PWD_AUTH and add AUTHLIM counter
* nfc: Add MFUL EV1 VCSL command emulation
* nfc: Enforce message size check in MFUL emulation
Also fix READ_CNT byte order, but it's not fully working
* nfc: Add MFUL auth counter serialization
Also fill counter on successful read from tag
* nfc: Fix MFUL INCR_CNT emulation
* nfc: Fix MFUL READ_CNT emulation
* nfc: Refactor MFUL emulation and implement full write support
* nfc: Fix Mifare Ultralight serialization
* nfc: Add MFUL OTP/CC handling
* nfc: Make sure MF0UL21 dynamic lock byte 3 also reads 0xBD
* nfc: Small MFUL refactor and fix CFGLCK behavior
* WIP: nfc: MFUL read support with ASCII mirror and auth roll-over
This is too complex and I don't like it
* nfc: Simplify MFUL read emulation, fix mirror range check
* nfc: Implement MFUL auth and ASCII mirror for FAST_READ
* nfc: Fix MFUL read roll-over with AUTH0 set
* nfc: Implement MFUL read counter increment
* nfc: Align ASCII mirror to NTAG21x behavior
* nfc: Handle invalid command in MFUL emulation
* nfc: Fix MFUL static lock check
* nfc: Refactor MFUL emulation to use cached config pages
* nfc: Refactor MFUL auth counter to count up instead of down
* nfc: Add missing NULL check
* WIP: nfc: Various MFUL emulation behavior tweaks
* WIP: nfc: More MFUL emulation behavior adjustments
* nfc: Match AUTHLIM emulation to NTAG21x behavior
* nfc: Fix MFUL dynamic lock emulation
* nfc: Fix typo in MFUL read counters
* nfc: Fix typo in MFUL FAST_READ emulation
* nfc: Increase emulation TX buffer size
Enough space for if someone requests FAST_READ of all pages of an NTAG
* nfc: Fix MFUL negative verification counter overflow
* nfc: Change auth counter kv name
* nfc: Fix NTAG I2C FAST_READ emulation
* nfc: Fix NTAG21x config reload behavior
Co-authored-by: あく <alleteam@gmail.com>
2022-06-22 00:04:35 +09:00
Eng1n33r
79f216ec48
Merge branch 'flipperdevices:dev' into dev
2022-06-20 18:58:48 +03:00
あく
839e52ac32
[FL-2591] Furi: remove CMSIS thread api, migrate to FuriThread, remove unused CMSIS APIs ( #1333 )
...
* Furi: remove CMSIS thread api, migrate to FuriThread, remove unused CMSIS APIs
* Furi: magic thread catcher validating thread completion; backtrace improver
* Furi: allow furi_thread_get_current_id outside of thread context
* Furi: use IRQ instead of ISR for core primitives
2022-06-20 18:54:48 +04:00
r3df0xx
522c0275b1
few improvements
...
Remove unused sub-ghz AU patable, remove Atomo excess code, add seed value show on KeeLoq screen.
2022-06-14 21:39:42 +03:00
r3df0xx
77996242d6
Update furi_hal_subghz_configs.h
2022-06-14 05:39:45 +03:00
r3df0xx
426de26be3
merge latest dev properly
2022-06-14 05:32:03 +03:00
r3df0xx
43c6710d4f
Update furi_hal_subghz.c
2022-06-14 05:30:51 +03:00
r3df0xx
a2093d75e3
Update furi_hal_subghz.c
2022-06-14 05:29:02 +03:00
r3df0xx
e47f79dd33
Update furi_hal_subghz.c
2022-06-14 05:22:17 +03:00
あく
fb4d4011f4
SubGhz: allow refill attempt at the end of transmission ( #1314 )
2022-06-14 11:27:03 +10:00
あく
b2132b2ec7
Nfc: async pcap worker ( #1315 )
...
* Nfc: async pcap worker
* nfc: add pcap save to classic emulation
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-06-14 11:14:13 +10:00
Eng1n33r
6314272a71
Merge branch 'flipperdevices:dev' into dev
2022-06-09 15:03:18 +03:00
あく
936a2f64b2
[FL-2580] FuriHal: add more supported radio stacks ( #1301 )
...
* FuriHal: add more supported radio stacks
* Bt: correct ble stack enum value
* Bt: update cli testing commands implementation
* Scripts: always emitting ob data to update manifest; added ob_custradio.data for non-light radio stacks
* Scripts: added stack type whitelist & disclaimer message
* ble: remove scanner
* ble: remove HCI and advances ble stacks support
* bt: correctly close RPC session before bt reinit
* Scripts: update bundler: estimating flash layout & refusing to build dangerous packages; app frame: not adding redundant log handlers
* Docs: additional details on bundling updates; fixed updater error codes
* Docs: wording fixes for OTA.md
Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2022-06-09 18:07:42 +09:00
Kevin Wallace
9c9f66a30f
nfc: add debug PCAP output, refactor Mifare DESFire following #1095 ( #1294 )
...
* nfc: refactor nfc_worker_read_mifare_desfire to use furi_hal_nfc_tx_rx
Renames furi_hal_nfc_exchange_full to furi_hal_nfc_tx_rx_full, and
rewrites it to use furi_hal_nfc_tx_rx. This eliminates the final
remaining use of furi_hal_nfc_exchange, so remove that.
* nfc: write debug.pcap when debug mode enabled
Limited to NFC protocols that use furi_hal_nfc_tx_rx to communicate.
* switch to Doxygen style comment
Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
Co-authored-by: あく <alleteam@gmail.com>
2022-06-09 17:35:34 +09:00
Nikolay Minaylov
cfb1a0d01c
Hardware LED blinking ( #1303 )
...
* Hardware LED blinking notification messages
* Blink: fix crash on exit, reset blinking on exit
* Lib: remove unused UNUSED
Co-authored-by: あく <alleteam@gmail.com>
2022-06-09 16:33:46 +09:00
Eng1n33r
50fccb4455
fix icon & compiler flags
2022-06-01 20:17:44 +03:00
Eng1n33r
e6d17b15ed
fix region check
2022-06-01 17:03:21 +03:00
Eng1n33r
baaf689141
Merge last fz-dev into dev
2022-06-01 16:20:10 +03:00
Eng1n33r
22cbe276a8
big merge with fz main repo
2022-06-01 16:07:53 +03:00
UberGuidoZ
2c4b2b8775
Fixing typo across many files ( #1287 )
...
* Update furi_hal_subghz.c
* Update subghz_scene_read_raw.c
* Update subghz_i.c
* Update came_twee.c
* Update secplus_v2.c
2022-06-01 07:35:31 +09:00
r3df0xx
b23b3c9e8d
Revert "fetch big commit from upstream"
...
This reverts commit 6634999113
.
2022-05-27 22:18:35 +03:00
r3df0xx
6634999113
fetch big commit from upstream
2022-05-27 22:12:40 +03:00
Eng1n33r
74cf6b3e2f
Merge branch 'flipperdevices:dev' into dev
2022-05-26 21:54:26 +03:00
Gary
533f12af15
Change "FuriHalNfc Current state" trace to only log on change of state #1272
...
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-05-26 16:00:59 +03:00
Yukai Li
0d5d4c8688
RFC: NTAG I2C support ( #1227 )
...
* nfc: Add NTAG I2C (Plus) 1K/2K read support
* nfc: Add rudimentary NTAG I2C emulation
* nfc: Closer NTAG I2C emulation plus debug logging
* nfc: Fix NTAG I2C sector select emulation
* nfc: Add security for NTAG I2C
* nfc: Send NAK correctly for MFUL reads
* nfc: Better emulate NTAG I2C SECTOR_SELECT behavior
* nfc: Fix non-I2C Ultralight read
Per datasheet, max sector for SECTOR_SELECT is 0xfe, so 0xff is OK
as uninit value
* nfc: Only read sig for NTAG if supported
Attempting to read signature breaks immediate call to sector select on
NTAG I2C original for some reason, so don't read signature if the
command is not supported
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-05-26 15:55:29 +03:00
r3df0xx
17818f3c42
Merge remote-tracking branch 'upstream/dev' into dev
2022-05-24 20:29:48 +03:00
gornekich
d31578508a
[FL-2245] Introduce Mifare Classic Emulation ( #1242 )
...
* digital signal: introduce digital signal
* nfca: add nfca signal encoder
* nfc: add mifare classic emulation scene
* nfca: add classic emulation support to lib and hal
* mifare classic: support basic read commands
* nfc: add mifare classic menu scene
* mifare classic: start parsing commands in emulation
* mifare classic: add nested auth
* nfc: fix errors
* mifare classic: add encrypt function
* nfc: fix mifare classic save
* lib hex: add hex uint64_t ASCII parser
* flipper format: add uint64 hex format support
* nfc: add mifare classic key map
* nfc: hide mifare classic keys on emulation
* mifare classic: add NACK responce
* nfc: add partial bytes support in transparent mode
* nfc: mifare classic add shadow file support
* digital signal: move arr buffer from BSS to heap
* mifare classic: process access bits more careful
* nfca: fix memory leack
* nfc: format sources
* mifare classic: cleun up
Co-authored-by: あく <alleteam@gmail.com>
2022-05-24 17:00:15 +03:00
gornekich
2017baac48
[FL-2441] BLE add Power state, fix double connection ( #1238 )
...
* battery service: add power state charachteristic
* bt: update power state on charging / discharging events
* ble config: support only one connection
* bt: always update flow control characteristic
* bt: fix power state update
* bt: simplify updating power state
* bt: don't update flow control charachteristic
2022-05-24 16:42:02 +03:00
Eng1n33r
0838b06c2a
Merge branch 'flipperdevices:dev' into dev
2022-05-19 23:11:41 +03:00