Commit graph

1187 commits

Author SHA1 Message Date
Eng1n33r
420af35f89
FAAC SLH/Spa 20-bits counter 2022-07-17 08:05:09 +03:00
Eng1n33r
521db5dc0d
Merge branch 'fz-dev' into dev 2022-07-14 20:24:33 +03:00
Astra
975ee0c009
Change # to ! for the inverted text example (#1395)
The code already works with "!", but the comment was wrong.

Co-authored-by: あく <alleteam@gmail.com>
2022-07-15 01:58:52 +09:00
Nikolay Minaylov
2caa5c3064
[FL-2633] Move files from /int to /ext on SD mount #1384
Co-authored-by: あく <alleteam@gmail.com>
2022-07-15 01:44:34 +09:00
Max Andreev
fd498bdfcf
[FL-2554] Embedded arm-none-eabi toolchain (#1351) 2022-07-15 01:24:26 +09:00
Eng1n33r
97ec06c1f3
update screen after sending signal
in received signals scene
2022-07-11 23:26:39 +03:00
Eng1n33r
fd59618e42
Merge branch 'fz-dev' into dev 2022-07-10 16:18:50 +03:00
perspecdev
222394d3ea
added gui-shift command to ducky script (#1381)
Co-authored-by: Daniel Isenhower <daniel@reciprocityentertainment.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-07-10 21:51:35 +09:00
Eric Betts
41bd1fb9a5
Save picopass as picopass or, for 26bit, as lfrfid (#1380) 2022-07-10 21:46:46 +09:00
Eng1n33r
5025e86af7
Merge branch 'flipperdevices:dev' into dev 2022-07-08 15:57:08 +03:00
Eric Betts
f46ae5a704
Namespace loclass library (#1379)
* Namespace loclass library
* Lib: const for immutable variables and bss cleanup

Co-authored-by: あく <alleteam@gmail.com>
2022-07-08 21:56:23 +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
1c3362332c
Merge branch 'flipperdevices:dev' into dev 2022-07-06 16:54:40 +03:00
Nikolay Minaylov
e17dae2d00
[FL-2612, FL-2618, FL-2619, FL-2622] CLI, threads, notifications, archive fixes (#1354)
* CLI, notifications, archive fixes
* Led blink fix
* Fix thread flags notification index
* Archive: fix infinite tab switch on empty SD card

Co-authored-by: あく <alleteam@gmail.com>
2022-07-06 22:54:08 +09:00
Eng1n33r
89f0a6c8fd
Merge branch 'flipperdevices:dev' into dev 2022-07-05 19:04:12 +03:00
Eric Betts
8af2198684
Iclass UI (#1366)
* Move structs to header
* roll mbedtls into loclass
* Picopass with scene for reading card
* Picopass: fix memory leak
* Lib: return mbedtls back
* Picopass: rename symbols to match naming guide

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-07-06 00:28:27 +09:00
Eng1n33r
fa604221b9
Merge branch 'flipperdevices:dev' into dev 2022-07-05 15:24:55 +03:00
hedger
c49db35ee0
storage: lfs fingerprint wasn't updated when both geometry changed & factory reset was requested, resulting in second re-format on next boot (#1372) 2022-07-05 21:17:26 +09:00
Eng1n33r
41341658dd
Merge branch 'fz-dev' into dev 2022-07-04 21:57:40 +03:00
Roman Shchekin
05b7b7f2db
plugins: snake: simplification in direction calculation (#1361)
Co-authored-by: hedger <hedger@users.noreply.github.com>
2022-07-04 20:49:23 +03:00
Samuel Yvon
793501d62d
Add GPIO control through RPC (#1282)
* Add GPIO control through RPC
* Assets: sync protobuf to 0.10
* Assets: update protobuf to fixed v10

Co-authored-by: あく <alleteam@gmail.com>
2022-07-05 00:32:06 +09:00
hedger
b95cd2df14
[FL-2578] Updater fixes related to /int handling (#1359)
* Updater fixes related to /int handling
  updater: performing factory reset on update, checking for LFS free space before updating, fixed improper error handling on backup/restore operations, rebalanced update stage weights for better progress visuals
  scripts: added CLI output validation for selfupdate.py
  storage: added pointer validation in storage_int_common_fs_info
  desktop: fixed crash on rendering invalid slideshows
* Typo fix
* rpc: Updated protobuf to 0.9
* rpc: removed updater status conversion

Co-authored-by: あく <alleteam@gmail.com>
2022-07-04 22:36:12 +09:00
Nikolay Minaylov
4a1695ba1c
[FL-2589] RPC App control commands (#1350)
* RPC App control commands
* Button release timeout
* SubGhz tx fix

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-07-04 22:09:46 +09:00
Eng1n33r
a82f48c9e0
Merge branch 'fz-dev' into dev 2022-07-04 15:45:55 +03:00
Yukai Li
0e78f38404
nfc: On-device tag generator (#1319)
* nfc: Add tag generator base
* nfc: Fix BCC generation
* nfc: Add MFUL EV1 generators
* nfc: Fix typos in generator
* nfc: Add NTAG21x generators
* nfc: More const
* nfc: Add NTAG I2C generators
* nfc: Add field names to generator initializers
* nfc: Move generators to add manually scene
* nfc: Revise tag generator UX
* nfc: Revert add manually menu item name
* nfc: Remove unused scene start submenu index

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-07-04 20:16:59 +09:00
Eric Betts
ffd6eda361
Add iClass keys to source (#1360) 2022-07-04 20:54:36 +10:00
Eng1n33r
34348102e5
add picopass/iclass to build list & include key
Key:
https://github.com/flipperdevices/flipperzero-firmware/pull/1360/files
2022-07-04 03:33:17 +03:00
Eng1n33r
cba5cb745c
Merge remote-tracking branch 'flipperdevices/dev' into dev 2022-07-03 21:04:15 +03:00
Eng1n33r
f8ff747dba
Prepare subghz changes 2022-07-03 21:01:23 +03:00
Skorpionm
fea2bfa822
[FL-2610] SubGhz: add keypad lock SubGhz -> Read (#1343)
* [FL-2610] SubGhz: add keypad lock SubGhz -> Read
* SubGhz: fix multiple clicks on the back button
* SubGhz: turn on the backlight when receiving with the keypad locked. key processing delay when exiting Locked mode
* SubGhz: chanage lock variable and enums names
* SubGhz: replace direct return with consumed

Co-authored-by: あく <alleteam@gmail.com>
2022-07-04 01:03:36 +09: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
Eric Betts
1975868ed8
PicoPass / iClass (#1298)
* add mdedtls for des3 implementation
* add localss from RfidResearchGroup/proxmark3
* picopass reader app and rfal for communicating with picopass cards
* always turn off field
* close storage when keys are not found
* Add mbedtls as submodule
* add mbedtl_config
* Switched to only including specific mbedtls files I need.  Thank you @kevinwallace
* cherry-pick kevinwallace sconsify
* scons for mbedtls/loclass
* Reset to ready state on error
* unsigned FC/CN
* clean FC/CN if not decoded

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
2022-07-03 17:44:38 +09:00
Eng1n33r
a6242e8ca3 Fix typo in SubGhz 2022-06-29 01:31:07 +03:00
Eng1n33r
b2f6cd0b34
Merge branch 'flipperdevices:dev' into dev 2022-06-28 16:06:11 +03:00
hedger
8b988e2b17
fbt: updater over USB (#1344)
* Scripts: added update package uploader over USB; fbt: added flash_usb target
* fbt: additional dependencies for flash_usb
* Cli: fix cursor_position corruption

Co-authored-by: あく <alleteam@gmail.com>
2022-06-28 22:03:49 +09:00
hedger
e6f18cc322
fbt: building core with respect for debug flag (#1347)
* fbt: building `core` with respect for debug flag
* fbt: added size output for firmware elf
* Infrared: fix cli

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-06-28 21:28:55 +09:00
Eng1n33r
bc6cc28c13
remove unused code 2022-06-28 01:54:37 +03:00
Eng1n33r
1c55a55ddd
adaptation to the new build system + fixes 2022-06-26 20:57:29 +03: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
767f7ff92e code formatted 2022-06-24 13:01:41 +03:00
Eng1n33r
6cc2d47ed4 remove unused icons 2022-06-23 08:44:33 +03:00
Eng1n33r
bfe9ed9411 autolock more time options 2022-06-22 19:08:34 +03:00
Eng1n33r
aa967d63ea
Merge branch 'flipperdevices:dev' into dev 2022-06-22 18:22:06 +03:00
Skorpionm
c79fb61909
SubGhz: add protocol PowerSmart / SolarSmart Roller Shutters (#1335)
* SubGhz: add protocol Power Smart
* SubGhz: parsing protocol Power Smart
* SubGhz: add parsing cannel
* SubGhz: add unit test
* SubGhz: update files unit test_random_raw

Co-authored-by: あく <alleteam@gmail.com>
2022-06-23 00:18:52 +09:00
Georgii Surkov
0b83316560
[FL-2603] Infrared: exit app properly if ran from outside the launcher (#1340)
* Exit app if no previous scene was found
* Infrared: correct return logic for started from archive app

Co-authored-by: あく <alleteam@gmail.com>
2022-06-23 00:12:39 +09:00
Eng1n33r
4c31e8dc5e
Merge branch 'flipperdevices:dev' into dev 2022-06-22 18:12:36 +03:00
Georgii Surkov
9868a65c15
[FL-2602] Infrared: Fix crash when messing with SD card (#1339)
* Fix crash after removing SD card and exiting
* Show an error if SD card was removed on Universal remote screen
2022-06-23 00:05:17 +09:00
Eng1n33r
265bc5b961 git version fix and spectrum analyzer mod 2022-06-22 04:53:21 +03:00
Eng1n33r
881b6d2634 spectrum analyzer new mode 2022-06-22 04:11:52 +03: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
ca66846e4c Merge branch fz-dev into dev 2022-06-21 18:01:40 +03:00
Kevin Wallace
88facf20c1
nfc: DESFire fixes (#1334)
* nfc: don't give up on reading DESFire card if GET_KEY_SETTINGS fails
  Some cards are configured to refuse to provide key settings, but still
  provide other info.  For example, Ubiquiti UniFi Protect access cards
  won't list keys or applications, but will still answer GET_FREE_MEMORY.
* nfc: don't show error when saving DESFire card with no applications
* nfc: fix DESFire load with 0 applications or no PICC key settings

Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-06-21 23:58:22 +09:00
Eng1n33r
d97a27e1af
Merge branch 'flipperdevices:dev' into dev 2022-06-21 17:46:11 +03:00
Georgii Surkov
92f763e553
[FL-2548] Infrared: show error if no SD card/databases (#1337)
* Add Database error scene
* More general popup callback name
2022-06-21 23:45:55 +09:00
Eng1n33r
44c6c2e37b
Merge pull request #17 from TQMatvey/dev
Added 10s Display Timeout
2022-06-21 17:32:17 +03:00
Eng1n33r
d892021272
Merge branch 'flipperdevices:dev' into dev 2022-06-21 17:31:47 +03:00
hedger
eb31fed0e2
[FL-2556] Update complete screen (#1332)
* Desktop: slideshow implementation
* Updater: handling splashscreen installation; added format version field to slideshow binary
* Desktop: added bidirectional slideshow navigation + instant cancel by "back" button; Updater: rebalanced update stages weights
* Updater: fixed missing field init; fixed potential loop when baking slideshows
* Assets: fixed "update complete" image to match original
* Desktop: added check for slideshow file version
* Scripts: slideshow.py cleanup
* Desktop: removed first start intro sequence
* Desktop: removed first start remnants
2022-06-21 23:11:34 +09:00
Nikolay Minaylov
4b02a404ba
[FL-2588] RPC storage: Ignore incorrect file names #1318
Co-authored-by: あく <alleteam@gmail.com>
2022-06-21 22:46:39 +09:00
Skorpionm
dab1313a3b
SubGhz: frequency analyzer combined frequency detection method (#1321)
Co-authored-by: あく <alleteam@gmail.com>
2022-06-21 22:30:30 +09:00
hedger
f060d005f4
[FL-2511] Updater: fixed long update descriptions overlapping UI elements #1327
Co-authored-by: あく <alleteam@gmail.com>
2022-06-21 22:25:05 +09:00
Georgii Surkov
a8acfcabb4
[FL-2568] Infrared C port (#1326)
* Add skeleton for infrared C port, rename old app
* Add scene stubs
* Add more views
* Misc changes
* Add remote and signal class stubs
* Complete infrared signal class
* Add remote button class stub
* Check if button contains a signal during destruction
* Complete infrared signal class more
* Implement remote storing
* Implement remote loading
* Fix error handling
* Implement remote transmitting
* Rename scene
* Canonise event consumption
* Implement remote learning (stub)
* Implement learn success screen (stub)
* Implement AskBack scene
* Improve remote saving&loading
* Fix remote file name
* Add LearnDone scene
* Switch from Remote scene correctly
* Add SceneButtonSelect
* Remove unneeded assert
* Add new SceneManager method
* Use new SceneManager method in Infrared
* Implement renaming of buttons and remotes
* Implement deleting of buttons and remotes
* Add universal remotes list
* Add brute force code
* Brute force code improvements
* Partially implement Universal Remote GUI
* Fix wrong singnal handling
* Fully implement Universal Remote
* Use standard custom events everywhere
* Return infrared CLI
* Remove old Infrared app
* Change container name
* Fix scene order
* Put ButtonPanel into stack only when needed
* Show loading animation during slow operations
* Do not hardcode Loading widget coordinates
* Switch Loading widget orientation as needed
* Save Start scene state
* Save Remote scene state
* Save Edit scene state
* Save EditButtonSelect scene state
* Do not use scene state
* Use string_t instead of const char* for brevity
* Fix memory leak
* Fix saving raw remotes
* Add Infrared debug menu
* Add debug view
* Move Infrared monitor into Infrared application
* Remove old Infrared monitor app
* Use common signal received callback everywhere
2022-06-21 21:45:50 +09:00
TQMatvey
c591b6db03 Added 10s Display Timeout 2022-06-21 12:43:10 +07:00
Eng1n33r
eb625f971f two new games & music player patch 2022-06-21 05:50:34 +03: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
0a3aabc60d Fix KeeLoq Uknown behavior, patch StarLine same way 2022-06-16 19:58:34 +03:00
Eng1n33r
448c8ad988 Merge fz-dev into dev 2022-06-15 15:54:29 +03:00
Astra
7618c8ba6f
Change "cad" to "card" (#1320)
This bugs me too much to just ignore it -_-
2022-06-15 13:20:46 +10:00
Eng1n33r
7ea042b0a4
Merge branch 'flipperdevices:dev' into dev 2022-06-14 06:44:57 +03:00
Skorpionm
adffe20bcb
SubGhz: bugfix 0.60.0 (#1317)
* SubGhz: fix adding one when renaming a file
* SubGhz: fix wrong folder after unsave
* SubGhz: fix syntax
* Github: update codeowners
* Github: fix path selector in codeowners for docker-compose
* Github: add lib owners

Co-authored-by: あく <alleteam@gmail.com>
2022-06-14 12:06:36 +09:00
r3df0xx
426de26be3 merge latest dev properly 2022-06-14 05:32:03 +03: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
f08630849b update unirf remix app & keep custom icons 2022-06-13 23:40:23 +03:00
Eng1n33r
c780aedf35
Merge branch 'flipperdevices:dev' into dev 2022-06-13 15:37:48 +03:00
あく
cc861dd92b
Desktop: poweroff timer and 5 seconds delay and other improvements (#1312)
* Desktop: poweroff timer and 5 seconds delay
* Desktop: cleanup logic in settings application
2022-06-13 12:40:57 +10:00
Nikolay Minaylov
47acf24801
HW LED blink integration (#1310) 2022-06-13 10:08:28 +09:00
r3df0xx
1413f8e34f Came Atomo emulation improvements
+ clean-up a little
2022-06-12 23:33:05 +03:00
Eng1n33r
4b22b122af update UniRF Remix app 2022-06-12 05:42:37 +03:00
r3df0xx
1f4020240b KeeLoq protocol rework. Atomo emulation beta-test.
Fix critical issue with keeloq manufacturer name random change. Now you can emulate any manufacturer system with proper key handling.
Came Atomo parcel counter increasing and emulation. Beta test (need rework signal header and make button counter cycle array for encoder).
2022-06-11 22:53:23 +03:00
Eng1n33r
8ff5a2ac70
Merge branch 'flipperdevices:dev' into dev 2022-06-10 17:39:41 +03:00
gornekich
d876f10193
nfc: don't store pcap for mifare classic emulation (#1309) 2022-06-11 00:23:45 +10:00
Kevin Wallace
d378ca6fda
desktop: prompt to power off on back button long press (#1279)
* desktop: prompt to power off on back button long press
   Implemented by launching Power Settings app, passing "off" as arg to
   directly jump to "power off" scene.
2022-06-10 22:29:25 +09:00
Eng1n33r
38a5a2efd7
Merge branch 'flipperdevices:dev' into dev 2022-06-10 16:00:25 +03:00
David
b3186e29e2
Desktop: Secondary favorite app (#1307) 2022-06-10 21:38:16 +09:00
あく
e0005d5336
[FL-2534] Correct scene navigation UX in storage app #1308 2022-06-10 19:49:25 +09:00
Nikolay Minaylov
761de00501
Fix CLI storage read (#1305)
* Fix cli storage read
* Github: install with web updater

Co-authored-by: あく <alleteam@gmail.com>
2022-06-10 10:28:05 +09:00
r3df0xx
35d752105f extend receiver temp memory to 99 records 2022-06-10 03:34:42 +03:00
Eng1n33r
84342e1aa8
Merge branch 'flipperdevices:dev' into dev 2022-06-09 18:27:48 +03:00
あく
f5ab37ac99
Cli: cleanup gpio commands (#1306)
* Cli: cleanup gpio commands

* Cli: extra gpio message for debug pins
2022-06-10 01:04:36 +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
Samuel Yvon
2bd4efd044
More GPIO control through CLI (#1271)
* Add more options
* Change from one big command to three small commands
  These changes follow from the review. Instead of having to
  rely in GOTOs (which are forbidden :<( ) to ensure cleaning,
  I divided in smaller pieces. Since I had no feedback w.r.t
  the previously existing `gpio_set`, this fits more with the
  current implementation.

  I also tried to interpret "That's not how we do enums" as
  to not include a `enum EnumName` decl. when using typedefs.

  I also distanced the implementation from using LL_GPIO
  in favour of functions provided in `<furi_hal_gpio.h>`
  but there was nothing to get the mode, so I stuck with
  LL_GPIO for mode check.

Co-authored-by: あく <alleteam@gmail.com>
2022-06-09 17:53:26 +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
Skorpionm
d5df4027d7
SubGhz: fix resetting the set frequency when retuning (#1300) 2022-06-09 16:39:12 +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
Nikolay Minaylov
41cf421234
[FL-2565] Archive: switch to browser worker #1295 2022-06-09 16:09:52 +09:00
Eng1n33r
ce8c491291 add spectrum analyzer 2022-06-06 17:20:46 +03:00
Eng1n33r
e37eb0eb63 Merge latest changes from fz-dev 2022-06-03 13:44:33 +03:00
Skorpionm
8b54436950
[FL-2564]SubGhz: 0.59.0-rc bugfixes (#1292) 2022-06-03 16:46:25 +09:00
r3df0xx
0f6471057c Update about.c 2022-06-03 02:59:58 +03:00
r3df0xx
b6fbeec8b2 Update about.c
fix syntax
2022-06-03 00:43:10 +03:00
r3df0xx
4e383f01b7 Update about.c
Correct text
2022-06-03 00:40:57 +03:00
Eng1n33r
d3cdfbf48f Merge latest fz-dev into dev 2022-06-02 18:43:38 +03:00
Eng1n33r
f461390729 change about text 2022-06-02 18:40:47 +03:00
SG
40e3df9979
iButton, RFID: rc-59 fixes (#1291)
* iButton: correct rename logic
* LFRFID: remove debug info, correct text
2022-06-02 21:56:03 +09:00
Eng1n33r
cf33a0ff33 modify readme, add about pages 2022-06-02 02:15:39 +03:00
Eng1n33r
4c5d43af11 forgot to add some things 2022-06-01 21:51:19 +03:00
Eng1n33r
35ebf0d533 add "universal rf remix" app & icons 2022-06-01 21:40:20 +03:00
Eng1n33r
fa7c5f2402 add clock app & clock icon 2022-06-01 21:27:32 +03:00
Eng1n33r
b5b2540c88 fix loader 2022-06-01 21:05:04 +03:00
Eng1n33r
532253867e add tetris game & games menu & 2 icons 2022-06-01 20:54:51 +03:00
Eng1n33r
141ee92065 add wav player & music player icon 2022-06-01 19:00:39 +03:00
Eng1n33r
e6d17b15ed fix region check 2022-06-01 17:03:21 +03:00
Eng1n33r
46d4aab013 update set seed scenes 2022-06-01 16:26:35 +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
Skorpionm
b625e84424
SubGhz: Add Chamberlain 7-Code, Chamberlain 8-Code, Chamberlain 9-Code (#1288)
* SubGhz: fix protocol MegaCode start duration
* SubGhz:  add reception Chamberlain Code 7, 8, 9 protocols
* SubGhz: Generating an upload from HEX data and a duration of 1 bit
* SubGhz: add transmit Chamberlain Code 7, 8, 9 protocol
* SubGhz: Rename Firefly -> Linear

Co-authored-by: あく <alleteam@gmail.com>
2022-06-01 21:17:21 +09: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
Skorpionm
66dbb68947
SubGhz: support 310 MHz and fix (#1262)
* SubGhz: add frequency support 310 MHz
* SubGhz: deleting a TMP file using the "Erase" button in Read RAW
* SubGhz: fix frequency analyzer scan speed
* SubGhz: fix start duration came_atomo protocol
* SubGhz: refactoring subghz_setting
* SubGhz: refactoring load setting frequency analyzer
* SubGhz: fix load setting,  default frequency
* SubGhz: patch raw temp file remove code to work with string_t
* Storage: parallel safe cli
* SubGhz: new frequency settings loading system
* Assets: recompile to include latest subghz custom frequency control changes

Co-authored-by: あく <alleteam@gmail.com>
2022-06-01 00:50:50 +09:00
gornekich
69d90d5b00
nfc device: fix nfc cards save (#1277) 2022-05-31 01:39:43 +10:00
r3df0xx
5b3b37996a Revert "fixes"
This reverts commit 310e140024.
2022-05-27 22:18:41 +03:00
r3df0xx
b23b3c9e8d Revert "fetch big commit from upstream"
This reverts commit 6634999113.
2022-05-27 22:18:35 +03:00
r3df0xx
310e140024 fixes 2022-05-27 22:13:35 +03:00
r3df0xx
6634999113 fetch big commit from upstream 2022-05-27 22:12:40 +03:00
r3df0xx
697b016805 fix file browser test 2022-05-27 18:02:39 +03:00
r3df0xx
297ce8b1cc fff 2022-05-27 17:30:44 +03:00
r3df0xx
49a16070e3 fff 2022-05-27 17:29:42 +03:00
r3df0xx
c4e8251a93 revert 2022-05-27 17:24:01 +03:00
r3df0xx
1d84b37139 Revert "[FL-2491] File browser GUI module (#1237)"
This reverts commit 79920a3522.
2022-05-27 17:18:15 +03:00
r3df0xx
8cc32e28da Revert "Update subghz_scene_set_type.c"
This reverts commit 49635f7295.
2022-05-27 17:15:53 +03:00
r3df0xx
cf714d3e66 Revert "Fetch upstream dev changes"
This reverts commit 6e88e33171, reversing
changes made to 580fe77fb7.
2022-05-27 17:14:43 +03:00
r3df0xx
676c843369 Revert "Update subghz_scene_read_raw.c"
This reverts commit 6171069802.
2022-05-27 17:14:32 +03:00
r3df0xx
72f7b14cb3 Revert "Update subghz_scene_read_raw.c"
This reverts commit a301db68b3.
2022-05-27 17:14:20 +03:00
r3df0xx
a301db68b3 Update subghz_scene_read_raw.c
fix errors
2022-05-27 17:07:41 +03:00
r3df0xx
6171069802 Update subghz_scene_read_raw.c
fix compiling errors
2022-05-27 17:03:14 +03:00
r3df0xx
6e88e33171 Fetch upstream dev changes 2022-05-27 16:49:52 +03:00
r3df0xx
580fe77fb7 Update subghz_test.c 2022-05-27 16:48:04 +03:00
r3df0xx
483f897dc8 Update subghz_scene_set_type.c 2022-05-27 16:43:51 +03:00
r3df0xx
49635f7295 Update subghz_scene_set_type.c 2022-05-27 16:33:39 +03:00
r3df0xx
6995dd6b13 update file browser 2022-05-27 16:30:54 +03:00
Skorpionm
67fbefbe63
SubGhz: Сreating and delivering Security+ 2.0 (#1273)
* SubGhz: Security+ 2.0 "Add manually" option
* SubGhz: fix message error
* Unit_test: add Security+ 2.0 encoder
* Applications: remove obsolete code
* SubGhz: save menu position in "Add Manually" menu

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-27 15:19:20 +03:00
Skorpionm
5c45250dd2
SubGhz: Сreating and delivering Security+ 1.0 (#1268)
* SubGhz: fix frequency reset on incomplete exit from the transmission menu
* SubGhz: fix incorrect shutdown of CC1101 if it was not turned on
* SubGhz: consciousness and transmission support Security+ 1.0
* Unit_test: add test encoder Security+ 1/0
* SubGhz: fix start counter Security+ 1.0

Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-05-27 14:29:52 +03:00
Nikolay Minaylov
79920a3522
[FL-2491] File browser GUI module (#1237)
* File browser module and test app
* nfc: Add support for saved files in subdirectories
* nfc: Use helper function to get shadow path when loading data
* File browser dialog integration pt.1
* File browser dialog integration pt.2
* Gui,Dialogs: drop file select
* Correct use of dynamic string_t(string_ptr)

Co-authored-by: Yukai Li <yukaili.geek@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-27 14:19:21 +03:00
r3df0xx
122629935e Update tetris_game.c 2022-05-27 01:10:56 +03:00
r3df0xx
c561296402 Update subghz_test.c
fix error
2022-05-26 22:54:27 +03:00
r3df0xx
1fb1d1724f Update subghz_test.c 2022-05-26 22:31:44 +03:00
r3df0xx
4d251ebeb9 Update subghz_scene_set_type.c 2022-05-26 22:24:17 +03:00
r3df0xx
c9b1168db9 new subghz fixes 2022-05-26 22:15:53 +03:00
Eng1n33r
74cf6b3e2f
Merge branch 'flipperdevices:dev' into dev 2022-05-26 21:54:26 +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
23053b9f82 Add BFT creation 2022-05-24 23:43:23 +03:00
r3df0xx
dd2da164de New improvements
1) SubGhz: consciousness and transmission support Security+ 1.0 SAVE AND SEND! ;
2) SubGhz: fix incorrect shutdown of CC1101 if it was not turned on;
3) SubGhz: fix frequency reset on incomplete exit from the transmission menu
2022-05-24 20:56:37 +03:00
r3df0xx
17818f3c42 Merge remote-tracking branch 'upstream/dev' into dev 2022-05-24 20:29:48 +03:00
Kevin Wallace
4b45746b8e
Fix MiFare DESFire GetKeySettings response parsing (#1267)
Only the bottom nybble of buf[1] is the key ID; the top nybble contains flags.
Notably, the top bit is set for AES mode on EV1+ cards, and ORCA cards in the
Seattle area were just upgraded to include an app that uses AES.

Prior to this, cards with flags set could be read and saved just fine, but
loading them would fail due to missing keys.  After this, tags saved with the
old version will load fine, and when re-saved will have the flags separated
out into a new field.

Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-05-24 17:05:46 +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
Yukai Li
f90c9320d9
bt: Fix race condition when disconnect during TX (#1260)
* bt: Fix race condition when disconnect during TX
* bt: Move flag clear to not be in middle of other logic
* bt: Bail out of send bytes a little bit earlier

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-05-24 00:43:39 +03:00
Samuel Yvon
eb83b0f02a
(Typo) Conrol=>Control (#1266)
* Fix typo (Conrol=>Control)

Co-authored-by: あく <alleteam@gmail.com>
2022-05-23 23:57:49 +03:00
r3df0xx
454e18252f SubGhz Improvements
fix start duration came_atomo protocol, fix freq. anal. scan speed, add 310mhz, deleting a TMP file using the "Erase" button in Read RAW,
2022-05-23 18:38:53 +03:00
Eng1n33r
bb62d96b3b
Merge branch 'flipperdevices:dev' into dev 2022-05-23 16:49:21 +03:00
Kate Temkin
522420ec70
RFID: add support for Kantech IOProx cards (#1261) 2022-05-23 23:21:34 +10:00
r3df0xx
2f667246db Remove broken \ unworking plugins
Remove unworking Flappy Bird, JukeBox and Universa_RF apps (didnt found way to use) and non-working Spectrum Analyzer.
2022-05-21 22:44:27 +03:00
Eng1n33r
6b9b7a2c6d
Merge branch 'flipperdevices:dev' into dev 2022-05-20 23:05:29 +03:00
あく
8a81b79e00
Infrared: fix RAW parsing in cli. Remove dead sources. (#1255)
* Infrared: fix RAW parsing in cli. Remove dead sources.
2022-05-21 06:03:09 +10:00
Eng1n33r
5b8017d2aa
Merge branch 'flipperdevices:dev' into dev 2022-05-20 22:20:49 +03:00
あく
8d737133fe
FL-2534: change button text in format dialog and fix incorrect dialog_ex behavior when text is not set (#1253) 2022-05-21 04:40:49 +10:00
r3df0xx
580081fc82 Merge branch 'dev' of https://github.com/Eng1n33r/flipperzero-firmware into dev 2022-05-19 23:19:31 +03:00
r3df0xx
2956f2e6f4 add wplugins updates without conficting NFC and BT/BLE changes
Nice FloR-S emulation now working
2022-05-19 23:19:04 +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
ad182e7d33 Revert "fetch upstream"
This reverts commit 911404e881, reversing
changes made to fec7523311.
2022-05-19 20:04:52 +03:00
r3df0xx
1c0f8aa1e8 Revert "fetch upstream"
This reverts commit c12fc57997.
2022-05-19 20:04:39 +03:00
r3df0xx
a3e595575d Revert "Merge branch 'flipperdevices:dev' into dev"
This reverts commit 692f180f2e, reversing
changes made to c12fc57997.
2022-05-19 20:04:33 +03:00
r3df0xx
9fe7fe5dc2 Revert "upd"
This reverts commit 4d4189f3c4.
2022-05-19 20:04:28 +03:00
r3df0xx
64073bd905 Revert "try rollback subghz fix"
This reverts commit 793f64f8d7.
2022-05-19 20:04:23 +03:00
r3df0xx
7cf4f0ca28 Revert "Update pin_lock.c"
This reverts commit 524b602700.
2022-05-19 20:04:07 +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
524b602700 Update pin_lock.c 2022-05-19 17:59:19 +03:00
r3df0xx
793f64f8d7 try rollback subghz fix 2022-05-19 16:34:36 +03:00
r3df0xx
4d4189f3c4 upd 2022-05-19 15:03:44 +03:00
Eng1n33r
692f180f2e
Merge branch 'flipperdevices:dev' into dev 2022-05-19 14:54:57 +03:00
Nikolay Minaylov
513d098051
Fix cli session open on pin unlock (#1245) 2022-05-19 14:24:58 +03:00
r3df0xx
c12fc57997 fetch upstream 2022-05-19 01:35:30 +03:00
r3df0xx
911404e881 fetch upstream 2022-05-19 01:33:17 +03:00
Skorpionm
d38dba4a26
SubGhz: refactoring frequency analyzer and MegaCode display changes (#1221)
* SubGhz: MegaCode display changes
* SubGhz: refactoring frequency analyzer
* SubGhz: use one stage detection in frequency analyzer, tune bw, datarate and etc
* SubGhz: tune analyzer threshold
* SubGhz: raise frequency analyzer threshold and rssi sampling config
* SubGhz: fix frequency analyzer, small step frequency analysis
* SubGhz: subghz_frequency_analyzer_worker
* SubGhz: fix SUBGHZ_FREQUENCY_ANALYZER_THRESHOLD
* SubGhz: debug logging in frequency analyzer, increase MAGN_TARGET to max value
* SubGhz: reduce RSSI delay in frequency scanner
* SubGhz: fix delays, remove trace logging from frequency analyzer
* SubGhz: cleanup variable names and add comments

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-18 23:38:06 +03: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
1ffe4bd582 Update clock_app.c 2022-05-18 01:33:40 +03:00
r3df0xx
7fbf49d377 plugins 2022-05-17 15:54:09 +03:00
Eng1n33r
7ca5cd4876
Merge branch 'flipperdevices:dev' into dev 2022-05-14 18:14:26 +03:00
Jeremy Stashewsky
e46af576fc
Preserve dotted timing on subseqent loops (#1231) 2022-05-14 11:25:05 +03:00
Eng1n33r
c4e41bcbfc
Merge branch 'flipperdevices:dev' into dev 2022-05-12 17:23:05 +03:00