| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- commit 34f16521cb99f0503aa541d18390e032bfe7a79e
- Author: MX <10697207+xMasterX@users.noreply.github.com>
- Date: Fri Sep 6 12:35:14 2024 +0300
- add new protocols in BF existing dump
- diff --git a/subbrute_i.h b/subbrute_i.h
- index 3b542d1c1..63748edf5 100644
- --- a/subbrute_i.h
- +++ b/subbrute_i.h
- @@ -31,7 +31,7 @@
- #include "views/subbrute_attack_view.h"
- #include "views/subbrute_main_view.h"
-
- -#define SUB_BRUTE_FORCER_VERSION "Sub-GHz BruteForcer 3.D"
- +#define SUB_BRUTE_FORCER_VERSION "Sub-GHz BruteForcer 3.E"
-
- #ifdef FURI_DEBUG
- //#define SUBBRUTE_FAST_TRACK false
- @@ -74,7 +74,6 @@ struct SubBruteState {
- VariableItemList* var_list;
- DialogsApp* dialogs;
-
- -
- char text_store[SUBBRUTE_MAX_LEN_NAME]; /**< Text store */
- FuriString* file_path;
-
- diff --git a/subbrute_protocols.c b/subbrute_protocols.c
- index 19384aad6..574d5ca86 100644
- --- a/subbrute_protocols.c
- +++ b/subbrute_protocols.c
- @@ -541,6 +541,9 @@ static const char* subbrute_protocol_file_types[] = {
- [PT2260FileProtocol] = "Princeton",
- [HoneywellFileProtocol] = "Honeywell",
- [HoltekFileProtocol] = "Holtek_HT12X",
- + [LegrandFileProtocol] = "Legrand",
- + [HollarmileProtocol] = "Hollarm",
- + [GangQiFileProtocol] = "GangQi",
- [UnknownFileProtocol] = "Unknown"};
-
- /**
- diff --git a/subbrute_protocols.h b/subbrute_protocols.h
- index 2ddd5797a..9dade49ef 100644
- --- a/subbrute_protocols.h
- +++ b/subbrute_protocols.h
- @@ -57,6 +57,9 @@ typedef enum {
- PT2260FileProtocol,
- HoneywellFileProtocol,
- HoltekFileProtocol,
- + LegrandFileProtocol,
- + HollarmileProtocol,
- + GangQiFileProtocol,
- UnknownFileProtocol,
- TotalFileProtocol,
- } SubBruteFileProtocol;
- @@ -360,4 +363,5 @@ void subbrute_protocol_file_generate_file(
- *
- * @return The maximum value that can be generated based on the attack parameters (uint64_t).
- */
- -uint64_t subbrute_protocol_calc_max_value(SubBruteAttacks attack_type, uint8_t bits, bool two_bytes);
- +uint64_t
- + subbrute_protocol_calc_max_value(SubBruteAttacks attack_type, uint8_t bits, bool two_bytes);
|