Merge branch 'UNLEASHED' into 420

This commit is contained in:
RogueMaster
2022-10-13 23:01:00 -04:00
7 changed files with 129 additions and 27 deletions

View File

@@ -151,6 +151,11 @@ static bool subghz_protocol_keeloq_gen_data(SubGhzProtocolEncoderKeeloq* instanc
instance->manufacture_name = "";
}
// DTM Neo uses 12bit, simple learning
if((strcmp(instance->manufacture_name, "DTM_Neo") == 0)) {
decrypt = btn << 28 | (instance->generic.serial & 0xFFF) << 16 | instance->generic.cnt;
}
// Nice Smilo, MHouse, JCM has 8bit serial - simple learning
if((strcmp(instance->manufacture_name, "NICE_Smilo") == 0) ||
(strcmp(instance->manufacture_name, "NICE_MHOUSE") == 0) ||