mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 12:42:30 +04:00
Beninca support
This commit is contained in:
@@ -68,6 +68,7 @@ Encoders/sending made by Eng1n33r & @xMasterX:
|
|||||||
- Keeloq: FAAC RC,XT
|
- Keeloq: FAAC RC,XT
|
||||||
- Keeloq: Mutancode
|
- Keeloq: Mutancode
|
||||||
- Keeloq: Normstahl
|
- Keeloq: Normstahl
|
||||||
|
- Keeloq: Beninca
|
||||||
- CAME Atomo
|
- CAME Atomo
|
||||||
- Nice Flor S
|
- Nice Flor S
|
||||||
- FAAC SLH (Spa) [External seed calculation required (For info contact me in Discord: Nano#8998)]
|
- FAAC SLH (Spa) [External seed calculation required (For info contact me in Discord: Nano#8998)]
|
||||||
|
|||||||
@@ -193,6 +193,11 @@ static bool subghz_protocol_keeloq_gen_data(
|
|||||||
decrypt = btn << 28 | (instance->generic.serial & 0xFF) << 16 | instance->generic.cnt;
|
decrypt = btn << 28 | (instance->generic.serial & 0xFF) << 16 | instance->generic.cnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Beninca -> 4bit serial - simple XOR
|
||||||
|
if(strcmp(instance->manufacture_name, "Beninca") == 0) {
|
||||||
|
decrypt = btn << 28 | (instance->generic.serial & 0xF) << 16 | instance->generic.cnt;
|
||||||
|
}
|
||||||
|
|
||||||
if(strcmp(instance->manufacture_name, "Unknown") == 0) {
|
if(strcmp(instance->manufacture_name, "Unknown") == 0) {
|
||||||
code_found_reverse = subghz_protocol_blocks_reverse_key(
|
code_found_reverse = subghz_protocol_blocks_reverse_key(
|
||||||
instance->generic.data, instance->generic.data_count_bit);
|
instance->generic.data, instance->generic.data_count_bit);
|
||||||
|
|||||||
Reference in New Issue
Block a user