mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
SubGHz decoders can provide a one-line string to be used in the history list
This commit is contained in:
@@ -265,7 +265,6 @@ bool subghz_history_add_to_history(
|
|||||||
instance->code_last_hash_data = hash_data;
|
instance->code_last_hash_data = hash_data;
|
||||||
instance->last_update_timestamp = furi_get_tick();
|
instance->last_update_timestamp = furi_get_tick();
|
||||||
|
|
||||||
FuriString* text = furi_string_alloc();
|
|
||||||
SubGhzHistoryItem* item = SubGhzHistoryItemArray_push_raw(instance->history->data);
|
SubGhzHistoryItem* item = SubGhzHistoryItemArray_push_raw(instance->history->data);
|
||||||
item->preset = malloc(sizeof(SubGhzRadioPreset));
|
item->preset = malloc(sizeof(SubGhzRadioPreset));
|
||||||
item->type = decoder_base->protocol->type;
|
item->type = decoder_base->protocol->type;
|
||||||
@@ -285,6 +284,15 @@ bool subghz_history_add_to_history(
|
|||||||
item->flipper_string = flipper_format_string_alloc();
|
item->flipper_string = flipper_format_string_alloc();
|
||||||
subghz_protocol_decoder_base_serialize(decoder_base, item->flipper_string, preset);
|
subghz_protocol_decoder_base_serialize(decoder_base, item->flipper_string, preset);
|
||||||
|
|
||||||
|
if(decoder_base->protocol && decoder_base->protocol->decoder &&
|
||||||
|
decoder_base->protocol->decoder->get_string_brief) {
|
||||||
|
decoder_base->protocol->decoder->get_string_brief(decoder_base, item->item_str);
|
||||||
|
instance->last_index_write++;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
FuriString* text = furi_string_alloc();
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if(!flipper_format_rewind(item->flipper_string)) {
|
if(!flipper_format_rewind(item->flipper_string)) {
|
||||||
FURI_LOG_E(TAG, "Rewind error");
|
FURI_LOG_E(TAG, "Rewind error");
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ const SubGhzProtocolDecoder ws_protocol_acurite_592txr_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_acurite_592txr_serialize,
|
.serialize = ws_protocol_decoder_acurite_592txr_serialize,
|
||||||
.deserialize = ws_protocol_decoder_acurite_592txr_deserialize,
|
.deserialize = ws_protocol_decoder_acurite_592txr_deserialize,
|
||||||
.get_string = ws_protocol_decoder_acurite_592txr_get_string,
|
.get_string = ws_protocol_decoder_acurite_592txr_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_acurite_592txr_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_acurite_592txr_encoder = {
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ const SubGhzProtocolDecoder ws_protocol_acurite_606tx_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_acurite_606tx_serialize,
|
.serialize = ws_protocol_decoder_acurite_606tx_serialize,
|
||||||
.deserialize = ws_protocol_decoder_acurite_606tx_deserialize,
|
.deserialize = ws_protocol_decoder_acurite_606tx_deserialize,
|
||||||
.get_string = ws_protocol_decoder_acurite_606tx_get_string,
|
.get_string = ws_protocol_decoder_acurite_606tx_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_acurite_606tx_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_acurite_606tx_encoder = {
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ const SubGhzProtocolDecoder ws_protocol_acurite_609txc_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_acurite_609txc_serialize,
|
.serialize = ws_protocol_decoder_acurite_609txc_serialize,
|
||||||
.deserialize = ws_protocol_decoder_acurite_609txc_deserialize,
|
.deserialize = ws_protocol_decoder_acurite_609txc_deserialize,
|
||||||
.get_string = ws_protocol_decoder_acurite_609txc_get_string,
|
.get_string = ws_protocol_decoder_acurite_609txc_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_acurite_609txc_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_acurite_609txc_encoder = {
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ const SubGhzProtocolDecoder ws_protocol_acurite_986_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_acurite_986_serialize,
|
.serialize = ws_protocol_decoder_acurite_986_serialize,
|
||||||
.deserialize = ws_protocol_decoder_acurite_986_deserialize,
|
.deserialize = ws_protocol_decoder_acurite_986_deserialize,
|
||||||
.get_string = ws_protocol_decoder_acurite_986_get_string,
|
.get_string = ws_protocol_decoder_acurite_986_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_acurite_986_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_acurite_986_encoder = {
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ const SubGhzProtocolDecoder subghz_protocol_alutech_at_4n_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_alutech_at_4n_serialize,
|
.serialize = subghz_protocol_decoder_alutech_at_4n_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_alutech_at_4n_deserialize,
|
.deserialize = subghz_protocol_decoder_alutech_at_4n_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_alutech_at_4n_get_string,
|
.get_string = subghz_protocol_decoder_alutech_at_4n_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_alutech_at_4n_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_alutech_at_4n_encoder = {
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ const SubGhzProtocolDecoder ws_protocol_ambient_weather_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_ambient_weather_serialize,
|
.serialize = ws_protocol_decoder_ambient_weather_serialize,
|
||||||
.deserialize = ws_protocol_decoder_ambient_weather_deserialize,
|
.deserialize = ws_protocol_decoder_ambient_weather_deserialize,
|
||||||
.get_string = ws_protocol_decoder_ambient_weather_get_string,
|
.get_string = ws_protocol_decoder_ambient_weather_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_ambient_weather_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_ambient_weather_encoder = {
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ const SubGhzProtocolDecoder subghz_protocol_ansonic_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_ansonic_serialize,
|
.serialize = subghz_protocol_decoder_ansonic_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_ansonic_deserialize,
|
.deserialize = subghz_protocol_decoder_ansonic_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_ansonic_get_string,
|
.get_string = subghz_protocol_decoder_ansonic_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_ansonic_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_ansonic_encoder = {
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ const SubGhzProtocolDecoder ws_protocol_auriol_ahfl_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_auriol_ahfl_serialize,
|
.serialize = ws_protocol_decoder_auriol_ahfl_serialize,
|
||||||
.deserialize = ws_protocol_decoder_auriol_ahfl_deserialize,
|
.deserialize = ws_protocol_decoder_auriol_ahfl_deserialize,
|
||||||
.get_string = ws_protocol_decoder_auriol_ahfl_get_string,
|
.get_string = ws_protocol_decoder_auriol_ahfl_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_auriol_ahfl_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_auriol_ahfl_encoder = {
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ const SubGhzProtocolDecoder ws_protocol_auriol_th_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_auriol_th_serialize,
|
.serialize = ws_protocol_decoder_auriol_th_serialize,
|
||||||
.deserialize = ws_protocol_decoder_auriol_th_deserialize,
|
.deserialize = ws_protocol_decoder_auriol_th_deserialize,
|
||||||
.get_string = ws_protocol_decoder_auriol_th_get_string,
|
.get_string = ws_protocol_decoder_auriol_th_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_auriol_th_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_auriol_th_encoder = {
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ const SubGhzProtocolDecoder subghz_protocol_bett_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_bett_serialize,
|
.serialize = subghz_protocol_decoder_bett_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_bett_deserialize,
|
.deserialize = subghz_protocol_decoder_bett_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_bett_get_string,
|
.get_string = subghz_protocol_decoder_bett_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_bett_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_bett_encoder = {
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ const SubGhzProtocolDecoder subghz_protocol_bin_raw_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_bin_raw_serialize,
|
.serialize = subghz_protocol_decoder_bin_raw_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_bin_raw_deserialize,
|
.deserialize = subghz_protocol_decoder_bin_raw_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_bin_raw_get_string,
|
.get_string = subghz_protocol_decoder_bin_raw_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_bin_raw_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_bin_raw_encoder = {
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ const SubGhzProtocolDecoder subghz_protocol_came_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_came_serialize,
|
.serialize = subghz_protocol_decoder_came_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_came_deserialize,
|
.deserialize = subghz_protocol_decoder_came_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_came_get_string,
|
.get_string = subghz_protocol_decoder_came_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_came_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_came_encoder = {
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ const SubGhzProtocolDecoder subghz_protocol_came_atomo_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_came_atomo_serialize,
|
.serialize = subghz_protocol_decoder_came_atomo_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_came_atomo_deserialize,
|
.deserialize = subghz_protocol_decoder_came_atomo_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_came_atomo_get_string,
|
.get_string = subghz_protocol_decoder_came_atomo_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_came_atomo_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_came_atomo_encoder = {
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ const SubGhzProtocolDecoder subghz_protocol_came_twee_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_came_twee_serialize,
|
.serialize = subghz_protocol_decoder_came_twee_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_came_twee_deserialize,
|
.deserialize = subghz_protocol_decoder_came_twee_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_came_twee_get_string,
|
.get_string = subghz_protocol_decoder_came_twee_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_came_twee_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_came_twee_encoder = {
|
||||||
|
|||||||
@@ -78,6 +78,7 @@ const SubGhzProtocolDecoder subghz_protocol_chamb_code_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_chamb_code_serialize,
|
.serialize = subghz_protocol_decoder_chamb_code_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_chamb_code_deserialize,
|
.deserialize = subghz_protocol_decoder_chamb_code_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_chamb_code_get_string,
|
.get_string = subghz_protocol_decoder_chamb_code_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_chamb_code_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_chamb_code_encoder = {
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ const SubGhzProtocolDecoder subghz_protocol_clemsa_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_clemsa_serialize,
|
.serialize = subghz_protocol_decoder_clemsa_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_clemsa_deserialize,
|
.deserialize = subghz_protocol_decoder_clemsa_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_clemsa_get_string,
|
.get_string = subghz_protocol_decoder_clemsa_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_clemsa_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_clemsa_encoder = {
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ const SubGhzProtocolDecoder subghz_protocol_doitrand_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_doitrand_serialize,
|
.serialize = subghz_protocol_decoder_doitrand_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_doitrand_deserialize,
|
.deserialize = subghz_protocol_decoder_doitrand_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_doitrand_get_string,
|
.get_string = subghz_protocol_decoder_doitrand_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_doitrand_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_doitrand_encoder = {
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ const SubGhzProtocolDecoder subghz_protocol_dooya_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_dooya_serialize,
|
.serialize = subghz_protocol_decoder_dooya_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_dooya_deserialize,
|
.deserialize = subghz_protocol_decoder_dooya_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_dooya_get_string,
|
.get_string = subghz_protocol_decoder_dooya_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_dooya_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_dooya_encoder = {
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ const SubGhzProtocolDecoder subghz_protocol_faac_slh_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_faac_slh_serialize,
|
.serialize = subghz_protocol_decoder_faac_slh_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_faac_slh_deserialize,
|
.deserialize = subghz_protocol_decoder_faac_slh_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_faac_slh_get_string,
|
.get_string = subghz_protocol_decoder_faac_slh_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_faac_slh_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_faac_slh_encoder = {
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ const SubGhzProtocolDecoder subghz_protocol_gate_tx_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_gate_tx_serialize,
|
.serialize = subghz_protocol_decoder_gate_tx_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_gate_tx_deserialize,
|
.deserialize = subghz_protocol_decoder_gate_tx_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_gate_tx_get_string,
|
.get_string = subghz_protocol_decoder_gate_tx_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_gate_tx_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_gate_tx_encoder = {
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ const SubGhzProtocolDecoder ws_protocol_gt_wt_02_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_gt_wt_02_serialize,
|
.serialize = ws_protocol_decoder_gt_wt_02_serialize,
|
||||||
.deserialize = ws_protocol_decoder_gt_wt_02_deserialize,
|
.deserialize = ws_protocol_decoder_gt_wt_02_deserialize,
|
||||||
.get_string = ws_protocol_decoder_gt_wt_02_get_string,
|
.get_string = ws_protocol_decoder_gt_wt_02_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_gt_wt_02_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_gt_wt_02_encoder = {
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ const SubGhzProtocolDecoder ws_protocol_gt_wt_03_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_gt_wt_03_serialize,
|
.serialize = ws_protocol_decoder_gt_wt_03_serialize,
|
||||||
.deserialize = ws_protocol_decoder_gt_wt_03_deserialize,
|
.deserialize = ws_protocol_decoder_gt_wt_03_deserialize,
|
||||||
.get_string = ws_protocol_decoder_gt_wt_03_get_string,
|
.get_string = ws_protocol_decoder_gt_wt_03_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_gt_wt_03_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_gt_wt_03_encoder = {
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ const SubGhzProtocolDecoder subghz_protocol_holtek_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_holtek_serialize,
|
.serialize = subghz_protocol_decoder_holtek_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_holtek_deserialize,
|
.deserialize = subghz_protocol_decoder_holtek_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_holtek_get_string,
|
.get_string = subghz_protocol_decoder_holtek_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_holtek_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_holtek_encoder = {
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ const SubGhzProtocolDecoder subghz_protocol_holtek_th12x_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_holtek_th12x_serialize,
|
.serialize = subghz_protocol_decoder_holtek_th12x_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_holtek_th12x_deserialize,
|
.deserialize = subghz_protocol_decoder_holtek_th12x_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_holtek_th12x_get_string,
|
.get_string = subghz_protocol_decoder_holtek_th12x_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_holtek_th12x_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_holtek_th12x_encoder = {
|
||||||
|
|||||||
@@ -350,6 +350,7 @@ const SubGhzProtocolDecoder subghz_protocol_honeywell_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_honeywell_serialize,
|
.serialize = subghz_protocol_decoder_honeywell_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_honeywell_deserialize,
|
.deserialize = subghz_protocol_decoder_honeywell_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_honeywell_get_string,
|
.get_string = subghz_protocol_decoder_honeywell_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_honeywell_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_honeywell_encoder = {
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ const SubGhzProtocolDecoder subghz_protocol_honeywell_wdb_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_honeywell_wdb_serialize,
|
.serialize = subghz_protocol_decoder_honeywell_wdb_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_honeywell_wdb_deserialize,
|
.deserialize = subghz_protocol_decoder_honeywell_wdb_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_honeywell_wdb_get_string,
|
.get_string = subghz_protocol_decoder_honeywell_wdb_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_honeywell_wdb_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_honeywell_wdb_encoder = {
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ const SubGhzProtocolDecoder subghz_protocol_hormann_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_hormann_serialize,
|
.serialize = subghz_protocol_decoder_hormann_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_hormann_deserialize,
|
.deserialize = subghz_protocol_decoder_hormann_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_hormann_get_string,
|
.get_string = subghz_protocol_decoder_hormann_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_hormann_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_hormann_encoder = {
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ const SubGhzProtocolDecoder subghz_protocol_hormann_bisecur_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_hormann_bisecur_serialize,
|
.serialize = subghz_protocol_decoder_hormann_bisecur_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_hormann_bisecur_deserialize,
|
.deserialize = subghz_protocol_decoder_hormann_bisecur_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_hormann_bisecur_get_string,
|
.get_string = subghz_protocol_decoder_hormann_bisecur_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_hormann_bisecur_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_hormann_bisecur_encoder = {
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ const SubGhzProtocolDecoder subghz_protocol_ido_decoder = {
|
|||||||
.deserialize = subghz_protocol_decoder_ido_deserialize,
|
.deserialize = subghz_protocol_decoder_ido_deserialize,
|
||||||
.serialize = subghz_protocol_decoder_ido_serialize,
|
.serialize = subghz_protocol_decoder_ido_serialize,
|
||||||
.get_string = subghz_protocol_decoder_ido_get_string,
|
.get_string = subghz_protocol_decoder_ido_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_ido_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_ido_encoder = {
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ const SubGhzProtocolDecoder ws_protocol_infactory_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_infactory_serialize,
|
.serialize = ws_protocol_decoder_infactory_serialize,
|
||||||
.deserialize = ws_protocol_decoder_infactory_deserialize,
|
.deserialize = ws_protocol_decoder_infactory_deserialize,
|
||||||
.get_string = ws_protocol_decoder_infactory_get_string,
|
.get_string = ws_protocol_decoder_infactory_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_infactory_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_infactory_encoder = {
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ const SubGhzProtocolDecoder subghz_protocol_intertechno_v3_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_intertechno_v3_serialize,
|
.serialize = subghz_protocol_decoder_intertechno_v3_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_intertechno_v3_deserialize,
|
.deserialize = subghz_protocol_decoder_intertechno_v3_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_intertechno_v3_get_string,
|
.get_string = subghz_protocol_decoder_intertechno_v3_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_intertechno_v3_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_intertechno_v3_encoder = {
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ const SubGhzProtocolDecoder ws_protocol_kedsum_th_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_kedsum_th_serialize,
|
.serialize = ws_protocol_decoder_kedsum_th_serialize,
|
||||||
.deserialize = ws_protocol_decoder_kedsum_th_deserialize,
|
.deserialize = ws_protocol_decoder_kedsum_th_deserialize,
|
||||||
.get_string = ws_protocol_decoder_kedsum_th_get_string,
|
.get_string = ws_protocol_decoder_kedsum_th_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_kedsum_th_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_kedsum_th_encoder = {
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ const SubGhzProtocolDecoder subghz_protocol_keeloq_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_keeloq_serialize,
|
.serialize = subghz_protocol_decoder_keeloq_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_keeloq_deserialize,
|
.deserialize = subghz_protocol_decoder_keeloq_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_keeloq_get_string,
|
.get_string = subghz_protocol_decoder_keeloq_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_keeloq_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_keeloq_encoder = {
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ const SubGhzProtocolDecoder subghz_protocol_kia_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_kia_serialize,
|
.serialize = subghz_protocol_decoder_kia_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_kia_deserialize,
|
.deserialize = subghz_protocol_decoder_kia_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_kia_get_string,
|
.get_string = subghz_protocol_decoder_kia_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_kia_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_kia_encoder = {
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ const SubGhzProtocolDecoder subghz_protocol_kinggates_stylo_4k_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_kinggates_stylo_4k_serialize,
|
.serialize = subghz_protocol_decoder_kinggates_stylo_4k_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_kinggates_stylo_4k_deserialize,
|
.deserialize = subghz_protocol_decoder_kinggates_stylo_4k_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_kinggates_stylo_4k_get_string,
|
.get_string = subghz_protocol_decoder_kinggates_stylo_4k_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_kinggates_stylo_4k_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_kinggates_stylo_4k_encoder = {
|
||||||
@@ -582,4 +583,4 @@ void subghz_protocol_decoder_kinggates_stylo_4k_get_string(void* context, FuriSt
|
|||||||
instance->generic.serial,
|
instance->generic.serial,
|
||||||
instance->generic.btn,
|
instance->generic.btn,
|
||||||
instance->generic.cnt);
|
instance->generic.cnt);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ const SubGhzProtocolDecoder ws_protocol_lacrosse_tx_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_lacrosse_tx_serialize,
|
.serialize = ws_protocol_decoder_lacrosse_tx_serialize,
|
||||||
.deserialize = ws_protocol_decoder_lacrosse_tx_deserialize,
|
.deserialize = ws_protocol_decoder_lacrosse_tx_deserialize,
|
||||||
.get_string = ws_protocol_decoder_lacrosse_tx_get_string,
|
.get_string = ws_protocol_decoder_lacrosse_tx_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_lacrosse_tx_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_lacrosse_tx_encoder = {
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ const SubGhzProtocolDecoder ws_protocol_lacrosse_tx141thbv2_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_lacrosse_tx141thbv2_serialize,
|
.serialize = ws_protocol_decoder_lacrosse_tx141thbv2_serialize,
|
||||||
.deserialize = ws_protocol_decoder_lacrosse_tx141thbv2_deserialize,
|
.deserialize = ws_protocol_decoder_lacrosse_tx141thbv2_deserialize,
|
||||||
.get_string = ws_protocol_decoder_lacrosse_tx141thbv2_get_string,
|
.get_string = ws_protocol_decoder_lacrosse_tx141thbv2_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_lacrosse_tx141thbv2_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_lacrosse_tx141thbv2_encoder = {
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ const SubGhzProtocolDecoder subghz_protocol_linear_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_linear_serialize,
|
.serialize = subghz_protocol_decoder_linear_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_linear_deserialize,
|
.deserialize = subghz_protocol_decoder_linear_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_linear_get_string,
|
.get_string = subghz_protocol_decoder_linear_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_linear_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_linear_encoder = {
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ const SubGhzProtocolDecoder subghz_protocol_linear_delta3_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_linear_delta3_serialize,
|
.serialize = subghz_protocol_decoder_linear_delta3_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_linear_delta3_deserialize,
|
.deserialize = subghz_protocol_decoder_linear_delta3_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_linear_delta3_get_string,
|
.get_string = subghz_protocol_decoder_linear_delta3_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_linear_delta3_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_linear_delta3_encoder = {
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ const SubGhzProtocolDecoder subghz_protocol_magellan_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_magellan_serialize,
|
.serialize = subghz_protocol_decoder_magellan_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_magellan_deserialize,
|
.deserialize = subghz_protocol_decoder_magellan_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_magellan_get_string,
|
.get_string = subghz_protocol_decoder_magellan_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_magellan_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_magellan_encoder = {
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ const SubGhzProtocolDecoder subghz_protocol_marantec_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_marantec_serialize,
|
.serialize = subghz_protocol_decoder_marantec_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_marantec_deserialize,
|
.deserialize = subghz_protocol_decoder_marantec_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_marantec_get_string,
|
.get_string = subghz_protocol_decoder_marantec_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_marantec_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_marantec_encoder = {
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ const SubGhzProtocolDecoder subghz_protocol_mastercode_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_mastercode_serialize,
|
.serialize = subghz_protocol_decoder_mastercode_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_mastercode_deserialize,
|
.deserialize = subghz_protocol_decoder_mastercode_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_mastercode_get_string,
|
.get_string = subghz_protocol_decoder_mastercode_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_mastercode_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_mastercode_encoder = {
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ const SubGhzProtocolDecoder subghz_protocol_megacode_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_megacode_serialize,
|
.serialize = subghz_protocol_decoder_megacode_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_megacode_deserialize,
|
.deserialize = subghz_protocol_decoder_megacode_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_megacode_get_string,
|
.get_string = subghz_protocol_decoder_megacode_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_megacode_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_megacode_encoder = {
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ const SubGhzProtocolDecoder subghz_protocol_nero_radio_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_nero_radio_serialize,
|
.serialize = subghz_protocol_decoder_nero_radio_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_nero_radio_deserialize,
|
.deserialize = subghz_protocol_decoder_nero_radio_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_nero_radio_get_string,
|
.get_string = subghz_protocol_decoder_nero_radio_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_nero_radio_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_nero_radio_encoder = {
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ const SubGhzProtocolDecoder subghz_protocol_nero_sketch_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_nero_sketch_serialize,
|
.serialize = subghz_protocol_decoder_nero_sketch_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_nero_sketch_deserialize,
|
.deserialize = subghz_protocol_decoder_nero_sketch_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_nero_sketch_get_string,
|
.get_string = subghz_protocol_decoder_nero_sketch_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_nero_sketch_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_nero_sketch_encoder = {
|
||||||
|
|||||||
@@ -345,6 +345,7 @@ const SubGhzProtocolDecoder ws_protocol_nexus_th_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_nexus_th_serialize,
|
.serialize = ws_protocol_decoder_nexus_th_serialize,
|
||||||
.deserialize = ws_protocol_decoder_nexus_th_deserialize,
|
.deserialize = ws_protocol_decoder_nexus_th_deserialize,
|
||||||
.get_string = ws_protocol_decoder_nexus_th_get_string,
|
.get_string = ws_protocol_decoder_nexus_th_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_nexus_th_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_nexus_th_encoder = {
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ const SubGhzProtocolDecoder subghz_protocol_nice_flo_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_nice_flo_serialize,
|
.serialize = subghz_protocol_decoder_nice_flo_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_nice_flo_deserialize,
|
.deserialize = subghz_protocol_decoder_nice_flo_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_nice_flo_get_string,
|
.get_string = subghz_protocol_decoder_nice_flo_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_nice_flo_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_nice_flo_encoder = {
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ const SubGhzProtocolDecoder subghz_protocol_nice_flor_s_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_nice_flor_s_serialize,
|
.serialize = subghz_protocol_decoder_nice_flor_s_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_nice_flor_s_deserialize,
|
.deserialize = subghz_protocol_decoder_nice_flor_s_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_nice_flor_s_get_string,
|
.get_string = subghz_protocol_decoder_nice_flor_s_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_nice_flor_s_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_nice_flor_s_encoder = {
|
||||||
|
|||||||
@@ -419,6 +419,7 @@ const SubGhzProtocolDecoder ws_protocol_oregon2_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_oregon2_serialize,
|
.serialize = ws_protocol_decoder_oregon2_serialize,
|
||||||
.deserialize = ws_protocol_decoder_oregon2_deserialize,
|
.deserialize = ws_protocol_decoder_oregon2_deserialize,
|
||||||
.get_string = ws_protocol_decoder_oregon2_get_string,
|
.get_string = ws_protocol_decoder_oregon2_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocol ws_protocol_oregon2 = {
|
const SubGhzProtocol ws_protocol_oregon2 = {
|
||||||
|
|||||||
@@ -355,6 +355,7 @@ const SubGhzProtocolDecoder ws_protocol_oregon3_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_oregon3_serialize,
|
.serialize = ws_protocol_decoder_oregon3_serialize,
|
||||||
.deserialize = ws_protocol_decoder_oregon3_deserialize,
|
.deserialize = ws_protocol_decoder_oregon3_deserialize,
|
||||||
.get_string = ws_protocol_decoder_oregon3_get_string,
|
.get_string = ws_protocol_decoder_oregon3_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocol ws_protocol_oregon3 = {
|
const SubGhzProtocol ws_protocol_oregon3 = {
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ const SubGhzProtocolDecoder ws_protocol_oregon_v1_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_oregon_v1_serialize,
|
.serialize = ws_protocol_decoder_oregon_v1_serialize,
|
||||||
.deserialize = ws_protocol_decoder_oregon_v1_deserialize,
|
.deserialize = ws_protocol_decoder_oregon_v1_deserialize,
|
||||||
.get_string = ws_protocol_decoder_oregon_v1_get_string,
|
.get_string = ws_protocol_decoder_oregon_v1_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_oregon_v1_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_oregon_v1_encoder = {
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ const SubGhzProtocolDecoder subghz_protocol_phoenix_v2_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_phoenix_v2_serialize,
|
.serialize = subghz_protocol_decoder_phoenix_v2_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_phoenix_v2_deserialize,
|
.deserialize = subghz_protocol_decoder_phoenix_v2_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_phoenix_v2_get_string,
|
.get_string = subghz_protocol_decoder_phoenix_v2_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_phoenix_v2_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_phoenix_v2_encoder = {
|
||||||
|
|||||||
@@ -425,6 +425,7 @@ const SubGhzProtocolDecoder subghz_protocol_pocsag_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_pocsag_serialize,
|
.serialize = subghz_protocol_decoder_pocsag_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_pocsag_deserialize,
|
.deserialize = subghz_protocol_decoder_pocsag_deserialize,
|
||||||
.get_string = subhz_protocol_decoder_pocsag_get_string,
|
.get_string = subhz_protocol_decoder_pocsag_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_pocsag_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_pocsag_encoder = {
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ const SubGhzProtocolDecoder subghz_protocol_power_smart_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_power_smart_serialize,
|
.serialize = subghz_protocol_decoder_power_smart_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_power_smart_deserialize,
|
.deserialize = subghz_protocol_decoder_power_smart_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_power_smart_get_string,
|
.get_string = subghz_protocol_decoder_power_smart_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_power_smart_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_power_smart_encoder = {
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ const SubGhzProtocolDecoder subghz_protocol_princeton_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_princeton_serialize,
|
.serialize = subghz_protocol_decoder_princeton_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_princeton_deserialize,
|
.deserialize = subghz_protocol_decoder_princeton_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_princeton_get_string,
|
.get_string = subghz_protocol_decoder_princeton_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_princeton_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_princeton_encoder = {
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ const SubGhzProtocolDecoder subghz_protocol_raw_decoder = {
|
|||||||
.serialize = NULL,
|
.serialize = NULL,
|
||||||
.deserialize = subghz_protocol_decoder_raw_deserialize,
|
.deserialize = subghz_protocol_decoder_raw_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_raw_get_string,
|
.get_string = subghz_protocol_decoder_raw_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_raw_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_raw_encoder = {
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ const SubGhzProtocolDecoder subghz_protocol_scher_khan_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_scher_khan_serialize,
|
.serialize = subghz_protocol_decoder_scher_khan_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_scher_khan_deserialize,
|
.deserialize = subghz_protocol_decoder_scher_khan_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_scher_khan_get_string,
|
.get_string = subghz_protocol_decoder_scher_khan_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_scher_khan_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_scher_khan_encoder = {
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ const SubGhzProtocolDecoder tpms_protocol_schrader_gg4_decoder = {
|
|||||||
.serialize = tpms_protocol_decoder_schrader_gg4_serialize,
|
.serialize = tpms_protocol_decoder_schrader_gg4_serialize,
|
||||||
.deserialize = tpms_protocol_decoder_schrader_gg4_deserialize,
|
.deserialize = tpms_protocol_decoder_schrader_gg4_deserialize,
|
||||||
.get_string = tpms_protocol_decoder_schrader_gg4_get_string,
|
.get_string = tpms_protocol_decoder_schrader_gg4_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder tpms_protocol_schrader_gg4_encoder = {
|
const SubGhzProtocolEncoder tpms_protocol_schrader_gg4_encoder = {
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ const SubGhzProtocolDecoder subghz_protocol_secplus_v1_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_secplus_v1_serialize,
|
.serialize = subghz_protocol_decoder_secplus_v1_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_secplus_v1_deserialize,
|
.deserialize = subghz_protocol_decoder_secplus_v1_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_secplus_v1_get_string,
|
.get_string = subghz_protocol_decoder_secplus_v1_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_secplus_v1_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_secplus_v1_encoder = {
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ const SubGhzProtocolDecoder subghz_protocol_secplus_v2_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_secplus_v2_serialize,
|
.serialize = subghz_protocol_decoder_secplus_v2_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_secplus_v2_deserialize,
|
.deserialize = subghz_protocol_decoder_secplus_v2_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_secplus_v2_get_string,
|
.get_string = subghz_protocol_decoder_secplus_v2_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_secplus_v2_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_secplus_v2_encoder = {
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ const SubGhzProtocolDecoder subghz_protocol_smc5326_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_smc5326_serialize,
|
.serialize = subghz_protocol_decoder_smc5326_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_smc5326_deserialize,
|
.deserialize = subghz_protocol_decoder_smc5326_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_smc5326_get_string,
|
.get_string = subghz_protocol_decoder_smc5326_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_smc5326_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_smc5326_encoder = {
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ const SubGhzProtocolDecoder subghz_protocol_somfy_keytis_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_somfy_keytis_serialize,
|
.serialize = subghz_protocol_decoder_somfy_keytis_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_somfy_keytis_deserialize,
|
.deserialize = subghz_protocol_decoder_somfy_keytis_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_somfy_keytis_get_string,
|
.get_string = subghz_protocol_decoder_somfy_keytis_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocol subghz_protocol_somfy_keytis = {
|
const SubGhzProtocol subghz_protocol_somfy_keytis = {
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ const SubGhzProtocolDecoder subghz_protocol_somfy_telis_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_somfy_telis_serialize,
|
.serialize = subghz_protocol_decoder_somfy_telis_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_somfy_telis_deserialize,
|
.deserialize = subghz_protocol_decoder_somfy_telis_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_somfy_telis_get_string,
|
.get_string = subghz_protocol_decoder_somfy_telis_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_somfy_telis_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_somfy_telis_encoder = {
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ const SubGhzProtocolDecoder subghz_protocol_star_line_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_star_line_serialize,
|
.serialize = subghz_protocol_decoder_star_line_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_star_line_deserialize,
|
.deserialize = subghz_protocol_decoder_star_line_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_star_line_get_string,
|
.get_string = subghz_protocol_decoder_star_line_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_star_line_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_star_line_encoder = {
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ const SubGhzProtocolDecoder ws_protocol_thermopro_tx4_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_thermopro_tx4_serialize,
|
.serialize = ws_protocol_decoder_thermopro_tx4_serialize,
|
||||||
.deserialize = ws_protocol_decoder_thermopro_tx4_deserialize,
|
.deserialize = ws_protocol_decoder_thermopro_tx4_deserialize,
|
||||||
.get_string = ws_protocol_decoder_thermopro_tx4_get_string,
|
.get_string = ws_protocol_decoder_thermopro_tx4_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_thermopro_tx4_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_thermopro_tx4_encoder = {
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ const SubGhzProtocolDecoder ws_protocol_tx_8300_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_tx_8300_serialize,
|
.serialize = ws_protocol_decoder_tx_8300_serialize,
|
||||||
.deserialize = ws_protocol_decoder_tx_8300_deserialize,
|
.deserialize = ws_protocol_decoder_tx_8300_deserialize,
|
||||||
.get_string = ws_protocol_decoder_tx_8300_get_string,
|
.get_string = ws_protocol_decoder_tx_8300_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_tx_8300_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_tx_8300_encoder = {
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ const SubGhzProtocolDecoder ws_protocol_wendox_w6726_decoder = {
|
|||||||
.serialize = ws_protocol_decoder_wendox_w6726_serialize,
|
.serialize = ws_protocol_decoder_wendox_w6726_serialize,
|
||||||
.deserialize = ws_protocol_decoder_wendox_w6726_deserialize,
|
.deserialize = ws_protocol_decoder_wendox_w6726_deserialize,
|
||||||
.get_string = ws_protocol_decoder_wendox_w6726_get_string,
|
.get_string = ws_protocol_decoder_wendox_w6726_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder ws_protocol_wendox_w6726_encoder = {
|
const SubGhzProtocolEncoder ws_protocol_wendox_w6726_encoder = {
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ const SubGhzProtocolDecoder subghz_protocol_x10_decoder = {
|
|||||||
.serialize = subghz_protocol_decoder_x10_serialize,
|
.serialize = subghz_protocol_decoder_x10_serialize,
|
||||||
.deserialize = subghz_protocol_decoder_x10_deserialize,
|
.deserialize = subghz_protocol_decoder_x10_deserialize,
|
||||||
.get_string = subghz_protocol_decoder_x10_get_string,
|
.get_string = subghz_protocol_decoder_x10_get_string,
|
||||||
|
.get_string_brief = NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
const SubGhzProtocolEncoder subghz_protocol_x10_encoder = {
|
const SubGhzProtocolEncoder subghz_protocol_x10_encoder = {
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ typedef void (*SubGhzDecoderReset)(void* decoder);
|
|||||||
typedef uint8_t (*SubGhzGetHashData)(void* decoder);
|
typedef uint8_t (*SubGhzGetHashData)(void* decoder);
|
||||||
typedef uint32_t (*SubGhzGetHashDataLong)(void* decoder);
|
typedef uint32_t (*SubGhzGetHashDataLong)(void* decoder);
|
||||||
typedef void (*SubGhzGetString)(void* decoder, FuriString* output);
|
typedef void (*SubGhzGetString)(void* decoder, FuriString* output);
|
||||||
|
typedef void (*SubGhzGetStringBrief)(void* decoder, FuriString* output);
|
||||||
|
|
||||||
// Encoder specific
|
// Encoder specific
|
||||||
typedef void (*SubGhzEncoderStop)(void* encoder);
|
typedef void (*SubGhzEncoderStop)(void* encoder);
|
||||||
@@ -99,6 +100,7 @@ typedef struct {
|
|||||||
SubGhzDeserialize deserialize;
|
SubGhzDeserialize deserialize;
|
||||||
|
|
||||||
SubGhzGetHashDataLong get_hash_data_long;
|
SubGhzGetHashDataLong get_hash_data_long;
|
||||||
|
SubGhzGetStringBrief get_string_brief;
|
||||||
} SubGhzProtocolDecoder;
|
} SubGhzProtocolDecoder;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user