Skip to content

Commit fe22d51

Browse files
authored
Merge pull request #1 from tbowmo/master
Various updates to GW variant
2 parents ff373a6 + 5d14b1d commit fe22d51

File tree

16 files changed

+1021
-1022
lines changed

16 files changed

+1021
-1022
lines changed

libraries/Ethernet/examples/AdvancedChatServer/AdvancedChatServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*
22
Advanced Chat Server
33
44
A more advanced server that distributes any incoming messages

libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void loop() {
109109
}
110110

111111
// send an NTP request to the time server at the given address
112-
unsigned long sendNTPpacket(char* address) {
112+
void sendNTPpacket(char* address) {
113113
// set all bytes in the buffer to 0
114114
memset(packetBuffer, 0, NTP_PACKET_SIZE);
115115
// Initialize values needed to form NTP request

libraries/Ethernet/examples/WebClientRepeating/WebClientRepeating.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void httpRequest() {
8989
// if there's a successful connection:
9090
if (client.connect(server, 80)) {
9191
Serial.println("connecting...");
92-
// send the HTTP PUT request:
92+
// send the HTTP GET request:
9393
client.println("GET /latest.txt HTTP/1.1");
9494
client.println("Host: www.arduino.cc");
9595
client.println("User-Agent: arduino-ethernet");
@@ -103,5 +103,3 @@ void httpRequest() {
103103
Serial.println("connection failed");
104104
}
105105
}
106-
107-

libraries/Ethernet/examples/WebServer/WebServer.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ void loop() {
9797
// close the connection:
9898
client.stop();
9999
Serial.println("client disconnected");
100-
Ethernet.maintain();
101100
}
102101
}
103102

libraries/Ethernet/library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name=Ethernet
2-
version=1.1.0
2+
version=1.1.2
33
author=Arduino
44
maintainer=Arduino <[email protected]>
5-
sentence=Enables network connection (local and Internet) using the Arduino Ethernet board or shield. For all Arduino boards.
5+
sentence=Enables network connection (local and Internet) using the Arduino Ethernet Board or Shield.
66
paragraph=With this library you can use the Arduino Ethernet (shield or board) to connect to Internet. The library provides both Client and server functionalities. The library permits you to connect to a local network also with DHCP and to resolve DNS.
77
category=Communication
88
url=http://www.arduino.cc/en/Reference/Ethernet

0 commit comments

Comments
 (0)