Added the webserver and the wifi handling

This commit is contained in:
2026-03-24 15:03:02 +01:00
parent 8bebe5228b
commit 67f2baabbb
14 changed files with 543 additions and 39 deletions

View File

@@ -24,13 +24,13 @@
* THE SOFTWARE.
*/
#ifndef MICROPY_INCLUDED_LIB_NETUTILS_DHCPSERVER_H
#define MICROPY_INCLUDED_LIB_NETUTILS_DHCPSERVER_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef MICROPY_INCLUDED_LIB_NETUTILS_DHCPSERVER_H
#define MICROPY_INCLUDED_LIB_NETUTILS_DHCPSERVER_H
#include "lwip/ip_addr.h"
#define DHCPS_BASE_IP (16)
@@ -51,8 +51,8 @@ typedef struct _dhcp_server_t {
void dhcp_server_init(dhcp_server_t *d, ip_addr_t *ip, ip_addr_t *nm);
void dhcp_server_deinit(dhcp_server_t *d);
#endif // MICROPY_INCLUDED_LIB_NETUTILS_DHCPSERVER_H
#ifdef __cplusplus
}
#endif
#endif // MICROPY_INCLUDED_LIB_NETUTILS_DHCPSERVER_H