From 342a20a48e0d33ed7ade226a8e87dd750a3aa68d Mon Sep 17 00:00:00 2001 From: NP v/d Spek Date: Mon, 18 Nov 2024 21:39:23 +0100 Subject: [PATCH] remove send broadcast message directly --- esphome/components/espnow/espnow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/espnow/espnow.cpp b/esphome/components/espnow/espnow.cpp index f0db186964..0b5510be22 100644 --- a/esphome/components/espnow/espnow.cpp +++ b/esphome/components/espnow/espnow.cpp @@ -68,7 +68,7 @@ void ESPNowComponent::dump_config() { ESP_LOGCONFIG(TAG, " Auto add new peers: %s.", this->auto_add_peer_ ? "Yes" : "No"); ESP_LOGCONFIG(TAG, " Use sent status: %s.", this->use_sent_check_ ? "Yes" : "No"); - ESP_LOGCONFIG(TAG, " Conversation timeout: %" PRIx32 "ms.", this->conformation_timeout_); + ESP_LOGCONFIG(TAG, " Convermation timeout: %" PRIx32 "ms.", this->conformation_timeout_); ESP_LOGCONFIG(TAG, " Send retries: %d.", this->retries_); } @@ -340,7 +340,7 @@ bool ESPNowComponent::send(ESPNowPacket packet) { } else if (!packet.is_valid()) { ESP_LOGE(TAG, "This Packet is invalid: %s (%d.%d)", packet.get_peer_code().c_str(), packet.get_sequents(), packet.attempts); - } else if (this->use_sent_check_ && packet.peer != ESPNOW_BROADCAST_ADDR) { + } else if (this->use_sent_check_) { ESP_LOGV(TAG, "Placing %s (%d.%d) into send buffer. Used: %d of %d", packet.get_peer_code().c_str(), packet.get_sequents(), packet.attempts, this->send_queue_used(), SEND_BUFFER_SIZE); xQueueSendToBack(this->send_queue_, (void *) &packet, 10);