public
Description: A simple ntp library for arduino
Homepage:
Clone URL: git://github.com/cynshard/arduino-ntp.git
name age message
file .gitignore Mon Apr 06 20:21:29 -0700 2009 excluding more junk I don't want [Jesse Jaggars]
file NTP.cpp Sun Apr 05 21:19:17 -0700 2009 adding some handy functions for geting unix tim... [Jesse Jaggars]
file NTP.h Sun Apr 05 21:19:17 -0700 2009 adding some handy functions for geting unix tim... [Jesse Jaggars]
file README Sun Apr 05 18:57:04 -0700 2009 making this a git repo [Jesse Jaggars]
directory examples/ Mon Apr 06 21:10:32 -0700 2009 adding an example for synchronizing [Jesse Jaggars]
file keywords.txt Sun Apr 05 18:57:04 -0700 2009 making this a git repo [Jesse Jaggars]
README
This library makes it easy to fetch a timestamp from an NTP timeserver. In order to use this library you will need the 
UDP libraries from:

http://bitbucket.org/bjoern/arduino_osc/

You will also need to modify the library to allow enough space in the buffers for the NTP packets. Open up UdpBytewise.h 
and change these lines:

#define UDP_TX_PACKET_MAX_SIZE 32
#define UDP_RX_PACKET_MAX_SIZE 32

to this:

#define UDP_TX_PACKET_MAX_SIZE 64
#define UDP_RX_PACKET_MAX_SIZE 64