web_server.h 357 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "esp_err.h"
  3. /**
  4. * Web server for control panel
  5. * Provides:
  6. * - WiFi configuration
  7. * - Device name configuration
  8. * - OTA update
  9. */
  10. /**
  11. * Initialize and start the web server
  12. * @param port HTTP server port (default: 80)
  13. */
  14. esp_err_t web_server_start(uint16_t port);
  15. /**
  16. * Stop the web server
  17. */
  18. void web_server_stop(void);