1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-13 05:06:30 +04:00
Commit Graph

610 Commits

Author SHA1 Message Date
MX
40f7c007d9 Merge remote-tracking branch 'OFW/dev' into dev 2025-10-01 19:37:50 +03:00
Zinong Li
85b6b2b896 NFC FeliCa: Service Directory Traverse + Dump All Unencrypted-Readable Services' Blocks (#4254)
* SimpleArray attached to FelicaData

* tx rx done. response parsing done (in log)

* dynamic vector as buffer. rendering begin

* On screen render for directory tree

* flags in render to indicate is_public_readable

* beautify render flags

* format

* offload dynamic vector into individual files

* saving. exposed dir tree writing for double use

* save: additional formatting

* save: clean up and some additional notes

* load done

* delete unnecessary debug log

* Load: safer way to handle backward compatibility

`parsed` being true is only contingent on whether the header (device type, UID, etc) are correctly read. The detailed data can be absent if saved from previous versions.

Side effects:
1. The data format version number must not increment.
2. Newer sections of dumps must be appended in the end of the file.

* format

* handle block reading according to IC type

Old version was aimed for FeliCa Lite dumping, which doesn't apply to FeliCa standard. Thus they need to be diverged in the poller run workflow.

* read block content works. rendering begin

* Render Refactor: dir & dump view from submenu

* Render: show IC type name

* IC parsing function cleanup

* Revert "IC parsing function cleanup"

This reverts commit ee3f7bf125b54b10d238b0aeb657ba15f27f93ba.

* Load: Standard dump. Fully backward compatible

* format

* sync API version

* format saved file

* delete unused variable

* clean ups

* IC type addition

* correction

* beautify attribute parsing

* correction

* Lite save: delete extra line

* correction: FeliCa link in Lite-S mode

* format

* Save: simplify printing

* update IC type parsing

* conform to api standard: const resp ptr to ptr

also slightly faster and more readable block dump loop

* disambiguate workflow type vs ic type

It was too confusing to have the ic name string telling you one thing and ic_type enum saying the other. Might as well use better naming to indicate the use case for the two things

* beautify on device render

* reject dynamic_vector, embrace m-array

* lint

* use full variable name

* partial fix: poller context's data proper init

* edit unit test dump IC code

and a small bug fix for the Lite auth workflow

* unit test felica dump PMm correction

* Fixes for static analysis warnings

