feat: enhance UDPClient initialization with local port binding and add WebServerHandler for HTTP server management

This commit is contained in:
GW_MC
2026-02-02 20:46:54 +08:00
parent bcbde510e0
commit 12ad5be48a
6 changed files with 200 additions and 4 deletions

View File

@@ -19,9 +19,10 @@ public:
/**
* @brief Initialize UDP socket
* @param local_port Local port to bind to (0 = system assigns port)
* @return ESP_OK on success, error code otherwise
*/
esp_err_t init();
esp_err_t init(uint16_t local_port = 0);
/**
* @brief Configure remote endpoint