From 48b643dc2207e97667d1a7dfd5ec5a8cd3c23493 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Fri, 28 Apr 2023 18:36:42 +0200 Subject: [PATCH] loglevel verbose for tx_busy/tx_failed --- src/lorawan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lorawan.cpp b/src/lorawan.cpp index 024c69e7..a8ca9547 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -219,11 +219,11 @@ void lora_send(void *pvParameters) { xQueueReceive(LoraSendQueue, &SendBuffer, (TickType_t)0); break; case LMIC_ERROR_TX_BUSY: // LMIC already has a tx message pending - ESP_LOGI(TAG, "Message not sent, LMIC busy, will retry later"); + ESP_LOGV(TAG, "Message not sent, LMIC busy, will retry later"); vTaskDelay(pdMS_TO_TICKS(500 + random(400))); // wait a while break; case LMIC_ERROR_TX_FAILED: // message was not sent - ESP_LOGI(TAG, "Message not sent, TX failed, will retry later"); + ESP_LOGV(TAG, "Message not sent, TX failed, will retry later"); vTaskDelay(pdMS_TO_TICKS(500 + random(400))); // wait a while break; case LMIC_ERROR_TX_TOO_LARGE: // message size exceeds LMIC buffer size