1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-11 22:24:13 +01:00
Commit Graph

179 Commits

Author SHA1 Message Date
Cristian Maglie
0083d75224 Fixed typo in Ethernet lib
Fix #3845
2015-09-23 14:50:28 +02:00
Arturo Guadalupi
9eaea4205d Modified reference to Leonardo only in the examples
According to #3786 removed the reference to Leonardo only in while(!Serial) of the examples.
Changed in in "wait for serial port to connect. Needed for native USB port only"
2015-09-21 14:58:58 +02:00
Eddy
8a4fd0e6a2 Ethernet use DNS in examples
Set the DNS-Server as third parameter of Ethernet.begin if at least gateway is specified. Reference is Updated before.

In BarometricPressureWebServer gateway and subnet wasn't used.

Signed-off-by: Eddy <est.git@online.de>
2015-09-18 11:36:15 +02:00
Cristian Maglie
306eaa13c9 Fixed DNSClient::inet_aton function.
Fixes #2500
2015-09-09 12:03:29 +02:00
Arturo Guadalupi
3f28c2452a Added Ethernet.maintain() to examples
According to #3634 I added the Ethernet.maintain to examples:
Webserver
UdpNtpClient
DhcpChatServer
DhcpAddressPrinter
2015-09-03 09:34:49 +02:00
per1234
4d7723fb95 Add localIP and maintain to Ethernet keywords 2015-08-22 04:16:43 -07:00
lathoub
006124136e Provide for support for ZeroConf/Bonjour
Provide for support for ZeroConf/Bonjour, by allowing derived classes
access to _sock and _remaining. See
https://github.com/lathoub/EthernetBonjour
2015-08-16 15:29:26 +02:00
Cristian Maglie
6e9e514a2d Ethernet lib version bump to 1.1.0 2015-07-14 23:39:03 +02:00
Cristian Maglie
94fcb02e0f Removed typos in EthernetClient.cpp 2015-07-14 15:56:48 +02:00
Alasdair Allan
e5805926d0 Added Multicast UDP support
Fix #1531
2015-07-14 15:56:25 +02:00
Cristian Maglie
a33c93b194 Ethernet: fixed wrong handling of timeouts in DHCP
The signed math doesn't handle correctly cases where the lease
time is set to infinity (0xFFFFFFFF).

