DNS, web ui nearly done, great log streaming, attempted https (abandoned that though)

This commit is contained in:
Thaddeus Hughes
2025-12-30 18:51:11 -06:00
parent 012d28ae14
commit d46cb252fb
134 changed files with 19226 additions and 740 deletions

19
main/simple_dns_server.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef SIMPLE_DNS_SERVER_H
#define SIMPLE_DNS_SERVER_H
#include "esp_err.h"
/**
* @brief Start a simple DNS server that redirects all queries to the AP IP
*
* @param ap_ip The IP address to return for all DNS queries (e.g., "192.168.4.1")
* @return esp_err_t ESP_OK on success
*/
esp_err_t simple_dns_server_start(const char *ap_ip);
/**
* @brief Stop the DNS server
*/
void simple_dns_server_stop(void);
#endif // SIMPLE_DNS_SERVER_H