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

192 Commits

Author SHA1 Message Date
Martino Facchin
5adda82357 Ethernet: update to 1.1.2 2016-03-08 15:20:33 +01:00
Cristian Maglie
f308d8e888 Merge branch 'Library_sentences' of git://github.com/00alis/Arduino 2016-03-03 14:05:54 +01:00
Alice Pintus
8d3c4dbfec update sentences 2016-03-01 16:09:50 +01:00
Dino Tinitigan
0873b36aa5 Add Arduino/Genuino 101 Support for Ethernet lib 2016-02-17 13:25:10 -08:00
Michael Amie
e6f85b7058 Removed unnecessary invocation of Ethernet.maintain()
Since this example utilizes a statically assigned IP address, it is not necessary to call Ethernet.maintain().
2016-01-11 00:04:47 -08:00
Arnie97
89294855fe Fix typo in a Ethernet Shield example 2015-12-19 21:10:24 +08:00
Cristian Maglie
b7173ed06c Ethernet: partially fix flush() behaviour in EthernetUDP
We still need to check if trasmission is completed, BTW this commit
should alleviate bugs involving data loss.

See #4029
2015-11-11 16:36:11 +01:00
Cristian Maglie
d8dc54afc4 UdpNtpClient example: removed wrong return type 2015-11-05 19:10:12 +01:00
Cristian Maglie
67c24d6b40 Ethernet: fixed some compiler warning 2015-11-05 19:08:00 +01:00
Cristian Maglie
8989ec9bfe Ethernet: increased version to 1.1.1 2015-11-05 19:03:03 +01:00
Cristian Maglie
21141513e2 Ethernet: fixed regression for SAM (Arduino Due)
Fix https://github.com/arduino/Arduino/issues/4072
2015-11-05 18:33:34 +01:00
chaveiro
ef15667ae8 Expose optional DHCP timout parameters to Ethernet:begin()
A no brainer update.
Expose optional timeout parameter values of dhcp for user to adjust on
their code.
Currently if dhcp server is not available, code will block inside
DhcpClass::request_DHCP_lease() for 60s. Having this parameters exposed
user can specify their timeout requirements without changing the lib
code.
Change is backward compatible as parameters are optional and defaults to
existing values.
2015-10-07 17:49:30 +02:00
per1234
7f4c29927d Clean up Ethernet example comments
- Fix typos and formatting.
- Remove analog inputs part of Circuit comment in ChatServer and
AdvancedChatServer. The examples don't use these analog inputs.
2015-10-04 05:03:31 -07:00
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