Commit graph

814 commits

Author SHA1 Message Date
MX
394224b3a3
Merge branch 'dev' into subghz-fixes 2023-07-02 09:46:49 +03:00
Sergey Gavrilov
e7bd547d05
SubGHz: properly working with missing external driver (#2821) 2023-07-01 02:56:41 +09:00
Skorpionm
8c93695d01
[FL-3375] SubGhz: add CC1101 module external (#2747)
* SubGhz: add CC1101 Ext driver
* SubGhz:  move TIM2 -> TIM17 use cc1101_ext
* FuriHal: SPI move channel DMA 3,4 -> 6.7
* Documentation: fix font
* SubGhz: add work with SubGhz devices by link to device
* SubGhz: add support switching external/internal cc1101 "subghz chat"
* SubGhz: add support switching external/internal cc1101 "subghz tx" and "subghz rx"
* SubGhz: add "Radio Settings" scene
* SubGhz: add icon
* SubGhz: add supported CC1101 external module in SubGhz app
* SubGhz: fix check frequency supported radio device
* SubGhz: fix clang-formatted
* Sughz: move dirver CC1101_Ext to lib , compile cmd ./fbt launch_app APPSRC=radio_device_cc1101_ext
* SubGhz: fix CLI
* SubGhz: fix PVS
* SubGhz: delete comments
* SubGhz: fix unit_test
* Format sources
* Update api symbols and drivers targets
* Drivers: find proper place for target option
* SubGhz: external device connected method naming
* Format sources
* SubGhz:  fix module selection menu, when external is not connected
* SubGhz: fix furi_assert(device);
* SubGhz: fix split h and c
* SubGhz: furi_hal_subghz remove preset load function by name
* SubGhz: deleted comments
* Format Sources
* SubGhz: add some consts and fix unit tests
* Sync API Symbols

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-06-30 23:03:36 +09:00
AloneLiberty
e5ae3e22b3
NFC: Fix key invalidation logic (#2782)
* NFC: Fix key invalidation logic
* NFC: Fix crash in CLI with empty response
* Fix incorrect key conversions
* Proper call to nfc_util

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Astra <me@astrra.space>
2023-06-29 17:24:13 +09:00
MX
b0988e4d86
Merge branch 'ofw-dev' into dev 2023-06-29 04:22:51 +03:00
g3gg0.de
c10c45616d
SLIX2 emulation support / practical use for Dymo printers (#2783)
* improve digital_signal for longer packets, also clean up code
* added SLIX2 specific features like signature and unknown keys (for issue #2781), added WRITE_PASSWORD handling
* fix NfcV AFI selection
* when NFCV_CMD_READ_MULTI_BLOCK reads beyond memory end, return the maximum possible block's content
* added SLIX2 reading
* fix NXP SYSTEMINFO response check size
* capture the first received password if none was set before
* clear stored data before reading SLIX details renamed slix2_dump functions to slix2_read
* display card block size values as decimal

Co-authored-by: あく <alleteam@gmail.com>
2023-06-29 02:44:34 +09:00
Astra
bf975ad786
Fix roll-over in file browser and archive (#2811) 2023-06-28 20:46:42 +09:00
Konstantin Volkov
e680cf59b6
Actions: unit_test and updater timeouts (#2807)
* added some extra timeouts, fixed duration of units run command and minor logging changes. No list_ports yet needed
* increased timeouts
* make pvs happy

---------

Co-authored-by: doomwastaken <k.volkov@flipperdevices.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2023-06-28 06:47:13 +10:00
PpHd
0a5508a8a1
Fix M*LIB usage (#2762)
* Fix M*LIB usage
* Fix oplist definition of SubGhzFrequencyAnalyzerLogItem
* Fix oplist definition of M_CSTR_DUP_OPLIST
* Remove dependency of furi_string_utf8_decode to the internal definition of string_unicode_t
* Replace obsolete macro M_IF_DEFAULT1 to M_DEFAULT_ARGS

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-06-27 19:50:09 +09:00
Astra
168fa72d53
[FL-3373] Scroll acceleration (#2784)
* Support for scroll acceleration
* Revert keyboard acceleration
* Add scroll acceleration to the text box
* Remove redundant code from the file manager input handler
* Archive: slightly better scrolling
* Gui,Archive: final version of accelerated scrolling

Co-authored-by: あく <alleteam@gmail.com>
2023-06-27 18:22:35 +09:00
Nikita Vostokov
0b68487519 Fix cursor hiding after delete and exit from exit dialog 2023-06-26 15:01:38 +03:00
Nikita Vostokov
3d1ef1aae3 Disable subghz item scrolling
* Show time on receive new signal also
2023-06-26 14:48:57 +03:00
MX
7aa15ada30
merge fix 2023-06-25 03:10:28 +03:00
MX
a466885df3
Merge branch 'ofw-dev' into dev 2023-06-25 03:08:40 +03:00
MX
6f3f2fa1e7
OFW PR 2783: SLIX2 emulation support
by g3gg0
2023-06-24 21:14:00 +03:00
MX
8e126112f0
OFW PR 2782: NFC: Fix key invalidation logic
by AloneLiberty
2023-06-24 21:11:27 +03:00
Sergey Gavrilov
761a14e6e2
[FL-2837][FL-3270] Loader refaptoring: second encounter (#2779)
* Core: rename internal FlipperApplication to FlipperInternalApplication
* FAP Loader: move load_name_and_icon to flipper_application library
* Loader menu: rework api
* View holder: move to gui service
* Loader: simple "loading" worker
* Loader: applications dialog
* Loader: fapping
* Update f18 api
* Apps: remove fap_loader
* Libs, flipper application: store args, rename thread allocation
* Loader: error handling
* Apps: use loader error handling
* Loader: documentation
* FBT: accomodate loader
* Loader: do not raise gui error if loader is locked
* Archive: accomodate loader
* Loader: fix loading message
* Flipper: drop some old dolphin legacy
* Loader: generalize error construction

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-06-23 21:01:40 +09:00
gid9798
1e76c2d840 SubRem Apps: update 2023-06-21 11:24:16 +03:00
gid9798
7bd0273fd5 SubGhz app: deleted extra check 2023-06-20 14:41:59 +03:00
gid9798
6e26de3763 SubGhz app: fix is_tx_allowed and freq check 2023-06-20 14:28:03 +03:00
gid9798
72712d9f07 updated TODO descriptions 2023-06-19 12:51:02 +03:00
gid9798
2817913e63 prt3 2023-06-18 21:09:07 +03:00
gid9798
5eb677aa55 prt2 2023-06-18 20:25:40 +03:00
gid9798
a191631c32 DIR_NAME and Drivers 2023-06-18 16:44:45 +03:00
MX
ee8bbdcfe0
remake just a bit, disable external on command end 2023-06-14 18:05:05 +03:00
MX
8f835597ba
Merge branch 'dev' into subghz_cli_external 2023-06-14 18:03:16 +03:00
gid9798
417dedd317 SubGhz App: remove kostily and velosipedy 2023-06-14 01:24:05 +03:00
MX
f22624399c
remove unneeded global var 2023-06-14 01:07:07 +03:00
gid9798
7b44221d9a Drop timestamp_file_names in hal 2023-06-13 22:36:34 +03:00
gid9798
c4baf3194e SubGhz App: change load custom presets 2023-06-13 22:17:54 +03:00
Sil333033
6aed650bcc added external cc1101 module at cli 2023-06-12 14:15:22 +02:00
MX
6256f0c46e
Add more freqs to default list 2023-06-12 04:33:16 +03:00
MX
3ebca1327f
Merge branch 'dev' into fix/subghz-notifies 2023-06-09 19:00:36 +03:00
MX
53f6205766
dolphin did 2023-06-09 14:14:05 +03:00
MX
e9fc5f62a5
Merge branch 'ofw-dev' into dev 2023-06-09 14:13:11 +03:00
Sergey Gavrilov
0e4344a83c
Services: simplify api (#2540)
Co-authored-by: あく <alleteam@gmail.com>
2023-06-09 20:02:47 +09:00
Nikita Vostokov
fd6b8cd99a Don't reset cursor position after 2x Back btn press 2023-06-08 16:54:45 +03:00
Nikita Vostokov
253478dba5 SubGHz: Fix notifications
* Emit error notification on memory full
* Set IDLE notification (led off) at Info scene if Memory Full
* Enable Rx notification and Rx after deletion of item after "Memory full" state
2023-06-08 16:54:45 +03:00
MX
18220515b5
Merge branch 'ofw-dev' into dev 2023-06-08 14:58:46 +03:00
hedger
3226254876
[FL-3351] github: re-enabled f18 build (#2743)
* github: re-enabled f18 build
* scripts: storage: better transfer logging
* Fix PVS warnings

Co-authored-by: あく <alleteam@gmail.com>
2023-06-08 15:16:01 +09:00
g3gg0.de
c186d2b0cc
added ISO15693 (NfcV) reading, saving, emulating and revealing from privacy mode (unlock) (#2316)
* added support for ISO15693 (NfcV) emulation, added support for reading SLIX tags
* SLIX: fixed crash situation when an invalid password was requested
* ISO15693: show emulate menu when opening file
* rename NfcV emulate scene to match other NfcV names
* optimize allocation size for signals
* ISO15693: further optimizations of allocation and free code
* ISO15693: reduce latency on state machine reset
* respond with block security status when option flag is set
* increased maximum memory size to match standard
  added security status handling/load/save
  added SELECT/QUIET handling
  more fine grained allocation routines and checks
  fix memset sizes
* added "Listen NfcV Reader" to sniff traffic from reader to card
* added correct description to delete menu
* also added DSFID/AFI handling and locking
* increase sniff log size
* scale NfcV frequency a bit, add echo mode, fix signal level at the end
* use symbolic modulated/unmodulated GPIO levels
* honor AFI field, decrease verbosity and removed debug code
* refactor defines for less namespace pollution by using NFCV_ prefixes
* correct an oversight that original cards return an generic error when addressing outside block range
* use inverse modulation, increasing readable range significantly
* rework and better document nfc chip initialization
* nfcv code review fixes
* Disable accidentally left on signal debug gpio output
* Improve NFCV Read/Info GUIs. Authored by @xMasterX, committed by @nvx
* Fix crash that occurs when you exit from NFCV emulation and start it again. Authored by @xMasterX, committed by @nvx
* Remove delay from emulation loop. This improves compatibility when the reader is Android.
* Lib: digital signal debug output pin info

Co-authored-by: Tiernan Messmer <tiernan.messmer@gmail.com>
Co-authored-by: MX <10697207+xMasterX@users.noreply.github.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-06-08 14:30:53 +09:00
MX
87f70655a2
Remove broken modulation that was causing buffer Overrun
Fixes issue #506
2023-06-07 23:54:01 +03:00
MX
0d394a6f87
Merge branch 'ofw-dev' into dev 2023-06-07 00:29:06 +03:00
Astra
a284d21e1c
[FL-2872] Remove unused resources (#2740)
Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-06-06 22:11:23 +04:00
MX
d16ba6c4c8
Fix stilmatic support? 2023-06-03 00:29:01 +03:00
MX
2dc0059b1c
NFC V, review gui fixes, disable debug output in digital signal 2023-06-02 16:47:54 +03:00
MX
f5692ea1f0
fix message 2023-05-31 17:16:24 +03:00
MX
774156a78a
Merge branch 'ofw-dev' into dev 2023-05-31 17:14:49 +03:00
Tiernan Messmer
b18bf3eddb
nfcv code review fixes 2023-05-31 17:14:06 +03:00
Skorpionm
d09c59fd2f
[FL-3340] SubGhz: fix flipper crashes after exiting broadcast blocking message and crash cli (#2714) 2023-05-31 21:59:12 +09:00
gid9798
53dbf8de72 fix 2023-05-31 12:25:45 +03:00
MX
e60707d7ef
need to fix that 2023-05-31 12:18:24 +03:00
MX
6374474b25
fmt 2023-05-31 10:39:11 +03:00
MX
c0d80a4f83
Merge branch 'dev' into keeloq_move_mf_to_keystore 2023-05-31 10:38:28 +03:00
MX
0a0109e2aa
Merge pull request #492 from gid9798/subrem_main_and_maker
Subrem main and maker
2023-05-31 01:08:24 +03:00
gid9798
6ad58276f8 Cleanup and rename 2023-05-30 22:21:47 +03:00
gid9798
a260465721 Prog_mode to custom_btn 2023-05-30 22:18:54 +03:00
gid9798
c70a13015b Allow BinRaw & some clean 2023-05-30 20:27:15 +03:00
gid9798
a312aa422a Same codebase as fap 2023-05-30 20:04:17 +03:00
gid9798
b3e8b2c487 upd_subrem_main 2023-05-30 20:01:31 +03:00
gid9798
da4a8eb5c1 Merge branch 'UFW_dev' into lfrfid_t5577 2023-05-30 11:20:01 +03:00
MX
b25e98ffbb
Rename buttons in OFW naming scheme 2023-05-30 00:12:46 +03:00
MX
121526f521
Use AC Remote from OFW, same for Audio remote
ASSETS update needed, will be done soon
2023-05-29 23:50:37 +03:00
gid9798
a4c1ad22ef Removing duplicate code in t5577 passwd clear 2023-05-29 22:15:07 +03:00
MX
e474b851bf
fix for new bus changes 2023-05-29 21:29:13 +03:00
MX
0ab530e750
Merge branch 'ofw-dev' into dev 2023-05-29 20:33:12 +03:00
micolous
363f555ed7
Implement support for reading Opal card (Sydney, Australia) (#2683)
* Implement support for reading Opal card (Sydney, Australia)
* stub_parser_verify_read: used UNUSED macro
* furi_hal_rtc: expose calendaring as functions
* opal: use bit-packed struct to parse, rather than manually shifting about
* Update f18 api symbols

Co-authored-by: あく <alleteam@gmail.com>
2023-05-29 20:55:55 +09:00
MX
18a895310c
Merge branch 'ofw-dev' into dev 2023-05-29 14:40:07 +03:00
Nikolay Minaylov
66961dab06
BadUSB: script execution pause (#2700)
Co-authored-by: あく <alleteam@gmail.com>
2023-05-29 18:21:18 +09:00
MX
0d1fea9861
LFRFID PSK Raws in debug 2023-05-28 06:36:19 +03:00
MX
9af6616882
Archive, fix rename, show message to user 2023-05-27 13:39:54 +03:00
MX
3c452e6ddb
Merge branch 'ofw-dev' into dev 2023-05-26 16:51:11 +03:00
Yukai Li
5f52382098
nfc: Mifare Ultralight C detection (#2668)
* nfc: Add Mifare Ultralight C detection
* nfc: Add display name for MFUL C and hide menu items
    MFUL C unlock and emulation currently not supported, so hide from menu
    if current card is MFUL C
* nfc: Also check response when probing 3DES auth
* nfc: Hide emulate option in saved menu for MFUL if not supported
* nfc: Remove unlock options from saved menu if Ultralight C


Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-05-26 22:19:10 +09:00
MX
36102b8ee0
Merge branch 'ofw-dev' into dev 2023-05-26 12:03:49 +03:00
Georgii Surkov
ed1ebf9b93
[FL-3322] Infrared: respect carrier frequency and duty cycle settings (#2677)
* Make infrared_worker respect carrier frequency and duty cycle
* Update comments

Co-authored-by: あく <alleteam@gmail.com>
2023-05-25 23:38:56 +09:00
gid9798
51df11886a Merge branch 'UFW_dev' into subrem_new_app 2023-05-21 23:55:38 +03:00
gid9798
8597169e14
Merge branch 'DarkFlippers:dev' into keeloq_move_mf_to_keystore 2023-05-21 23:44:22 +03:00
gid9798
58b21f2a49 Using TxRx from subghz 2023-05-21 23:38:58 +03:00
gid9798
e71a66535d move part of preset 2023-05-21 23:38:36 +03:00
MX
ef19fa9b51
SubRemote: Migrate old files and make folder if not exist 2023-05-21 20:37:55 +03:00
gid9798
2414346ec3 keeloq to kestore 2023-05-20 16:15:01 +03:00
gid9798
47b1cadbb6 fix alloc balance 2023-05-20 15:05:26 +03:00
gid9798
d949b010d8
Loading States & fix label length 2023-05-20 10:26:01 +03:00
gid9798
2bda0820bf
SubGHz App: alloc balance 2023-05-20 10:22:22 +03:00
gid9798
561b54ce36 SubGHz App: alloc balance 2023-05-20 09:38:44 +03:00
gid9798
09527c3ab6 keeloq 2023-05-20 01:15:36 +03:00
gid9798
a4d72e0fee
subrem fix repeat 2023-05-19 23:32:57 +03:00
gid9798
47f6d78737 Loading States & fix label length 2023-05-19 23:21:18 +03:00
gid9798
1d79e149cf subrem fix repeat 2023-05-19 12:32:35 +03:00
MX
10d926de0d
EXT_PATH only 2023-05-19 05:09:14 +03:00
MX
4e767c9872
Merge branch 'dev' into subrem_new_app 2023-05-19 04:54:04 +03:00
MX
481a8e0f33
Move after nchgr service 2023-05-19 04:51:25 +03:00
MX
324186dad2
Add back cnt in debug 2023-05-19 04:49:29 +03:00
MX
99dde674ca
small changes 2023-05-19 03:31:46 +03:00
gid9798
6f205edd9a minor fixes 2023-05-18 19:20:34 +03:00
gid9798
6f9f3e9496 minor fixes 2023-05-18 15:16:31 +03:00
gid9798
e8264dc6e7 subghz_remote_app 2023-05-18 13:48:25 +03:00
gid9798
64817ac216 Move dangerous_settings check 2023-05-18 10:59:08 +03:00
MX
27028471bb
Update changelog 2023-05-17 23:16:25 +03:00
MX
d539b948a0
Revert hitag for now, need to cleanup more space 2023-05-17 23:06:41 +03:00
MX
51ba8b66b6
Save a little bit (~2k) of space 2023-05-17 23:05:44 +03:00
MX
c9ddecff87
OFW PR 2658: Hitag
by blackvault88
2023-05-17 21:18:05 +03:00
MX
c760bca4a9
OFW PR 2316: NFC V support
https://github.com/g3gg0/flipperzero-firmware/tree/ISO15693
2023-05-17 19:45:30 +03:00
MX
45ae0c097b
Fix need saving message when all signals was removed 2023-05-17 17:51:25 +03:00
MX
88e47e9251
Fix crashes when deleting signals in Read mode 2023-05-17 17:24:14 +03:00
MX
90f18075cb
Restore Rx indication after deletion after Memory is FULL
by @wosk / PR #464
2023-05-17 15:41:51 +03:00
MX
26a113292b
CAME Atomo - Add manually support 2023-05-17 13:15:59 +03:00
gid9798
d87df3e6c2 Change custom btn sending logic 2023-05-14 01:34:43 +03:00
gid9798
6b56de5c93 SubGhz some changes 2023-05-13 23:16:28 +03:00
gid9798
a74461d903 Removed duplicate code in transmitter.c 2023-05-13 16:55:35 +03:00
gid9798
c0a26cf1eb SubGhz custom btn improved code readability some "if" optimization 2023-05-13 14:43:11 +03:00
gid9798
ec7e6a0ac1 Using scene manager functions in DecodeRAW 2023-05-11 13:22:02 +03:00
MX
9862876f06
SubGHz: Fix typos (#2661)
Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-05-11 12:10:20 +09:00
MX
3881de74eb
rename settings scene 2023-05-11 03:54:53 +03:00
MX
d5100476ac
cleanup ext module settings 2023-05-11 03:50:55 +03:00
MX
a1fa5224a3
Infrared external output move out of debug and add power option 2023-05-11 03:15:15 +03:00
MX
654a622607
Move counter incr out of debug, change max value to 3
making it not that harmful if user don't understand what it does
2023-05-11 03:05:04 +03:00
MX
bc93de0f03
remove unnecessary scene switch 2023-05-11 00:01:28 +03:00
MX
3531caaa0b
Clean up some comments, rename is done 2023-05-10 23:48:47 +03:00
MX
b38a593c4f
Remove this 2023-05-10 23:36:52 +03:00
MX
e7707b31f0
Do some TODOs 2023-05-10 23:28:09 +03:00
MX
a941ed8c2a
Rename funcs 2023-05-10 23:12:50 +03:00
MX
3e3538b9bc
Always free 2023-05-10 23:07:06 +03:00
MX
735fe31f3b
Fmt and cleanup some "if"s in protocols 2023-05-10 22:56:56 +03:00
MX
cca6606c78
fix typos from ofw 2023-05-10 21:48:55 +03:00
gid9798
6f10990386 SubGhz: fix syntax & minor fixes 2023-05-10 13:21:42 +03:00
gid9798
88bd5aef40
Merge branch 'DarkFlippers:dev' into subghz_refactoring_step_by_step 2023-05-09 22:42:28 +03:00
gid9798
a3cf592f29 Minor fixes 2023-05-09 22:16:52 +03:00
gid9798
0019baaa00 SubGhz: simplify includes 2023-05-09 21:58:36 +03:00
gid9798
85d44c5f6c SubGhz: fix naming part 2 and 3 2023-05-09 21:54:56 +03:00
gid9798
5b447d0a56 SubGhz: refactoring 2023-05-09 21:44:53 +03:00
gid9798
e817a4cdba SubGhz: add function description 2023-05-09 21:38:25 +03:00
gid9798
def4ae395e SubGhz: refactoring 2023-05-09 21:20:35 +03:00
gid9798
42a415e449 SubGhz: value get optimizations 2023-05-09 20:19:01 +03:00
gid9798
752a11ba26 SubGhz: refactoring RPC 2023-05-09 20:06:22 +03:00
gid9798
21cd94cc79 SubGhz: show error tx start 2023-05-09 19:50:01 +03:00
gid9798
c69b2086b0 SubGhz: refactoring 2023-05-09 19:33:45 +03:00
gid9798
d7f3b8a425 SubGhz: refactoring move txrx 2023-05-09 19:10:56 +03:00
MX
face4bd3c7
Merge branch 'fz-dev' into dev 2023-05-09 18:28:46 +03:00
gid9798
9b3654c1f0 SubGhz: refactoring make subghz_radio.h look like in OFW 2023-05-09 18:24:38 +03:00
gid9798
8ae2cb1d32 SubGhz: refactoring 2023-05-09 18:24:25 +03:00
gid9798
a2fbe7fab8 SubGhz: refactoring 2023-05-09 17:30:01 +03:00
gid9798
4cbdbd9ef5 SubGhz: refactoring 2023-05-09 15:58:56 +03:00
gid9798
076f6785cb SubGhz: refactoring 2023-05-09 15:22:08 +03:00
gid9798
07203f0989 SubGhz: refactoring 2023-05-09 15:11:54 +03:00
gid9798
f71900694b SubGhz: refactoring 2023-05-09 13:34:54 +03:00
gid9798
b99d309feb SubGhz: moving "txrx" entity to a separate file 2023-05-09 12:07:36 +03:00
Nathan Nye
d5403a089c
Add Mfkey32 application (#2517)
* Add Mfkey32 application
* Fine tune RAM requirements, use FZ notification service API
* Fix PVS security warnings, fix issue with cracking keys on the FZ
* Prefer on-device or Flipper mobile app (seamless)
* Mfkey32: change app category to NFC
* Mfkey32: set target to f7 only
* Silence PVS false positives
* Correct PVS codes

Co-authored-by: あく <alleteam@gmail.com>
2023-05-09 10:45:59 +09:00
gid9798
ee85541d2a SubGhz: refactoring subghz_scene_set_type.csubghz_scene_set_type.c 2023-05-08 21:55:51 +03:00
gid9798
e65a5e2b7c SubGhz: remove direct reading subghz->txrx->speaker_state 2023-05-06 17:56:10 +03:00