mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-19 08:03:59 +00:00
change(esp_netif): Add Non-Fatal errtype to indicate lower layer medium failure
UDP application sends packet using esp_netif, underlying transport such as Wi-Fi may drop the packet due to higher load. New error code represent transient, non-fatal packet drop error. udp application may use such errtype, for example to rate limit.
This commit is contained in:

committed by
David Cermak

parent
469c51bf2b
commit
586207207f
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2018-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -595,6 +595,9 @@ static const esp_err_msg_t esp_err_msg_table[] = {
|
||||
# endif
|
||||
# ifdef ESP_ERR_ESP_NETIF_DHCPS_START_FAILED
|
||||
ERR_TBL_IT(ESP_ERR_ESP_NETIF_DHCPS_START_FAILED), /* 20493 0x500d */
|
||||
# endif
|
||||
# ifdef ESP_ERR_ESP_NETIF_TX_FAILED
|
||||
ERR_TBL_IT(ESP_ERR_ESP_NETIF_TX_FAILED), /* 20494 0x500e */
|
||||
# endif
|
||||
// components/esp_common/include/esp_err.h
|
||||
# ifdef ESP_ERR_FLASH_BASE
|
||||
|
Reference in New Issue
Block a user