Patrick Roncagliolo
8418eecca7
Remove old TODOs for non-standard ipv4 format support
...
Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
2017-01-08 23:51:53 +01:00
Dino Tinitigan
0873b36aa5
Add Arduino/Genuino 101 Support for Ethernet lib
2016-02-17 13:25:10 -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
67c24d6b40
Ethernet: fixed some compiler warning
2015-11-05 19:08:00 +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
Cristian Maglie
0083d75224
Fixed typo in Ethernet lib
...
Fix #3845
2015-09-23 14:50:28 +02:00
Cristian Maglie
306eaa13c9
Fixed DNSClient::inet_aton function.
...
Fixes #2500
2015-09-09 12:03:29 +02: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
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
Aberto Panu
c5f0815f27
Add EthernetClient getSocketNumber() function
2015-07-09 15:42:26 +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
Matthias Hertel
a9cdd44d27
Optimizations: remove multiple calls to the status() function.
2015-05-28 11:00:23 +02:00
Arturo Guadalupi
9eb2bac42e
First licenses review
2015-04-23 12:53:30 +02: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
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
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
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
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
618f537691
Ethernet library refactoring
...
- removed arch folder
- merged socket.c and w5100.c for SAM and AVR, this is preparatory
to make library vanilla
2014-01-05 08:50:52 +01:00
Cristian Maglie
d20c028469
Merge remote-tracking branch 'arduino/master' into ide-1.5.x
...
Conflicts:
libraries/Ethernet/EthernetClient.cpp
2013-12-09 18:31:43 +01:00
Cristian Maglie
88def54082
Fixed wrong behaviour of EthernetClient::flush().
...
Fixes #1576
2013-09-23 15:46:51 +02:00
Fede85
9454816162
Ethernet, SD and LiquidCrystal to the new library format
2013-06-26 19:13:04 +02:00