loglevel verbose for tx_busy/tx_failed

This commit is contained in:
cyberman54 2023-04-28 18:36:42 +02:00
parent d93b4dfea3
commit 48b643dc22

View File

@ -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