STIMA  3
Macros
ethernet_config.h File Reference

Go to the source code of this file.

Macros

#define ETHERNET_DEFAULT_DHCP_ENABLE   (true)
 Default option for enable or disable DHCP protocol with ethernet.
 
#define ETHERNET_DEFAULT_MAC   ("E2:21:B6:44:EB:29")
 Default mac address for ethernet device.
 
#define ETHERNET_DEFAULT_IP   ("192.168.0.100")
 Default ip address for ethernet device.
 
#define ETHERNET_DEFAULT_NETMASK   ("255.255.255.0")
 Default netmask for ethernet device.
 
#define ETHERNET_DEFAULT_GATEWAY   ("192.168.0.1")
 Default gateway for ethernet device.
 
#define ETHERNET_DEFAULT_PRIMARY_DNS   ("192.168.0.1")
 Default primary dns for ethernet device.
 
#define ETHERNET_DEFAULT_LOCAL_UDP_PORT   (8000)
 Default local udp port for ethernet device.
 
#define ETHERNET_ATTEMPT_MS   (2000)
 Set next ethernet library attempt delay in milliseconds after a failure.
 
#define ETHERNET_RETRY_TIME_MS   (4000)
 Set next ethernet task attempt delay in milliseconds after a failure.
 
#define ETHERNET_RETRY_COUNT   (3)
 Maximum number of retry for ethernet task.
 
#define ETHERNET_MQTT_TIMEOUT_MS   (6000)
 MQTT timeout in milliseconds for ethernet device.
 
#define ETHERNET_MAC_LENGTH   (6)
 Length in bytes for mac address.
 
#define ETHERNET_IP_LENGTH   (4)
 Length in bytes for ip address.