Reference.Ethernet History

Hide minor edits - Show changes to output

September 23, 2014, at 07:42 PM by Federico -
Changed lines 20-22 from:
* [[Tutorial/XivelyClient]]: connect to Xively.com, a free datalogging site.
* [[Tutorial/XivelyClientString]]: send strings to Xively.com.
*[[Tutorial/BarometricPressureWebServer]]: outputs the values from a barometric pressure sensor as a web page.
to:
* [[Tutorial/BarometricPressureWebServer]]: outputs the values from a barometric pressure sensor as a web page.
November 08, 2013, at 04:38 PM by Scott Fitzgerald -
Changed lines 12-14 from:
Attach:arduino_mega_ethernet_pins.png

to:
%width=550px%Attach:arduino_mega_ethernet_pins.png
November 08, 2013, at 04:33 PM by Scott Fitzgerald -
Changed lines 90-91 from:
* [[EthernetUDPRemotePort | remotePort()]]
to:
* [[EthernetUDPRemotePort | remotePort()]]
(:tableend:)
November 08, 2013, at 04:32 PM by Scott Fitzgerald -
Added lines 3-5:
(:table width=100% border=0 cellpadding=5 cellspacing=0:)

(:cell width=67%:)
Added lines 15-33:
!!!!Examples

* [[Tutorial/ChatServer]]: set up a simple chat server.
* [[Tutorial/WebClient]]: make a HTTP request.
* [[Tutorial/WebClientRepeating]]: Make repeated HTTP requests.
* [[Tutorial/WebServer]]: host a simple HTML page that displays analog sensor values.
* [[Tutorial/XivelyClient]]: connect to Xively.com, a free datalogging site.
* [[Tutorial/XivelyClientString]]: send strings to Xively.com.
*[[Tutorial/BarometricPressureWebServer]]: outputs the values from a barometric pressure sensor as a web page.
* [[Tutorial/UDPSendReceiveString]]: Send and receive text strings via UDP.
* [[Tutorial/UdpNtpClient]]: Query a Network Time Protocol (NTP) server using UDP.
* [[Tutorial/DnsWebClient]]: DNS and DHCP-based Web client.
* [[Tutorial/DhcpChatServer]]: A simple DHCP Chat Server
* [[Tutorial/DhcpAddressPrinter]]: Get an IP address via DHCP and print it out
* [[Tutorial/TelnetClient]]: A simple Telnet client \\
\\

(:cell width=33%:)
Changed lines 90-108 from:
* [[EthernetUDPRemotePort | remotePort()]]


!!!!Examples

