This commit is contained in:
Willy-JL
2023-02-28 21:01:06 +00:00
parent fa8ed7f6e4
commit 2d9c6d5bb9
26 changed files with 479 additions and 140 deletions

View File

@@ -78,6 +78,16 @@ bool subghz_block_generic_serialize(
FURI_LOG_E(TAG, "Unable to add Key");
break;
}
// Nice One - Manual adding support
if(instance->data_count_bit == 72 &&
(strcmp(instance->protocol_name, "Nice FloR-S") == 0)) {
uint32_t temp = (instance->data_2 >> 4) & 0xFFFFF;
if(!flipper_format_write_uint32(flipper_format, "Data", &temp, 1)) {
FURI_LOG_E(TAG, "Unable to add Data");
break;
}
}
res = true;
} while(false);
furi_string_free(temp_str);