Ethernet3
Ethernet3
0
Components
Hardware componentsArduino
x 1
Arduino
Project description
Original Link:? https://github.com/khoih-prog/Ethernet3
Ethernet3 v1.5.x
Ethernet library for Arduino and Ethernetshield2 / WIZ550io / WIZ850io / USR-ES1 with Wiznet W5500 chip based on the Ethernet2 library of arduino.org I added many new functionalities.new in 1.5
- custom hostname for DHCP
- the PHY is configurable
- Wake on LAN
- added new example for webclient "WebClientReadResponse.ino"
#include <Ethernet3.h> // instead Ethernet.h #include <EthernetUdp3.h> // instead EthernetUdp.h for UDP functionality
Custom Hostname
For use with DHCP you can set a custom hostname, this must be done before Ethernet.begin(mac).Ethernet.setHostname(char* hostname);
PHY Configuration
The PHY is now configurable, this must done after Ethernet.begin() Following modes are possible: HALF_DUPLEX_10, FULL_DUPLEX_10, HALF_DUPLEX_100, FULL_DUPLEX_100, FULL_DUPLEX_100_AUTONEG, POWER_DOWN, ALL_AUTONEG (default)Ethernet.phyMode(phyMode_t mode);
Wake on LAN
You can set the Wake on LAN functionalityEthernet.WoL(bool wol);