* [[Tutorial/ChatServer]]: set up a simple chat server.
* [[Tutorial/WebClient]]: make a HTTP request.
* [[Tutorial/WebClientRepeating]]: Make repeated HTTP requests.
* [[Tutorial/WebServer]]: host a simple HTML page that displays analog sensor values.
* [[Tutorial/XivelyClient]]: connect to Xively.com, a free datalogging site.
* [[Tutorial/XivelyClientString]]: send strings to Xively.com.
*[[Tutorial/BarometricPressureWebServer]]: outputs the values from a barometric pressure sensor as a web page.
* [[Tutorial/UDPSendReceiveString]]: Send and receive text strings via UDP.
* [[Tutorial/UdpNtpClient]]: Query a Network Time Protocol (NTP) server using UDP.
* [[Tutorial/DnsWebClient]]: DNS and DHCP-based Web client.
* [[Tutorial/DhcpChatServer]]: A simple DHCP Chat Server
* [[Tutorial/DhcpAddressPrinter]]: Get an IP address via DHCP and print it out
* [[Tutorial/TelnetClient]]: A simple Telnet client \\
\\
to:
* [[EthernetUDPRemotePort | remotePort()]]
November 08, 2013, at 04:31 PM by Scott Fitzgerald -
Changed lines 77-78 from:
* [[Tutorial/PachubeClient]]: connect to pachube.com, a free datalogging site.
* [[Tutorial/PachubeClientString]]: send strings to pachube.com.
to:
* [[Tutorial/XivelyClient]]: connect to Xively.com, a free datalogging site.
* [[Tutorial/XivelyClientString]]: send strings to Xively.com.
November 08, 2013, at 01:23 PM by Scott Fitzgerald -
Deleted line 84:
* [[Tutorial/TwitterClient]]: A Twitter client with Strings
September 02, 2013, at 05:00 PM by Federico -
Added line 66:
* [[EthernetUDPStop | stop()]]
Added line 70:
May 16, 2013, at 03:48 PM by Alberto Cicchi -
Deleted line 30:
Deleted line 42:
May 16, 2013, at 03:47 PM by Alberto Cicchi -
Changed lines 77-86 from:
* [[PachubeClient]]: connect to pachube.com, a free datalogging site.
* [[PachubeClientString]]: send strings to pachube.com.
*[[BarometricPressureWebServer]]: outputs the values from a barometric pressure sensor as a web page.
* [[UDPSendReceiveString]]: Send and receive text strings via UDP.
* [[UdpNtpClient]]: Query a Network Time Protocol (NTP) server using UDP.
* [[DnsWebClient]]: DNS and DHCP-based Web client.
* [[DhcpChatServer]]: A simple DHCP Chat Server
* [[DhcpAddressPrinter]]: Get an IP address via DHCP and print it out
* [[TwitterClient]]: A Twitter client with Strings
* [[TelnetClient]]: A simple Telnet client \\
to:
* [[Tutorial/PachubeClient]]: connect to pachube.com, a free datalogging site.
* [[Tutorial/PachubeClientString]]: send strings to pachube.com.
*[[Tutorial/BarometricPressureWebServer]]: outputs the values from a barometric pressure sensor as a web page.
* [[Tutorial/UDPSendReceiveString]]: Send and receive text strings via UDP.
* [[Tutorial/UdpNtpClient]]: Query a Network Time Protocol (NTP) server using UDP.
* [[Tutorial/DnsWebClient]]: DNS and DHCP-based Web client.
* [[Tutorial/DhcpChatServer]]: A simple DHCP Chat Server
* [[Tutorial/DhcpAddressPrinter]]: Get an IP address via DHCP and print it out
* [[Tutorial/TwitterClient]]: A Twitter client with Strings
* [[Tutorial/TelnetClient]]: A simple Telnet client \\
May 16, 2013, at 03:46 PM by Alberto Cicchi -
Changed lines 73-76 from:
* [[ChatServer]]: set up a simple chat server.
* [[WebClient]]: make a HTTP request.
* [[WebClientRepeating]]: Make repeated HTTP requests.
* [[WebServer]]: host a simple HTML page that displays analog sensor values.
to:
* [[Tutorial/ChatServer]]: set up a simple chat server.
* [[Tutorial/WebClient]]: make a HTTP request.
* [[Tutorial/WebClientRepeating]]: Make repeated HTTP requests.
* [[Tutorial/WebServer]]: host a simple HTML page that displays analog sensor values.
May 16, 2013, at 03:41 PM by Alberto Cicchi -
Changed lines 69-87 from:
* [[EthernetUDPRemotePort | remotePort()]]
to:
* [[EthernetUDPRemotePort | remotePort()]]

!!!!Examples

* [[ChatServer]]: set up a simple chat server.
* [[WebClient]]: make a HTTP request.
* [[WebClientRepeating]]: Make repeated HTTP requests.
* [[WebServer]]: host a simple HTML page that displays analog sensor values.
* [[PachubeClient]]: connect to pachube.com, a free datalogging site.
* [[PachubeClientString]]: send strings to pachube.com.
*[[BarometricPressureWebServer]]: outputs the values from a barometric pressure sensor as a web page.
* [[UDPSendReceiveString]]: Send and receive text strings via UDP.
* [[UdpNtpClient]]: Query a Network Time Protocol (NTP) server using UDP.
* [[DnsWebClient]]: DNS and DHCP-based Web client.
* [[DhcpChatServer]]: A simple DHCP Chat Server
* [[DhcpAddressPrinter]]: Get an IP address via DHCP and print it out
* [[TwitterClient]]: A Twitter client with Strings
* [[TelnetClient]]: A simple Telnet client \\
\\
April 10, 2012, at 06:50 PM by Scott Fitzgerald - added if (EthernetClient)
Added line 46:
* [[IfEthernetClient | if (EthernetClient)]]
March 14, 2012, at 06:42 PM by Scott Fitzgerald - added Ethernet.maintain()
Changed lines 18-19 from:
to:
* [[EthernetMaintain | maintain()]]
Changed line 68 from:
* [[EthernetUDPRemotePort | remotePort()]]
to:
* [[EthernetUDPRemotePort | remotePort()]]
November 10, 2011, at 01:45 PM by Scott Fitzgerald -
Added line 65:
* [[EthernetUDPAvailable | available()]]
November 09, 2011, at 09:14 PM by Scott Fitzgerald -
Added line 62:
* [[EthernetUDPBeginPacket | beginPacket()]]
Deleted line 66:
* [[EthernetUDPBeginPacket | beginPacket()]]
November 09, 2011, at 08:45 PM by Scott Fitzgerald -
Changed lines 17-18 from:
to:
* [[EthernetLocalIP | localIP()]]
Changed lines 24-25 from:
* [[EthernetLocalIP | localIP()]]
to:
November 01, 2011, at 04:39 PM by Scott Fitzgerald -
Changed lines 29-30 from:
* [[ServerConstructor | Server()]]
to:
* [[ServerConstructor | Server]]
November 01, 2011, at 04:38 PM by Scott Fitzgerald -
Added line 30:
Changed lines 42-43 from:
* [[ClientConstructor | Client()]]
to:
* [[ClientConstructor | Client]]
November 01, 2011, at 04:34 PM by Scott Fitzgerald -
Changed lines 29-30 from:
* [[ServerConstructor | EthernetServer()]]
to:
* [[ServerConstructor | Server()]]
* [[EthernetServer | EthernetServer()]]
Changed lines 41-42 from:
* [[ClientConstructor | EthernetClient()]]
to:
* [[ClientConstructor | Client()]]
* [[EthernetClient | EthernetClient()]]
November 01, 2011, at 01:24 PM by Scott Fitzgerald -
Added lines 17-22:

!!!!IPAddress class

The IPAddress class works with local and remote IP addressing.

* [[EthernetIPAddress | IPAddress()]]
November 01, 2011, at 01:20 PM by Scott Fitzgerald -
Changed lines 17-18 from:
to:
* [[EthernetLocalIP | localIP()]]
October 31, 2011, at 05:07 PM by Scott Fitzgerald -
Changed lines 54-55 from:
* [[EthernetUDPRemotePort | remotePort()]]
to:
* [[EthernetUDPRemotePort | remotePort()]]
* [[EthernetUDPBeginPacket | beginPacket()]]
October 31, 2011, at 05:06 PM by Scott Fitzgerald -
Changed lines 53-54 from:
* [[EthernetUDPRemoteIP | remoteIP()]]
to:
* [[EthernetUDPRemoteIP | remoteIP()]]
* [[EthernetUDPRemotePort | remotePort()]]
October 31, 2011, at 04:59 PM by Scott Fitzgerald -
Added line 52:
* [[EthernetUDPParsePacket | parsePacket()]]
October 31, 2011, at 04:47 PM by Scott Fitzgerald -
Added lines 43-52:

!!!!EthernetUDP class

The EthernetUDP class enables UDP message to be sent and received.

* [[EthernetUDPBegin | begin()]]
* [[EthernetUDPRead | read()]]
* [[EthernetUDPWrite | write()]]
* [[EthernetUDPEndPacket | endPacket()]]
* [[EthernetUDPRemoteIP | remoteIP()]]
October 31, 2011, at 04:40 PM by Scott Fitzgerald -
Changed line 22 from:
* [[ServerConstructor | Server()]]
to:
* [[ServerConstructor | EthernetServer()]]
Changed line 33 from:
* [[ClientConstructor | Client()]]
to:
* [[ClientConstructor | EthernetClient()]]
October 12, 2011, at 12:35 AM by Scott Fitzgerald - added images
Changed lines 5-6 from:
Arduino communicates with the shield using the SPI bus. This is on digital pins 11, 12, and 13 on the Uno and pins 50, 51, and 52 on the Mega. '''On both boards, pin 10 is used as SS.''' On the Mega, the hardware SS pin, 53, is not used to select either the W5100, but it must be kept as an output or the SPI interface won't work.
to:
Arduino communicates with the shield using the SPI bus. This is on digital pins 11, 12, and 13 on the Uno and pins 50, 51, and 52 on the Mega. '''On both boards, pin 10 is used as SS.''' On the Mega, the hardware SS pin, 53, is not used to select the W5100, but it must be kept as an output or the SPI interface won't work.

Attach:arduino_uno_ethernet_pins.png

Attach:arduino_mega_ethernet_pins.png