Fixes #2571
Fixes #2601
Fixes #2642
Fixes #985
2015-07-14 09:57:01 +02:00
Cristian Maglie
50dff341f2 Ethernet: fix calculation of T2 in DHCP 2015-07-14 09:57:01 +02:00
Cristian Maglie
2b089e6b58 Ehternet: removed useless _lastCheck field in DHCP
it seems that _lastCheck, besides the name, was simply used as flag
to detect if _secTimeout is initialized. Now the check is removed
and _secTimeout is initalized in the proper place.
2015-07-14 09:57:01 +02:00
Martino Facchin
e75d029c81 Ethernet: add getSocketNumber to keywords 2015-07-09 15:42:45 +02:00
Aberto Panu
c5f0815f27 Add EthernetClient getSocketNumber() function 2015-07-09 15:42:26 +02:00
Federico Fissore
5e98cd8528 Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
Cristian Maglie
7f2fc71607 Ethernet: Increased version number 2015-06-22 11:31:58 +02:00
Cristian Maglie
76b2f992ee Ethernet lib: first implementation for zero 2015-06-22 11:31:57 +02:00
Cristian Maglie
ed8cdcc48f Ethernet lib: move AVR defines into a specific section 2015-06-22 11:31:57 +02:00
Cristian Maglie
6d3e8c7f0f Ethernet lib: slightly refactored SPI_ETHERNET_SETTING build
Prepare for next refactoring.
Doesn't change any behaviour.
2015-06-22 11:31:57 +02:00
Cristian Maglie
2274922d5e Ethernet library now use SPI_HAS_EXTENDED_CS_PIN_HANDLING to detect when Extended SPI API is available 2015-06-22 11:31:57 +02:00
Cristian Maglie
419597f7e4 Ethernet: Fixed indent 2015-06-22 11:31:57 +02:00
Federico Fissore
506efe08e5 Ethernet: releasing version 1.0.4 2015-06-10 14:59:45 +02:00
Matthias Hertel
a9cdd44d27 Optimizations: remove multiple calls to the status() function. 2015-05-28 11:00:23 +02:00
Federico Fissore
9166828bfe Due to website configuration changes, every url starting with http://arduino.cc has been changed to http://www.arduino.cc. Fixes #3191 2015-05-20 17:10:06 +02:00
Federico Fissore
5519f15663 Libraries: added help files to mitigate missing contextual reference issue 2015-04-23 17:19:15 +02:00
Federico Fissore
0b4b76fa67 Bundled libraries update 2015-04-23 13:01:30 +02:00
Arturo Guadalupi
9eb2bac42e First licenses review 2015-04-23 12:53:30 +02:00
Federico Fissore
f7106ecc65 Libraries: version now compliant with semver. See http://semver.org/ 2015-03-27 15:01:49 +01:00
Martino Facchin
22bd9f69a2 Ethernet: fix include files path 2015-03-20 15:28:50 +01:00
Federico Fissore
eb0c2c9baa Added virtual bool operator==(const bool value) and virtual bool operator!=(const bool value).
Fixes #2611
Bug introduced with #1700
2015-02-13 17:29:36 +01:00
Cristian Maglie
e93be4855f Corrected some email contacts. 2015-02-05 16:47:22 +01:00
Arturo Guadalupi
ce412a0461 Added README.adoc for the library manager project 2015-01-16 17:14:02 +01:00
Cristian Maglie
6d7751cf5f Fixed some libraries metadata. 2015-01-16 12:22:24 +01:00
Cristian Maglie
b032f748f1 Ehternet: added packed attribute on DHCP message struct 2014-10-28 17:56:28 +01:00
Cristian Maglie
79fde3a636 Ethernet: fixed upcast of byte-pointer 2014-10-28 17:55:52 +01:00
Cristian Maglie
2a912bab62 Merge branch 'master' into ide-1.5.x
Conflicts:
	app/src/processing/app/Base.java
2014-10-10 00:14:22 +02:00
JChristensen
c01172cd1b Changed EthernetClient to use IANA recommended ephemeral port range, 49152-65535. 2014-10-05 22:41:39 -04:00
Fede85
f85a72847a Ethernet: UdpNtpClient.ino now uses DNS to connect to the NTP server 2014-09-25 14:50:42 +02:00
Fede85
9a64c1bb1c removed Xively and Cosm examples 2014-09-25 14:50:42 +02:00
PaulStoffregen
a0f5a2ee4c Use SPI transaction in Ethernet W5100 init 2014-08-01 11:52:09 -07:00
PaulStoffregen
8aaca2fbb6 Use SPI transactions in Ethernet library 2014-08-01 06:34:34 -07:00
PaulStoffregen
53924e9d58 Move Ethernet socket level stuff to utility/socket.cpp 2014-08-01 06:03:38 -07:00
Cristian Maglie
6200ec2039 Merge pull request #2194 from Fede85/ide-1.5.x_lib-description
Ide 1.5.x lib description
2014-07-21 12:16:20 +02:00
Fede85
b02e85ceb2 modified sentences in library.properties files 2014-07-18 19:41:34 +02:00
Matt Robinson
569c75246d Remove unused variable from ethernet socket utils
Remove the variable 'status' as this had a value assigned (from readSnSR),
but it was never used.
2014-07-17 16:49:10 +01:00
Cristian Maglie
b673b72cfb Merge branch 'ide-1.5.x-warnings' of github.com:matthijskooijman/Arduino into ide-1.5.x 2014-04-20 19:36:29 +02:00
Matthijs Kooijman
9dca56dced Don't use IPAddress::_address from EthernetClass
EthernetClass is a friend class of IPAddress, so it is allowed to use
its _address attribute directly. However, it should be using
IPAddress::raw_address() instead, like all the other friend classes do.

This changes allows changing the _address attribute to fix some warnings
next.
2014-02-19 16:09:29 +01:00
Cristian Maglie
76ded605ff Updated all library.properties to 1.5 rev2 lib format 2014-02-18 22:32:24 +01:00
Fede85
90fb863c01 better Client.stop() handling in WebClientRepeating and WifiWebClientRepeating examples 2014-01-21 20:38:52 +01:00