Skip to content

Releases: arduino-libraries/Ethernet

2.0.2

21 Mar 11:33
d5672b7
Compare
Choose a tag to compare

What's Changed

  • Fixes static IPs for Arduino Nano Every by @mghie in #218

New Contributors

Full Changelog: 2.0.1...2.0.2

2.0.1

06 Jul 06:47
eaad5ab
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.0...2.0.1

2.0.0

26 Jul 11:32
Compare
Choose a tag to compare

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()