"No telegram handler" message only for broadcasted messages

This commit is contained in:
MichaelDvP
2022-11-05 15:56:29 +01:00
parent 1d4634a76c
commit 05b54bc6f5

View File

@@ -847,7 +847,8 @@ bool EMSESP::process_telegram(std::shared_ptr<const Telegram> telegram) {
}
}
if (!found) {
// handle unknown broadcasted telegrams
if (!found && telegram->dest == 0) {
LOG_DEBUG("No telegram type handler found for ID 0x%02X (src 0x%02X)", telegram->type_id, telegram->src);
if (watch() == WATCH_UNKNOWN) {
LOG_NOTICE("%s", pretty_telegram(telegram).c_str());