Handle F7, F9 telegrams as EMS 1.0

This commit is contained in:
MichaelDvP
2020-10-29 17:42:11 +01:00
parent ec19692df2
commit 32a645c74f
2 changed files with 15 additions and 39 deletions

View File

@@ -311,7 +311,7 @@ std::string EMSdevice::telegram_type_name(std::shared_ptr<const Telegram> telegr
}
for (const auto & tf : telegram_functions_) {
if ((tf.telegram_type_id_ == telegram->type_id) && ((telegram->type_id & 0xFFF0) != 0xF0)) {
if ((tf.telegram_type_id_ == telegram->type_id) && (telegram->type_id != 0xFF)) {
return uuid::read_flash_string(tf.telegram_type_name_);
}
}