From 0f799d5922f3a0d99a94f95ec4645d20071be995 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Tue, 30 Jan 2024 07:15:11 +0100 Subject: [PATCH] fix broadcast sending --- src/telegram.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/telegram.cpp b/src/telegram.cpp index ac3da27c3..83382a457 100644 --- a/src/telegram.cpp +++ b/src/telegram.cpp @@ -509,8 +509,8 @@ void TxService::add(uint8_t operation, const uint8_t * data, const uint8_t lengt } if (operation == Telegram::Operation::TX_RAW) { - if (src != ems_bus_id()) { - operation = Telegram::Operation::NONE; // do not check reply/ack for other ids + if (src != ems_bus_id() || dest == 0) { + operation = Telegram::Operation::NONE; // do not check reply/ack for other ids and broadcasts } else if (dest & 0x80) { operation = Telegram::Operation::TX_READ; EMSESP::set_response_id(type_id);