diff --git a/applications/main/subghz/helpers/subghz_txrx_create_protocol_key.c b/applications/main/subghz/helpers/subghz_txrx_create_protocol_key.c index 053f472aa..0631c7c15 100644 --- a/applications/main/subghz/helpers/subghz_txrx_create_protocol_key.c +++ b/applications/main/subghz/helpers/subghz_txrx_create_protocol_key.c @@ -116,7 +116,7 @@ bool subghz_txrx_gen_keeloq_protocol( //TODO lead to a general appearance return res; } -bool subghz_txrx_gen_keeloq_bft_protocol( //TODO rename & lead to a general appearance +bool subghz_txrx_gen_keeloq_bft_protocol( void* context, const char* preset_name, uint32_t frequency, @@ -161,7 +161,7 @@ bool subghz_txrx_gen_keeloq_bft_protocol( //TODO rename & lead to a general appe return res; } -bool subghz_txrx_gen_nice_flor_s_protocol( //TODO rename & lead to a general appearance +bool subghz_txrx_gen_nice_flor_s_protocol( void* context, const char* preset_name, uint32_t frequency, @@ -193,7 +193,7 @@ bool subghz_txrx_gen_nice_flor_s_protocol( //TODO rename & lead to a general app return res; } -bool subghz_txrx_gen_faac_slh_protocol( //TODO rename & lead to a general appearance +bool subghz_txrx_gen_faac_slh_protocol( void* context, const char* preset_name, uint32_t frequency, @@ -236,7 +236,7 @@ bool subghz_txrx_gen_faac_slh_protocol( //TODO rename & lead to a general appear return res; } -bool subghz_txrx_gen_alutech_at_4n_protocol( //TODO rename & lead to a general appearance +bool subghz_txrx_gen_alutech_at_4n_protocol( void* context, const char* preset_name, uint32_t frequency, @@ -266,7 +266,7 @@ bool subghz_txrx_gen_alutech_at_4n_protocol( //TODO rename & lead to a general a return res; } -bool subghz_txrx_gen_somfy_telis_protocol( //TODO rename & lead to a general appearance +bool subghz_txrx_gen_somfy_telis_protocol( void* context, const char* preset_name, uint32_t frequency, diff --git a/applications/main/subghz/helpers/subghz_txrx_create_protocol_key.h b/applications/main/subghz/helpers/subghz_txrx_create_protocol_key.h index 61dbf9e56..a5fa2a802 100644 --- a/applications/main/subghz/helpers/subghz_txrx_create_protocol_key.h +++ b/applications/main/subghz/helpers/subghz_txrx_create_protocol_key.h @@ -63,7 +63,7 @@ bool subghz_txrx_gen_keeloq_protocol( uint16_t cnt, const char* manufacture_name); -bool subghz_txrx_gen_keeloq_bft_protocol( //TODO rename +bool subghz_txrx_gen_keeloq_bft_protocol( void* context, const char* preset_name, uint32_t frequency, @@ -73,7 +73,7 @@ bool subghz_txrx_gen_keeloq_bft_protocol( //TODO rename uint32_t seed, const char* manufacture_name); -bool subghz_txrx_gen_nice_flor_s_protocol( //TODO rename +bool subghz_txrx_gen_nice_flor_s_protocol( void* context, const char* preset_name, uint32_t frequency, @@ -82,7 +82,7 @@ bool subghz_txrx_gen_nice_flor_s_protocol( //TODO rename uint16_t cnt, bool nice_one); -bool subghz_txrx_gen_faac_slh_protocol( //TODO rename +bool subghz_txrx_gen_faac_slh_protocol( void* context, const char* preset_name, uint32_t frequency, @@ -92,7 +92,7 @@ bool subghz_txrx_gen_faac_slh_protocol( //TODO rename uint32_t seed, const char* manufacture_name); -bool subghz_txrx_gen_alutech_at_4n_protocol( //TODO rename +bool subghz_txrx_gen_alutech_at_4n_protocol( void* context, const char* preset_name, uint32_t frequency, @@ -100,7 +100,7 @@ bool subghz_txrx_gen_alutech_at_4n_protocol( //TODO rename uint8_t btn, uint16_t cnt); -bool subghz_txrx_gen_somfy_telis_protocol( //TODO rename +bool subghz_txrx_gen_somfy_telis_protocol( void* context, const char* preset_name, uint32_t frequency,