loglevel verbose for tx_busy/tx_failed
This commit is contained in:
parent
d93b4dfea3
commit
48b643dc22
@ -219,11 +219,11 @@ void lora_send(void *pvParameters) {
|
|||||||
xQueueReceive(LoraSendQueue, &SendBuffer, (TickType_t)0);
|
xQueueReceive(LoraSendQueue, &SendBuffer, (TickType_t)0);
|
||||||
break;
|
break;
|
||||||
case LMIC_ERROR_TX_BUSY: // LMIC already has a tx message pending
|
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
|
vTaskDelay(pdMS_TO_TICKS(500 + random(400))); // wait a while
|
||||||
break;
|
break;
|
||||||
case LMIC_ERROR_TX_FAILED: // message was not sent
|
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
|
vTaskDelay(pdMS_TO_TICKS(500 + random(400))); // wait a while
|
||||||
break;
|
break;
|
||||||
case LMIC_ERROR_TX_TOO_LARGE: // message size exceeds LMIC buffer size
|
case LMIC_ERROR_TX_TOO_LARGE: // message size exceeds LMIC buffer size
|
||||||
|
Loading…
Reference in New Issue
Block a user