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
あく
e8de94ca00
Drop libs rtc ( #1248 )
2022-05-20 05:53:33 +10:00
r3df0xx
b9d255d889
fetch upstream
2022-05-19 20:54:37 +03:00
r3df0xx
9708336367
Revert "fetch wplugins"
...
This reverts commit 4760c1c5ce
.
2022-05-19 20:05:13 +03:00
r3df0xx
016f0f3493
Revert "upd wplugins"
...
This reverts commit fec7523311
.
2022-05-19 20:05:01 +03:00
r3df0xx
7724bac58a
Revert "Merge branch 'flipperdevices:dev' into dev"
...
This reverts commit 935c2df029
, reversing
changes made to 524b602700
.
2022-05-19 20:03:57 +03:00
Eng1n33r
935c2df029
Merge branch 'flipperdevices:dev' into dev
2022-05-19 19:37:41 +03:00
あく
9c3f465afd
[FL-2537, FL-2539, FL-2534, FL-2534, FL-2525]: UI and UX improvements ( #1246 )
...
* FL-2537: ON/OFF buttons
* FL-2539: cancelable lowbatt shutdown
* FL-2534: update storage format results screen, cleanup dialog_ex usage.
* FL-2534: storage setting UX rework
* FL-2525: unify arrows icons
* Remove unused icons
* UI: Rename Ok to OK
2022-05-20 02:07:45 +10:00
r3df0xx
fec7523311
upd wplugins
2022-05-18 19:17:59 +03:00
r3df0xx
4760c1c5ce
fetch wplugins
2022-05-18 17:23:59 +03:00
r3df0xx
7fbf49d377
plugins
2022-05-17 15:54:09 +03:00
Eng1n33r
9188d0ab62
Merge branch 'flipperdevices:dev' into dev
2022-05-11 14:16:21 +03:00
hedger
597ee5b939
[FL-2527] Updater: Migrating to new manifest path convention ( #1213 )
...
* Updater: Migrating to new manifest path convention
* RPC: Added update preparation status to RPC
* RPC: bumped protobuf submodule
* Bumped protobuf_version.h
* FuriCore: add missing include. Lib: make mlib smaller
* Explicitly tell where we have doubles and fix random in animations
* makefile: added -DLFS_NO_DEBUG
* Updater: path len constant dedup
* Updater: checking for hardware version match before parsing manifest
* LD: moved _DRIVER_CONTEXT sections to .bss, where they belong.
* LD: avoiding PROBGITS warning, moved _CONTEXT to data
* Updater: Added version check on update package - refusing to install outdated
Co-authored-by: あく <alleteam@gmail.com>
2022-05-11 12:45:01 +03:00
Eng1n33r
88446baf45
Merge branch 'flipperdevices:dev' into dev
2022-05-08 21:18:14 +03:00
Skorpionm
f04d0eea96
SubGhz: add protocol MegaCode ( #1204 )
...
* SubGhz: add protocol MegaCode
* SubGhz: check for guard time injection at the end of buffer
* SubGhz: rollback samples counting in trasmitter
* SubGhz: fix subghz_file_encoder_worker incorrect pulse sequence
* Input: tune debounce interval
* SubGhz: fix spelling in subghz_file_encoder_worker_add_level_duration
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-08 20:50:20 +03:00
Eng1n33r
e94c8e2d7f
Merge branch 'flipperdevices:dev' into dev
2022-05-06 19:59:55 +03:00
hedger
37bd0d546a
[FL-2517, FL-2518, FL-2523] Updater UI overhaul ( #1196 )
...
* Updater: UI rework initial
* Updater: further updates to UI, added a temporary parrot
* Updater: additional checks on radio stack type before update
* Second iteration of updater UI: additional handling of resource unpacking errors
* updater: removed extra logging, renamed some stages
* Updater: Changed "back" button icon on error screen
* Archive: signed/unsigned fix
* Updater: cancelling update also cancels LFS+resources processing; restored /ext/update/ folder magic to 0
* Updater: root dir fix
Co-authored-by: nminaylov <nm29719@gmail.com>
2022-05-06 19:26:25 +03:00
r3df0xx
2920052f0b
Merge remote-tracking branch 'upstream/dev' into dev
2022-05-06 17:07:45 +03:00
hedger
4d6b170769
[FL-2520] FW build with -Wextra ( #1185 )
...
* Fixing compiler warnings with -Wextra
* More warnings suppression, WIP
* Even more warning fixes
* Added new lines at end of text files.
* Padding fix
* Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline
* Fixes for Secplus v1
* -additional warnings
* +-Wredundant-decls fixes
* FuriHal: print stack overflow task name in console
* FuriHal: add missing include
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-06 16:37:10 +03:00