Commit Graph

79 Commits

Author SHA1 Message Date
m7i-org
df273950cc Sub-GHz: Show satellites count with an icon (#215)
* feat(subghz): show satellites if enabled

Replaces the display of the number of satellites during SubGHz scanning. If GPS is enabled (an an external module connected) it will blink a GPS icon with the number of sats currently in range (even if zero).
Using a 10x10px "positioning" icon that replaces the SubGHz icon on the bottom right.

* Revert api version to ofw release

* f18 too

* Tweak icon a little

* Update changelog

* Format

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-09-18 01:43:30 +02:00
Willy-JL
aebde09f02 SubGHz: Show Weather Station icon for WS signals 2024-09-03 01:13:03 +02:00
Willy-JL
02f7207d28 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-07-15 22:18:35 +01:00
hedger
ffa3996a5e [FL-3867] Code formatting update (#3765)
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard:        c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev

Co-authored-by: あく <alleteam@gmail.com>
2024-07-15 13:38:49 +09:00
Vencislav Atanasov
0a40b34016 Increase deduplication threshold in SubGHz history to fit Hormann BiSecure remotes.
They transmit the 2FSK data 3 times, with a 504.3 ms pause, which is enough to
show them as three separate signals, although they are absolutely identical.

On the flipper, that's measured between 578 and 591 ms.
2024-05-13 05:51:30 +03:00
Vencislav Atanasov
e0a427f281 SubGHz decoders can provide a one-line string to be used in the history list 2024-05-13 05:10:14 +03:00
Willy-JL
be6b01168b Fix led blink on decode raw > signal info 2024-02-18 07:03:56 +00:00
Willy-JL
9656fa319e DateTime lib refactor fixes 2024-02-16 00:39:47 +00:00
Willy-JL
2b8db657e4 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2024-02-15 22:57:06 +00:00
MX
597d295743 merge fixes [ci skip]
parsers will be fixed after
2024-02-15 14:08:10 +03:00
MX
16b8fa4715 Subghz save files with receive time [ci skip]
+ merge better scene_save_name code (removing kostily)
some modifications to original code was made to keep previous formats
original implementation by Willy-JL

Source:
a1c7dc5eaa
7e7509d481 (diff-1708ba08196de5331f4b4c3d8e13162e78d5edb33e1308c1b4cc09975264151e)
2024-01-28 06:45:33 +03:00
Willy-JL
cdebdb3062 Check same protocol when counting duplicate signals 2024-01-28 01:40:53 +00:00
Willy-JL
0e8703a7a1 Fix many SubGhz history bugs
No "history full" if "delete old signals"
Delete more old signals if history full
Fix visual offset bug with "delete old signals"
Fix led and sound for full history / not
"Delete old signals" in decode raw too
2024-01-27 19:12:59 +00:00
Willy-JL
a1c7dc5eaa Subghz filename with time of receive not save 2024-01-24 02:23:07 +00:00
Willy-JL
ee19b84f70 Check RAM not count>=55 for "Delete Old Signals 2023-12-30 01:29:23 +01:00
MX
4d56bb4e44 Revert "testing subghz dynamic limit based on freeheap + RPC"
This reverts commit 77f458fb6e.
2023-12-21 21:42:17 +03:00
MX
77f458fb6e testing subghz dynamic limit based on freeheap + RPC
by Willy-JL

5cd2d3eabe

e8d9325bec
2023-12-21 03:17:21 +03:00
MX
8fa21c49b2 better subghz history element removal
by Willy-JL

c40755f700
2023-12-21 03:16:16 +03:00
Willy-JL
e8d9325bec we <3 kostily and velosipedy
reserve more or less ram based on open rpc sessions
not at all precise, but roughly leaves enough at all times
eg. fill, connect app, fill again, screenshare, can still send
2023-12-14 05:36:51 +00:00
Willy-JL
02ec1f0867 32bit subghz hashes (less false duplicates) 2023-12-14 05:33:57 +00:00
Willy-JL
c40755f700 More efficient subghz history delete 2023-12-14 04:45:40 +00:00
Willy-JL
5cd2d3eabe No SubGhz recv limit, check free ram only 2023-12-12 04:33:20 +00:00
Willy-JL
578a5d620c Some subghz history fixes 2023-12-10 21:04:22 +00:00
Willy-JL
2547431bf1 SubGhz remove previous duplicates on enable/click (#373) 2023-12-10 21:04:22 +00:00
Willy-JL
8a15bc6397 SubGhz count+show repeats when not ignoring 2023-12-10 14:00:55 +00:00
Willy-JL
4eaa959994 SubGhz ignore duplicates option (#373) 2023-12-10 05:45:29 +00:00
Sil333033
ad22f6a0ef Add GPS support for SubGHz 2023-10-05 23:14:58 +02:00
Willy-JL
8fa7d16c5f Merge branch 'ul-dev' into xfw-dev 2023-05-06 01:43:09 +01:00
MX
b0b9e507e7 SubGHz combine FuriString allocs 2023-05-05 03:51:16 +03: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
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
d33b092a9d Fix Subghz item removal bug 2023-02-26 04:13:28 +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
MX
16a5b13be4 Max 55 signals Seems stable, setting it to 55 for now
Subghz history
2023-02-09 22:12:03 +03:00
MX
b9351649ed Merge branch 'fz-dev' into dev 2023-02-09 17:48:50 +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
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
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
02fe403b2b SubGHz: Fix wrong error message in history 2022-11-12 16:58:35 +03:00
MX
9fae52166c fixes and improvements 2022-10-28 16:05:17 +03:00
Skorpionm
9a9abd59e9 [FL-2904, FL-2900, FL-2890] WS: add app WeatherStation (#1833)
* WeatherStation: start
* SubGhz: rename protocol magellen -> magellan
* WeatherStation: err Unresolved symbols: {'subghz_protocol_decoder_base_get_string'}
* WeatherStation: fix Unresolved symbols: {'subghz_protocol_decoder_base_get_string'}
* Subghz: add set protocol_items
* WeatherStation: adding your protocols
* WS: add Infactory protocol
* WS: add history
* WS: add setting
* WS: add lock
* WS: add hopper frequency
* WS: fix history
* WS fix string_t -> FuriString*
* WS: add images
* WS: history record update when receiving data from the sensor again
* WS: add receiver info, delete extra code
* WS: add protocol ThermoPRO_TX4
* [FL-2900] SubGhz: Move icons in Sub-GHz
* WS: add Notification
* [FL-2890] SubGhz: Rename *_user files in resources to _user.example
* WS: add about scene
* WS: removing redundant code
* WS: add  protocol Nexus-TH
* WS: add protocol GT_WT03
* WS: fix notification and rename "Weather Station" -> "Read Weather Station"
* SubGhz: partial unit tests fix
* SubGhz: fix unit_test
* SubGhz: remove dead code
* SubGhz: rename SubGhzPresetDefinition into SubGhzRadioPreset, cleanup subghz types.

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-20 02:27:26 +09:00
MX
a3c6d8bb4a SubGhz: rename SubGhzPresetDefinition into SubGhzRadioPreset, cleanup subghz types. 2022-10-19 18:52:21 +03:00
MX
9941df48bb run fbt format 2022-10-13 17:00:20 +03:00
MX
80735d4f51 Merge pull request #102 from derskythe/fix-read-in-readraw-crash
flipper_format_free after all and only if we failed with all plans
2022-10-12 05:17:37 +03:00
DerSkythe
34406f0607 flipper_format_free after all and only if we failed with all plans 2022-10-11 21:09:41 +04:00
derskythe
b0d4146c76 Write full name of preset on Read/ReadRAW screen 2022-10-11 18:26:16 +04:00
MX
349a151330 fix memory leak 2022-10-11 03:29:59 +03:00