October 11, 2011, at 12:52 AM by Scott Fitzgerald -
Changed lines 5-6 from:
'''NB : The Ethernet library always uses pin 10 for SS, even on the Mega.'''
to:
Arduino communicates with the shield using the SPI bus. This is on digital pins 11, 12, and 13 on the Uno and pins 50, 51, and 52 on the Mega. '''On both boards, pin 10 is used as SS.''' On the Mega, the hardware SS pin, 53, is not used to select either the W5100, but it must be kept as an output or the SPI interface won't work.
October 11, 2011, at 12:41 AM by Scott Fitzgerald - added information about SS usage
Added lines 5-6:
'''NB : The Ethernet library always uses pin 10 for SS, even on the Mega.'''
February 10, 2009, at 10:40 AM by David A. Mellis -
Changed lines 3-4 from:
With the Arduino Ethernet Shield, this library allows an Arduino board to connect to the internet. It can serve as either a server accepting incoming connections or a client making outgoing ones.
to:
With the Arduino Ethernet Shield, this library allows an Arduino board to connect to the internet. It can serve as either a server accepting incoming connections or a client making outgoing ones. The library supports up to four concurrent connection (incoming or outgoing or a combination).
February 10, 2009, at 10:33 AM by David A. Mellis -
Added line 27:
* [[ClientConnected | connected()]]
November 01, 2008, at 11:55 AM by David A. Mellis -
Deleted lines 4-7:
''Download'': [[Attach:Ethernet.zip | Ethernet.zip]]

To install, unzip the downloaded file, and move the resulting Ethernet/ folder into the hardware/libraries sub-folder of the Arduino application folder.
September 02, 2008, at 10:59 PM by David A. Mellis -
Added lines 7-8:
To install, unzip the downloaded file, and move the resulting Ethernet/ folder into the hardware/libraries sub-folder of the Arduino application folder.
September 02, 2008, at 10:58 PM by David A. Mellis -
Changed lines 5-6 from:
'''Download''': Attach:Ethernet.zip
to:
''Download'': [[Attach:Ethernet.zip | Ethernet.zip]]
September 02, 2008, at 10:58 PM by David A. Mellis -
Added lines 5-6:
'''Download''': Attach:Ethernet.zip
September 02, 2008, at 10:46 PM by David A. Mellis -
Added lines 29-30:
* [[ClientPrint | print()]]
* [[ClientPrintln | println()]]
September 02, 2008, at 10:32 PM by David A. Mellis -
Changed lines 20-21 from:
to:
* [[ServerPrintln | println()]]
September 02, 2008, at 10:32 PM by David A. Mellis -
Changed lines 19-20 from:
to:
* [[ServerPrint | print()]]
September 02, 2008, at 10:17 PM by David A. Mellis -
Changed lines 9-10 from:
[[EthernetBegin | begin()]]
to:
* [[EthernetBegin | begin()]]
Changed lines 15-19 from:
[[ServerConstructor | Server()]]
[[ServerBegin | begin()]]
[[ServerAvailable | available()]]
[[ServerWrite | write()]]
to:
* [[ServerConstructor | Server()]]
* [[ServerBegin | begin()]]
* [[ServerAvailable | available()]]
* [[ServerWrite | write()]]
Changed lines 24-30 from:
[[ClientConstructor | Client()]]
[[ClientConnect | connect()]]
[[ClientWrite | write()]]
[[ClientAvailable | available()]]
[[ClientRead | read()]]
[[ClientFlush | flush()]]
[[ClientStop | stop()]]
to:
* [[ClientConstructor | Client()]]
* [[ClientConnect | connect()]]
* [[ClientWrite | write()]]
* [[ClientAvailable | available()]]
* [[ClientRead | read()]]
* [[ClientFlush | flush()]]
* [[ClientStop | stop()]]
September 02, 2008, at 10:16 PM by David A. Mellis -
Added lines 1-30:
!!Ethernet library

With the Arduino Ethernet Shield, this library allows an Arduino board to connect to the internet. It can serve as either a server accepting incoming connections or a client making outgoing ones.

!!!!Ethernet class

The Ethernet class initializes the ethernet library and network settings.

[[EthernetBegin | begin()]]

!!!!Server class

The Server class creates servers which can send data to and receive data from connected clients (programs running on other computers or devices).

[[ServerConstructor | Server()]]
[[ServerBegin | begin()]]
[[ServerAvailable | available()]]
[[ServerWrite | write()]]

!!!!Client class

The client class creates clients that can connect to servers and send and receive data.

[[ClientConstructor | Client()]]
[[ClientConnect | connect()]]
[[ClientWrite | write()]]
[[ClientAvailable | available()]]
[[ClientRead | read()]]
[[ClientFlush | flush()]]
[[ClientStop | stop()]]

Share