Skip to content

2.0.0

Compare
Choose a tag to compare
@PaulStoffregen PaulStoffregen released this 26 Jul 11:32
· 73 commits to master since this release

New features in version 2.0.0

Auto-detection of W5100, W5200, and W5500 Ethernet hardware.

All SPI-based Wiznet chips are now automatically detected.
Ethernet.init(pin) allows use of any digital pin for CS signal.

Performance improvements

Caching of socket receive registers (eliminates redundant SPI overhead)
Immediate TCP ACK
W5500/W5200 block mode for data transfer
W5500/W5200 block mode for multi-byte registers
Use SPI block transfer for W5500/W5200
Native CS pin register control on most boards

Client Functions

remoteIP()
localPort()
remotePort()

Timeout Control

Ethernet.setRetransmissionTimeout(milliseconds)
Ethernet.setRetransmissionCount(number)
client setConnectionTimeout(milliseconds)

Server Functions

accept() - alternative to available() for more advanced server applications
boolean test whether EthernetServer is listening for new clients

Hardware Status Functions

Ethernet.hardwareStatus() - tells which Wiznet chip
Ethernet.linkStatus() - tell whether the cable is connected
All examples updated to show hardware status when unable to begin

Direct Settings Control

Ethernet.setMACAddress()
Ethernet.setLocalIP()
Ethernet.setSubnetMask()
Ethernet.setGatewayIP()
Ethernet.setDnsServerIP()
Ethernet.MACAddress()
Ethernet.localIP()
Ethernet.subnetMask()
Ethernet.gatewayIP()
Ethernet.dnsServerIP()