Files
ch32v203-eth-node/include/w5500.h
2024-11-10 14:59:30 +06:00

21 lines
377 B
C

#ifndef W5500_H
#define W5500_H
#include <MQTT/MQTTClient.h>
#include <stdint.h>
// Definitions for socket indexes
#define DHCP_SOCKET 0
#define DNS_SOCKET 1
#define TCP_SOCKET 2
extern volatile int ip_assigned;
// Initializes the W5500 chip
void configure_network(void);
// resolves a domain name
// void resolve_domain_name(const char* domain_name);
#endif // W5500_H