This commit is contained in:
Willy-JL
2023-05-11 00:50:25 +01:00
41 changed files with 2245 additions and 1512 deletions
+2 -4
View File
@@ -429,10 +429,8 @@ static bool subghz_protocol_encoder_alutech_at_4n_get_upload(
if((custom_btn_id == 0) && (original_btn_num != 0)) {
btn = original_btn_num;
}
//gen new key
if(subghz_protocol_alutech_at_4n_gen_data(instance, btn)) {
//ToDo if you need to add a callback to automatically update the data on the display
} else {
// Gen new key
if(!subghz_protocol_alutech_at_4n_gen_data(instance, btn)) {
return false;
}
+1 -1
View File
@@ -23,7 +23,7 @@ inline uint32_t subghz_protocol_keeloq_common_encrypt(const uint32_t data, const
}
/** Simple Learning Decrypt
* @param data - keelog encrypt data
* @param data - keeloq encrypt data
* @param key - manufacture (64bit)
* @return 0xBSSSCCCC, B(4bit) key, S(10bit) serial&0x3FF, C(16bit) counter
*/
+1 -3
View File
@@ -197,9 +197,7 @@ static bool subghz_protocol_encoder_kinggates_stylo_4k_get_upload(
furi_assert(instance);
// Gen new key
if(subghz_protocol_kinggates_stylo_4k_gen_data(instance, btn)) {
//ToDo if you need to add a callback to automatically update the data on the display
} else {
if(!subghz_protocol_kinggates_stylo_4k_gen_data(instance, btn)) {
return false;
}
+2 -4
View File
@@ -208,10 +208,8 @@ static bool subghz_protocol_encoder_somfy_keytis_get_upload(
uint8_t btn) {
furi_assert(instance);
//gen new key
if(subghz_protocol_somfy_keytis_gen_data(instance, btn)) {
//ToDo if you need to add a callback to automatically update the data on the display
} else {
// Gen new key
if(!subghz_protocol_somfy_keytis_gen_data(instance, btn)) {
return false;
}
+2 -4
View File
@@ -254,10 +254,8 @@ static bool subghz_protocol_encoder_somfy_telis_get_upload(
uint8_t btn) {
furi_assert(instance);
//gen new key
if(subghz_protocol_somfy_telis_gen_data(instance, btn, false)) {
//ToDo if you need to add a callback to automatically update the data on the display
} else {
// Gen new key
if(!subghz_protocol_somfy_telis_gen_data(instance, btn, false)) {
return false;
}
+2 -4
View File
@@ -237,10 +237,8 @@ static bool subghz_protocol_encoder_star_line_get_upload(
uint8_t btn) {
furi_assert(instance);
//gen new key
if(subghz_protocol_star_line_gen_data(instance, btn)) {
//ToDo if you need to add a callback to automatically update the data on the display
} else {
// Gen new key
if(!subghz_protocol_star_line_gen_data(instance, btn)) {
return false;
}