feat(esp_netif): Add support for custom got-ip/lost-ip events

This commit is contained in:
David Cermak
2025-09-24 12:19:14 +02:00
parent a02b44deef
commit 62fd7276b4
2 changed files with 22 additions and 0 deletions

View File

@@ -111,6 +111,8 @@ typedef enum {
IP_EVENT_TX_RX, /*!< transmitting/receiving data packet */
IP_EVENT_NETIF_UP, /*!< unified netif status: interface became up */
IP_EVENT_NETIF_DOWN, /*!< unified netif status: interface went down */
IP_EVENT_CUSTOM_GOT_IP, /*!< custom netif got IP (for user-defined interfaces) */
IP_EVENT_CUSTOM_LOST_IP, /*!< custom netif lost IP (for user-defined interfaces) */
} ip_event_t;
/** @brief IP event base declaration */