Commit graph

412 commits

Author SHA1 Message Date
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
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
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
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
gid9798
1567225a64 SubGhz: remove direct reading subghz->txrx->rx_key_state 2023-05-06 17:47:49 +03:00
gid9798
1387d8d5d6 SubGhz: check load type file 2023-05-06 17:28:16 +03:00
gid9798
d8631d1489 SubGhz: remove direct reading subghz->lock 2023-05-06 17:19:02 +03:00
gid9798
c98e76f31e SubGhz: remove direct reading (hopper_state) 2023-05-06 17:02:32 +03:00
gid9798
cb8c77ee2c SubGhz: remove direct reading 2023-05-06 16:36:15 +03:00
gid9798
ff24bf6829 SubGhz: add SubGhzThresholdRssi 2023-05-06 02:00:26 +03:00
MX
b0b9e507e7
SubGHz combine FuriString allocs 2023-05-05 03:51:16 +03:00
MX
1f0c2c1266
SubGhz refactor merge pt 0 2023-05-05 02:09:21 +03:00
Skorpionm
d2ca67d261
[FL-3242] SubGhz: refactoring app (#2554)
* SubGhz: add SubGhzThresholdRssi
* SubGhz: remove direct reading of subghz-txrx-txrx_state
* SubGhz: remove direct reading subghz->txrx->hopper_state
* SubGhz: remove direct reading subghz->lock
* SubGhz: check load type file
* SubGhz: remove direct reading subghz->txrx->rx_key_state
* SubGhz: remove direct reading subghz->txrx->speaker_state
* SubGhz: refactoring subghz_scene_set_type.c
* SubGhz: moving "txrx" entity to a separate file
* SubGhz: show error tx start
* SubGhz: refactoring RPC
* SubGhz: value get optimizations
* SubGhz: fix name file
* SubGhz: add function description
* SubGhz: fix double back with a blocked transmission in this region and speacker, when a transmission is blocked in this region
* SubGhz: correct spelling
* SubGhz: better naming
* SubGhz: simplify includes

Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-05-04 12:04:26 +09:00
MX
ab669b26da
Fix very old and funny subghz bugs
Fixed Frequency Ananyzer issues
Fixed read mode issues
Fixed re-inits in HAL
2023-04-25 01:42:20 +03:00
MX
8cb3b67295
Fix external radio SPI handlers 2023-04-24 01:56:43 +03:00
gid9798
47ece05592 using scene_manager`s function 2023-04-22 19:47:33 +03:00
gid9798
b46d9e09eb Revert "Fix add manually naming"
This reverts commit eb3a4bfa6e.
2023-04-22 17:42:41 +03:00
MX
eb3a4bfa6e
Fix add manually naming 2023-04-22 04:38:14 +03:00
gid9798
f2a7172a84 Drop excess DOLPHIN_DEED 2023-04-21 16:17:59 +03:00
gid9798
40a5306ed4 Combining BFT/FAAC scenes 2023-04-21 16:10:08 +03:00
MX
7747f45be3
Fix null pointer dereference 2023-04-21 07:51:37 +03:00
MX
f0e866cb56
Fix add manually naming 2023-04-21 07:38:01 +03:00
MX
d92833284e
Scroll improvements 2023-04-21 07:25:34 +03:00
MX
1bb3ab8715
New option to save signal names with timestamps 2023-04-21 06:46:10 +03:00
Nikita Vostokov
95e3b7d42b [SubGHz] Show receiving time of signal 2023-04-21 03:19:55 +03:00
Nikita Vostokov
fd40a77089 Add time of Rx SubGHz signal 2023-04-21 03:19:55 +03:00
MX
40e435a961
Kostily and velosipedy
!!! Needs to be re-done in proper way after ofw subghz refactoring merge
2023-04-19 19:19:26 +03:00
MX
c6e5ca1fec
Fix keeloq custom buttons bug
When you receive couple signals on read screen and open last one it was replacing its button with first one received
2023-04-19 11:51:08 +03:00
MX
afab1bdaad
SubGhz - Temp Fix RAW recording and reading
and remove unused file
2023-04-14 23:37:20 +03:00
MX
0a844e0b62
Merge branch 'fz-dev' into dev 2023-04-12 14:51:58 +03:00
Skorpionm
33e8bae78b
Bugfix: ISP Programmer and SubGhz (#2574)
* AVR_ISP: fix NULL pointer dereference
* SubGhz: double back with a blocked transmission in this region
* SubGhz: fix speaker, when a transmission is blocked in this region
* SubGhz: fix speaker
* SubGhz: return region
* AVR Flasher: cleanup code

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-04-12 15:07:05 +09:00
MX
114e8d5b6a
Merge branch 'fz-dev' into dev 2023-04-10 18:41:22 +03:00
MX
c2997bb1fc
Trying to fix button issues in sbughz remote 2023-04-09 23:56:41 +03:00
MX
d8378e6819
SubGHz: Fix keyboard lock 2023-04-07 11:49:10 +03:00
MX
3cdb05364b
AnMotors AT4 - Add manually fixes
Fix serial first two numbers to 47 - Just in case
Looks like they are same for all remotes (may be incorrect)
2023-04-05 17:44:56 +03:00
MX
70eefe6de3
Fix 2023-04-05 00:52:52 +03:00
gid9798
1923c15907 StarLine ignore 2023-04-04 22:42:55 +03:00
MX
cb12369b1c
Merge branch 'dev' into custom-buttons 2023-04-01 21:59:22 +03:00
gid9798
5603ed7ebb Transferring and combining the functionality of "custom buttons" into a separate file. 2023-04-01 21:37:04 +03:00
MX
7b1d7904c1
Beninca / Allmatic support 2023-04-01 21:36:59 +03:00
gid9798
e0928432ef Clear code in "add manual" scene 2023-03-28 11:40:00 +03:00
MX
bb600218b6
Alutech AT4N + AN-Motors AT4 - add manually 2023-03-28 02:32:35 +03:00
MX
ce430ff7f6
Remove debug, change aprimatic default button 4 2023-03-28 01:58:35 +03:00
MX
0f06991391
Aprimatic add manually 2023-03-27 23:27:15 +03:00
MX
5b6b081664
GSN - Add manually support 2023-03-21 20:09:18 +03:00
MX
b0928fb3cd
Fix subghz external module power issues 2023-03-17 00:27:01 +03:00
MX
559b0e9b40
Small UI fixes 2023-03-16 21:24:09 +03:00
MX
2cefc9aab0
Security+ 2.0 custom buttons 2023-03-16 18:14:39 +03:00
MX
3c3ac216dc
Remember if 5v was turned off, save its state 2023-03-16 16:03:22 +03:00
MX
bb9ac1389b
Remember last state for CC1101 external + other fixes
Reset to internal module if external is not found on all apps, not only in bruteforcer
2023-03-16 15:02:23 +03:00
MX
84b2242636
Check for external module when launching from favourites 2023-03-13 23:19:33 +03:00
MX
c560394358
External module power bug fixes 2023-03-13 18:43:50 +03:00
MX
eb57f4c7e4
Fix ironlogic add manually 2023-03-12 15:53:06 +03:00
MX
027ae3f3f6
SubGHz: Add manually extend, add support for new protocols
Schellenberg / Stilmatic and Came Space keeloq protocols support
2023-03-12 15:32:47 +03:00
MX
71daa3e0f8
When we select ON/OFF call power enable and disable 2023-03-09 04:33:19 +03:00
MX
1249ce9b94
Option to disable auto 5v power for external radio module
Now you can use 3.3v modules without wasting a battery (bonus a bit low noise on power line)
2023-03-09 04:02:31 +03:00
MX
da9b968fc9
No more noises 2023-03-09 04:01:24 +03:00
MX
5d9174ac9d
Merge branch 'fz-dev' into dev 2023-03-08 22:52:11 +03:00
Liam Hays
90958a6d23
More UI fixes and improvements (#2419)
* Unify spelling of confirm exit/retry across apps.
* Unify infrared exit/retry confirm menus?
* "Keyboard Layout", not "Keyboard layout".
* Make iButton read scene prompt less awkward.
* "Detect Reader" in MF Classic saved menu instead of "Detect reader"
* NFC menu spelling changes only.
* Remove \n in strings in widget_add_string_element() calls.

Co-authored-by: あく <alleteam@gmail.com>
2023-03-08 20:27:21 +09:00
MX
ab91dc1882
External module 5v power issues fixes 2023-03-08 01:09:17 +03:00
MX
ada343b7df
Exclude 390Mhz from freq analyzer for external module 2023-03-06 12:30:20 +03:00
MX
f612357150
Exclude 464Mhz from freq analyzer 2023-03-05 23:09:54 +03:00
MX
056f2eb7d5
Return frequency check 2023-03-04 00:24:56 +03:00
MX
fe84e9521c
More subghz updates and fixes 2023-03-04 00:03:04 +03:00
MX
b90060e574
Merge branch 'fz-dev' into dev 2023-03-03 23:22:40 +03:00
Skorpionm
72ca6b25e9
[FL-3106] SubGhz: better and more verbose error handling in protocols, stricter CAME validation (#2443)
* SubGhz: add error protocol
* WS: add error protocol
* SubGhz: error processing
* SubGhz: more stringent CAME protocol restrictions
* SubGhz: fix header duration CAME protocol
* SubGhz: delete comments
* SubGhz: sync SubGhzProtocolStatus with FuriStatus
* SubGhz: update documentation and bump api_version

Co-authored-by: あく <alleteam@gmail.com>
2023-03-04 00:09:13 +09:00
MX
f8dc1939cd
Return kostyli and velosipedy back, apply different fix 2023-03-01 12:02:53 +03:00
MX
1b8cf6a5b1
Fix default frequency being overwritten bug 2023-03-01 11:57:16 +03:00
MX
24726ab8a3
More precise debug counter ++ 2023-02-28 06:19:21 +03:00
MX
6bd5e22872
Somfy Telis - add manually 2023-02-28 06:15:55 +03:00
MX
cbb09b6812
BFT Programming mode and Add manually 2023-02-28 06:02:22 +03:00
MX
9c9688dd5b
Nice One manual adding support 2023-02-28 00:41:14 +03:00
MX
2c95a7cba4
Somfy Telis - Custom buttons + Prog mode 2023-02-28 00:02:30 +03:00
MX
182296d8af
Nice flor s - custom buttons 2023-02-27 01:13:21 +03:00
MX
a19768e376
Throw small delay 2023-02-26 06:39:42 +03:00
MX
a71abedd25
Rename some vars 2023-02-26 05:25:22 +03:00
MX
a435959ee3
Fix counter settings being reset w custom btns 2023-02-26 04:14:55 +03:00
MX
d33b092a9d
Fix Subghz item removal bug 2023-02-26 04:13:28 +03:00
MX
f676072e15
Fix custom button counter bug 2023-02-26 01:09:08 +03:00
MX
ba09da107a
Worst code ever
subghz imporvements

- hold right to delete signal in read
- extra buttons in saved signals
- ability to change counter increase value in debug
2023-02-25 22:28:35 +03:00
Round-Pi
b89902942b typo combing 2023-02-20 10:55:53 -05:00
MX
f93462667c
Remove 467.75 From freq analyzer since it has too much noise
Frequency is still can be used, just excluded from FA to avoid false detections
2023-02-13 20:54:03 +03:00
MX
d247eb43de
Fbt format 2023-02-12 23:58:16 +03:00
MX
896a78c645
Use 17 (1W) pin for subghz debug mode 2023-02-12 20:02:27 +03:00
jbohack
73a9425f73 added the common pager frequency to the frequency list 2023-02-11 15:20:34 -05:00
jbohack
462836346e added pager modulation for restaurant pagers
credit to jimi for the modulation :)
2023-02-11 15:16:09 -05:00
MX
9d2297410e
fbt format 2023-02-11 18:28:58 +03:00
MX
36f1283bb3
Fix: line was hidden under image in decode raw 2023-02-10 03:58:09 +03:00
MX
1b1f58408d
SubGHz Decode Raw GUI fixes 2023-02-10 02:25:30 +03:00
MX
a098e0561e
Temp fix
BUG: Now sound works but sending signal with sound on doesn't actually send signal!!!
Need to return previous implementation with 2 channel Timer or find another way
2023-02-10 00:56:29 +03:00
MX
175287ee0a
Fix again 2023-02-09 23:56:36 +03:00
MX
c5e225656d
Throw in some copy pastas
temp solution, maybe not temp, maybe its forever
2023-02-09 23:25:00 +03:00
MX
07093d072f
Fix Debug pin 2023-02-09 23:21:36 +03:00
MX
fda38c9d04
Debug pin setting for subghz protocol development
When DEBUG is on in settings, you can turn on debug pin in radio settings now, DO NOT use it if you don't know what it is!!!!
2023-02-09 22:41:12 +03:00
MX
16a5b13be4
Max 55 signals Seems stable, setting it to 55 for now
Subghz history
2023-02-09 22:12:03 +03:00
MX
ef2c668e31
Small GUI fixes
remove static line in subghz receiver because now we have RSSI line
2023-02-09 18:01:52 +03:00
MX
539c4e2dd0
Fixes & imporvements
Use our custom icon for Bin RAW
2023-02-09 17:49:28 +03:00
MX
b9351649ed
Merge branch 'fz-dev' into dev 2023-02-09 17:48:50 +03:00
MX
be33e099be
Fix read raw GUI
Now showing internal or external module usage properly
2023-02-09 17:22:19 +03:00
MX
ba36f4672c
Throw away Kostily & Velosipedy
Ne bag a ficha, bolshe ne nuzhna
2023-02-09 17:21:40 +03:00
Skorpionm
163be139eb
SubGhz: add protocol BinRAW (binarization of data quantized by the minimum correlated duration) (#2322)
* SubGhz: add protocol DataRAW (binarization of data quantized by the minimum correlated duration)
* SubGhz: fix name history
* SubGhz: add encoder Data_RAW protocol
* SubGhz: decreasing the size of the LevelDuration structure
* SubGhz: history, added check that there is free RAM
* SubGhz: checking for free memory, support to pass without gap
* SubGhz: add running average to average the result, auto cut noise at the end of a burst
* SubGhz: support for repeating sequences
* SubGhz: fix secplus_v2 decoder
* SubGhz: bin_RAW fix add history
* SubGhz: add debug
* SubGhz: debug refactoring
* FURI_LOG: add FURI_LOG_RAW_x formatted string output like printf
* SubGhz: fix new FURI_LOG metod
* FURI_LOG: fix unit test
* SubGhz: add enable/disable BinRAW protocol decoding
* SubGhz: fix PVS
* SubGhz: forcibly turn off the speaker when exiting SubGhz
* SubGhz: adaptive adjustment to the noise level

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-09 13:48:06 +09:00
MX
eaffe0ec17
Fix small bugs 2023-02-08 21:45:23 +03:00
MX
ed78c4ca04
Fixes 2023-02-08 20:49:06 +03:00
MX
bbc1ba62fc
Merge branch 'fz-dev' into dev 2023-02-08 20:12:10 +03:00
Skorpionm
31259d5304
[FL-3091] SubGhz: add protocol Alutech at-4n (#2352)
* GubGhz: add protocol Alutech at-4n
* SubGhz: fix syntax
* SubGhz: fix subghz_protocol_decoder_alutech_at_4n_get_hash_data
* SubGhz: add unit test alutech at-4n
* SubGhz: add name key

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-09 01:59:49 +09:00
MX
c8cf3e41a7
Fix that sound switcher was not present in read raw 2023-02-08 18:48:28 +03:00
MX
0dccbe28bb
Merge branch 'fz-dev' into dev 2023-02-08 17:15:17 +03:00
Skorpionm
99253a0e28
[FL-3093, FL-3087] SubGhz: Fix Raw write, add short duration filter setting (#2300)
* SubGhz: Fix recording RAW files, sometimes could not start at a high level
* SubGhz:  subghz_worker, add short duration filter setting
* SubGhz: capture raw timings in cli. Furi: clear pending interrupts on ISR set/reset
* SubGhz: fix start  duration in furi_hal_subghz_start_async_rx
* [FL-3093] SubGhz: hopping issue in some regions
* [FL-3087] SubGhz: fix delete-ok issue
* SubGhz: remove copypasta from rx_raw cli command

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-08 22:20:42 +09:00
MX
6c768f2019
Merge branch 'fz-dev' into dev 2023-02-08 12:09:57 +03:00
Liam Hays
111c7557b3
Fix minor UI inconsistencies and bugs (#2361)
* Changed blue LED to cyan in NFC Magic and Picopass apps.
* Fix capitalization of ATQA and UID in NFC Add Manually wizard.
* Fix reselection of "Saved" menu item in NFC and RFID apps.
* Fix double back press after deleting a file in the SubGhz browser.
* Make NFC app behave like other apps: return to the file browser after deleting a file.
* Rename NfcSceneSetAtqua to NfcSceneSetAtqa.
* Save selected menu items in NFC Magic and Picopass apps in a way that always works.
* Restore previous selection in Universal Remotes menu.
* Other way to do universal remote menu saving, and NFC Extra Actions saves last selection.

Co-authored-by: あく <alleteam@gmail.com>
2023-02-08 17:08:50 +09:00
hedger
224d0aefe4
[FL-2733] multitarget support for fbt (#2209)
* First part of multitarget porting
* Delete firmware/targets/f7/Inc directory
* Delete firmware/targets/f7/Src directory
* gpio: cli fixes; about: using version from HAL
* sdk: path fixes
* gui: include fixes
* applications: more include fixes
* gpio: ported to new apis
* hal: introduced furi_hal_target_hw.h; libs: added one_wire
* hal: f18 target
* github: also build f18 by default
* typo fix
* fbt: removed extra checks on app list
* api: explicitly bundling select mlib headers with sdk
* hal: f18: changed INPUT_DEBOUNCE_TICKS to match f7
* cleaned up commented out code
* docs: added info on hw targets
* docs: targets: formatting fixes
* f18: fixed link error
* f18: fixed API version to match f7
* docs: hardware: minor wording fixes
* faploader: added fw target check
* docs: typo fixes
* github: not building komi target by default
* fbt: support for `targets` field for built-in apps
* github: reworked build flow to exclude app_set; fbt: removed komi-specific appset; added additional target buildset check
* github: fixed build; nfc: fixed pvs warnings
* attempt to fix target id
* f7, f18: removed certain HAL function from public API
* apps: debug: enabled bt_debug_app for f18
* Targets: backport input pins configuration routine from F7 to F18

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-08 01:33:05 +09:00
MX
559c4567cb
Rename: Radio settings -> Radio Settings 2023-02-03 17:43:17 +03:00
MX
8c50225da4
Fix issue with external module settings
It was possible to set it to external module without module connected, and as it saves its state in memory, all other plugins that uses subghz will not work, now we checking for module when you changing that setting
2023-02-03 17:20:10 +03:00
MX
bfbcce030c
Fix GUI issues
Fix secplus v1 text too
2023-02-03 15:39:02 +03:00
Victor
5458157924 Added external CC1101 support 2023-02-02 22:47:50 +03:00
MX
898b29b921
Fix SubGHz GUI receiver bug
When keyboard is locked and popup appears it now shows bottom text correctly
2023-01-21 10:45:10 +03:00
MX
5853e0bdd9
Block usage of hopping with detect raw at same time
Enough, it will not be enabled back, do not ask for it, its efficiency is almost 0, if you didn’t know it looses signals and all that you can capture is a micro part of end of the signal

Detect raw also will be removed in a future (and replaced with more correct solution)
2023-01-19 16:27:07 +03:00
MX
27826f95ca
Merge branch 'dev' into somfy_encoder_new 2023-01-18 19:01:22 +03:00
MX
927fcca081
Revert "Merge pull request #252 from X-Stuff/dev-advanced-config"
This reverts commit ed5b2da9ad.
2023-01-18 18:18:17 +03:00
assasinfil
379807423f
Debug prints cleanup 2023-01-18 16:21:42 +03:00
assasinfil
414a13131a
Fix v2? 2023-01-17 13:41:41 +03:00
MX
a94c553c5a
Merge branch 'fz-dev' into dev 2023-01-07 01:59:20 +03:00
Maksim Derbasov
2c450bd835
Show region information in sub-GHz app (#2249)
* Show region info in sub-GHz app
* SubGhz: reset widget on region info scene exit
* Format sources

Co-authored-by: あく <alleteam@gmail.com>
2023-01-07 04:28:28 +09:00
MX
4571dd25a3
Merge branch 'dev' into dev-advanced-config 2023-01-03 18:48:33 +03:00
MX
82f8ad4540
Add 350Mhz to default range
Actually this frequency is used by some part of home devices like ceiling fans
2023-01-03 18:40:03 +03:00
Dimitry
df88a805a0 Removing AM* preset if launching regular read mode 2023-01-02 23:54:04 +02:00
Dimitry
27bfe861d9 cc1101 modem configurable preset introduced.
Available to configure: datarate, bandwidth and manchester decoding flag

log ability added to unit_test app (it's very helpful when writing a unit_tests)
2022-12-31 02:10:21 +02:00
MX
6d368c3e3a
Merge branch 'fz-dev' into dev 2022-12-26 22:42:21 +03:00
Georgii Surkov
8582670a34
[FL-2811] Fix PVS-Studio warnings (#2142)
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-12-26 21:13:30 +09:00
MX
02369c8394
Merge branch 'fz-dev' into dev 2022-12-24 02:25:58 +03:00