---------

Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2025-10-01 18:54:08 +04:00
MX
05c64d2b1f Merge remote-tracking branch 'OFW/dev' into dev 2025-10-01 17:20:46 +03:00
MMX
fad487df0e SubGHz: Added 9 new protocols, fixes to existing protocols (#4255)
* Fix Typos

* Tune decoders

* Better parsing, show more data in existing protocols

* Add new protocols

* Update keeloqs

* Add unit tests & raws

* Add honeywell unittest

* Comment until better solution is found

Adding GAPs to be sent first to make signal better suitable for decoder (decoding from only one signal sample) does nothing, needs something else
TODO: Fix encoders?

* suppressed missing issue warning

* subghz: re-enabled failing encoder tests

* Fix two?

3 left

* properly do gangqi and marantec for unit test and real use

* fix unit tests now

* fix possible memory leak

* reset decoder step too

* subghz: extra encoder safety; report random signal test results on failure

* unit_tests: subghz: renamed test file for consistency

* subghz: more explicit buffer position resets

* Fix gangqi samples

---------

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
2025-10-01 18:05:50 +04:00
MX
7db92ed1f8 decoders reset step at reset func 2025-10-01 03:00:43 +03:00
MX
5a8a0dff5e if got no luck with seed set it back to zero 2025-09-30 02:54:11 +03:00
MX
a4f5f1e862 add elplast subghz protocol 2025-09-30 02:49:51 +03:00
MX
3e45fce96d Try to decode BFT 2 buttons remotes on the fly 2025-09-30 02:07:29 +03:00
MX
1e431422e7 smol fixes [ci skip] 2025-09-28 02:11:06 +03:00
MX
372681553a remove honeywellsec for now [ci skip]
TODO: make proper decoder, current works very unstable, same goes for encoder, current doesnt act as original signal, having no "gap" between packets
2025-09-28 01:55:45 +03:00
MX
93b4ad4595 Merge remote-tracking branch 'OFW/dev' into dev 2025-09-24 22:32:16 +03:00
MMX
30077dd512 Fix PVS warnings (#4277)
* Fixing PVS warns

* pvs: additional fixes

---------

Co-authored-by: hedger <hedger@nanode.su>
2025-09-24 21:00:39 +04:00
MMX
7554b32538 SubGHz: Linear and Dickert MAHS protocols fixes & improvements (#4267)
* Linear and dickert mahs fixes

* fix dip pattern

* proper fix

by WillyJL

* Fix unit tests

Linear Decoder now decodes more linear signals

---------

Co-authored-by: hedger <hedger@users.noreply.github.com>
2025-09-24 14:45:03 +04:00
MMX
bbb33c1d75 Merge pull request #920 from WillyJL/fix/linear-again-again
Sub-GHz: Actually fix Linear display for real now
2025-09-10 00:09:50 +03:00
MX
b07cb9401f subghz raw protocol fixes
by WillyJL
2025-09-09 16:48:08 +03:00
WillyJL
d06d3684e5 Sub-GHz: Actually fix Linear display for real now 2025-09-06 04:41:15 +02:00
MX
c091a58486 fix linear again 2025-08-27 03:42:01 +03:00
WillyJL
828a73bbd1 Sub-GHz: Only fix Linear inverted bits in user interface, keep old remotes compatible 2025-08-26 02:11:36 +02:00
MX
f2bfed6bbc Avoid false positives for dickert mahs 2025-08-15 00:40:01 +03:00
MX
eb9b84e0c0 Linear 10bit EZCode remotes support 2025-08-15 00:28:49 +03:00
MX
3b29bd6508 Roger decoder allow bigger gap and extend buttons functionality 2025-07-12 03:57:14 +03:00
MX
269cbd66e1 A little better naming for display in v2phox 2025-07-09 08:14:31 +03:00
MX
3c3d06bae0 Roger that 2025-07-09 08:02:05 +03:00
MX
1bed4d29cb Nero Radio static - better parsing 2025-07-09 08:01:36 +03:00
MX
30621b2fd7 Update keeloq keys, motorline add manually support, readme spoiler alert
Add keeloq keys:
by @xMasterX & @RocketGod-git
2025-07-09 05:47:38 +03:00
MX
8ef9a07608 Subghz V2 Phoenix fully supported now
With big thanks to all contributors
 2022.08 - @Skorpionm
 2025.07 - @xMasterX & @RocketGod-git
2025-07-09 04:54:34 +03:00
MX
e025c57425 Update marantec24 protocol info 2025-07-06 18:47:12 +03:00
MX
43b35019ed subghz marantec protocol implement crc verification and add manually
fix crc function, add valid/invalid display (does not affect TX) and use new crc sum in add manually menu
2025-07-06 18:43:34 +03:00
MX
3aa3098d47 subghz better ignore lists 2025-05-24 19:49:31 +03:00
MX
92ca0cf1a8 upd changelog 2025-05-22 01:14:40 +03:00
MX
350dea6535 show cnt value in phox 2025-05-22 01:09:33 +03:00
MX
b352342434 rename and extend ignore alarms option in subghz 2025-05-21 17:34:37 +03:00
MX
fb02568fab tune holtek to decode holtek only and not conflict with came 12bit 2025-05-06 04:11:46 +03:00
MX
760079ee2c better came decoder 2025-05-06 04:11:01 +03:00
MX
c5d8bdf500 add feron protocol [ci skip] 2025-04-21 19:23:51 +03:00
Pablo Mazzini
5f66425671 SubGhz: added support for 42-bit Prastel variation (#4178)
Co-authored-by: hedger <hedger@users.noreply.github.com>
2025-04-07 20:13:45 +04:00
MX
efcad3a118 ofw pr 4178 [ci skip]
add prastel 42 by pmazzini
2025-04-07 18:53:52 +03:00
hedger
5fcaef25b0 Stricter constness for const data (#4126)
* libs: stricter constness for saving RAM with .rodata section; fbt: sdk: fixed signature generation for nested const params

* hal: additional fixes for constness in USB subsystem

* debug apps: additional usb-related fixes

* mjs: more consts for token parser

* fatfs: const driver struct

* hal: more consts for ble & nfc vars

* hal: made FuriHalSpiBusHandle static

* hal: made FuriHalI2cBusHandle static

* usb: restored previous api

* linter fixes

* API fixes
2025-03-31 19:23:32 +04:00
MX
8ca3581fb0 subghz bugfixes and experimental options 2025-03-15 07:23:23 +03:00
MX
b38d239eb8 Merge remote-tracking branch 'OFW/hedger/more-constness' into dev [ci skip] 2025-02-24 21:18:11 +03:00
MX
dd2388e40d discard wrong hollarms if bytesum is invalid 2025-02-24 10:57:27 +03:00
MX
0e8a0228be add revers rb2 subghz protocol 2025-02-24 10:56:57 +03:00
hedger
b0835220ac libs: stricter constness for saving RAM with .rodata section; fbt: sdk: fixed signature generation for nested const params 2025-02-22 16:05:56 +00:00
MX
aef8a97ab4 Merge remote-tracking branch 'OFW/dev' into dev 2025-02-20 18:40:54 +03:00
Astra
2817666eb9 [FL-3774] Fix 5V on GPIO (#4103)
* Move OTG controls to the power service
* Accessor: add missing power service import
* Power: add is_otg_enabled to info and properly handle OTG enable with VBUS voltage present
* Power: method naming
* Power: add backward compatibility with old-style use of furi_hal_power
* Scripts: lower MIN_GAP_PAGES to 1
* SubGhz: fix incorrect logging tag
* SubGhz: delegate OTG management to power service
* Power: fix condition race, various improvements

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2025-02-20 12:37:52 +09:00
MX
536ebe3efc came atomo button hold simulation half cycle 2025-02-20 06:03:30 +03:00
MX
fa2af5a826 fix naming 2025-02-20 04:41:02 +03:00
MX
cd94db3b91 FIX GANG QI 2025-02-20 04:39:28 +03:00
MX
486dc48a7a Merge remote-tracking branch 'OFW/dev' into dev 2025-02-20 03:08:53 +03:00
Ryan Peel
1541c36b14 BadUSB: Mouse control (#4004)
* add usb hid mouse functions, add mouse functions to BadUsbHidApi
* add ble mouse functionality
* add hid_usb_mouse_release_all
* ducky mouse command skeleton
* implement mouse click functions
* corrected missing semicolon
* added mouse functionality
* corrected mouse scroll functionality
* mouse key functionality, removed mouse commands, supporting get_mouse_keycode function, added mouse buttons as Keys for HOLD function
* add mouse commands
* removed mouse middle click
* Format sources and fix bunch of mistakes in nfc and subghz
* added HID_MOUSE_NONE: added to help with better readability
* added script for mouse movement test
* Fix: hold and release, imrpove readability
* simplified the mouse demo/test
* Format sources

Co-authored-by: あく <alleteam@gmail.com>
2025-02-20 08:24:34 +09:00