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

13 Commits

Author SHA1 Message Date
Cristian Maglie
1b7fd24480 Fixed server address on UdpNtpClient example.
Fixes #1156
2012-12-10 11:50:49 +01:00
Tom Igoe
6f93d3fc17 Updated all comments for while (!Serial) additions to serial-based examples 2012-04-09 10:48:40 -04:00
Tom Igoe
202bb102a0 Updated all serial in setup examples with a note about the serial check 2012-04-02 11:11:46 -04:00
Tom Igoe
a631e4f834 Added Serial port check to all examples using Serial statements in the setup 2012-04-02 09:07:58 -04:00
David A. Mellis
da5ccf4eaf Merge remote-tracking branch 'amcewen/wifly_integration' into new-extension 2011-08-31 14:25:04 -04:00
amcewen
a6093a8d91 Created an abstract base class UDP to match the Client and Server classes, and reworked the Ethernet library to use it and derive EthernetUDP. 2011-08-30 21:27:31 +01:00
Tom Igoe
35777612c0 Changed all .pde examples to .ino
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
David A. Mellis
f43c0918ff Merge branch 'dhcp' of github.com:amcewen/Arduino.
This includes DCHP support and new UDP API for the Ethernet library.
2011-03-23 23:28:33 -04:00
amcewen
a42dc0b455 Fix for issue 62, adding DHCP support. New begin() method added to EthernetClass which takes just a MAC address and gets the rest of its configuration information via DHCP. Examples updated to use the IPAddress class and some have been changed to get their config via DHCP. 2011-01-16 20:11:50 +00:00
amcewen
88e858f6e3 Fix for issue 439. UDP API changed to derive from Stream. The old sendPacket and readPacket calls have been removed, and replaced with Stream-derived alternatives which provide more commonality with other communications classes and to allow both buffered and full-packet-at-a-time uses. Also includes the introduction of an IPAddress class to make passing them around easier (and require fewer pointers to be exposed) 2011-01-10 14:54:29 +00:00
amcewen
ca07ac18f3 Update to the fix for Issue #436 - UdpClass renamed to UDP and the constructor moved into the .cpp to prevent compilation errors in certain conditions if w5100.h hasn't been included before Udp.h 2011-01-01 21:42:23 +00:00
amcewen
bc0f3c4fe1 Fixes to UDP so that it no longer has socket 0 hardcoded - all part of issue #436. UdpClass::begin now finds the first available free socket, or fails if they're all in use. UdpClass::stop added to release the socket once it is no longer needed. The global Udp object has also been removed and the examples updated to provide their own instance. Finally, in testing I noticed that the UdpNtpClient didn't print leading 0s if the minute or second was a single-digit, so have taken the opportunity to provide a simple fix for it. 2010-12-28 15:16:42 +00:00
Tom Igoe
addbdd7949 updating UDP library and examples with M. Margolis' changes and examples. 2010-09-17 14:17:01 +00:00