anilgkts / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Ethernet.begin() format error #880

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The format for the Ethernet.begin() calls are incorrect.

This is how it is shown in the reference documents:
Ethernet.begin(mac,ip);
Ethernet.begin(mac,ip,gateway);
Ethernet.begin(mac,ip,gateway,subnet);

This is how it currently works:
Ethernet.begin(mac,ip);
Ethernet.begin(mac,ip,dns);
Ethernet.begin(mac,ip,dns,gateway);
Ethernet.begin(mac,ip,dns,gateway,subnet);

Please fix one or the other.
Thanks!

Original issue reported on code.google.com by t...@prolectron.com on 6 Apr 2012 at 3:25

GoogleCodeExporter commented 9 years ago
Thanks.  I've asked our documentation maintainer to update this.

Original comment by dmel...@gmail.com on 8 Apr 2012 at 9:55

GoogleCodeExporter commented 9 years ago
Scott, can you get this one too please?

I'll save you a link:

This is how it is shown in the reference documents:
Ethernet.begin(mac,ip);
Ethernet.begin(mac,ip,gateway);
Ethernet.begin(mac,ip,gateway,subnet);

This is how it currently works:
Ethernet.begin(mac,ip);
Ethernet.begin(mac,ip,dns);
Ethernet.begin(mac,ip,dns,gateway);
Ethernet.begin(mac,ip,dns,gateway,subnet);

Original comment by tom.i...@gmail.com on 9 Apr 2012 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by s.fitzge...@arduino.cc on 2 Apr 2013 at 12:14