Dean Blackketter
63f122946c
Add setRetryInterval() method
2018-10-20 10:41:27 -07:00
Dean Blackketter
ab157e8a77
Initialize _updateCallback to a null ptr.
2018-01-16 14:37:22 -08:00
Dean Blackketter
182d69ddb9
Fix handling of last packet request timing
2017-01-10 09:29:15 -08:00
Dean Blackketter
a76f5957bf
Added a callback facility to notify user of updated time.
...
Accuracy is improved by using the fractional portion of seconds.
Make millisecond accurate time available via new getEpochMillis()
function.
2017-01-09 07:49:57 -08:00
Dean Blackketter
5ef4d5400f
Added updated() method to see if the time has ever been updated.
2016-12-09 20:35:20 -08:00
Dean Blackketter
b68746a87a
Make update() non-blocking.
2016-10-11 14:37:32 -07:00
Sandeep Mistry
9dc9ad184b
Version 3.1.0
2016-05-31 16:33:31 -04:00
Sandeep Mistry
9e96da6e44
Update CHANGELOG
2016-05-31 16:33:15 -04:00
Sandeep Mistry
3c25c4fa2c
Change email to arduino.cc
2016-05-31 16:29:40 -04:00
FWeinb
7433f7da88
Merge pull request #17 from SirUli/master
...
Added functions for changing the timeOffset and updateInterval later
2016-05-25 21:30:40 +02:00
Sandeep Mistry
d9264aadf3
Merge pull request #21 from g-goessel/patch-2
...
Update README.md
2016-05-22 08:23:15 -07:00
Sandeep Mistry
3bb667acb5
Merge pull request #20 from g-goessel/patch-1
...
Update README.md
2016-05-22 08:22:57 -07:00
g_goessel
87e20e0ff0
Update README.md
...
Fixed an error in a comment.
Was throwing `no matching function for call to 'NTPClient::NTPClient(const char [20], int, int)' ` otherwise
2016-05-21 21:15:49 +02:00
g_goessel
608ce2c003
Update README.md
...
This was probably not the speed you wanted :-)
2016-05-21 21:05:54 +02:00
FWeinb
3df8159c7f
Merge pull request #19 from ivankravets/patch-2
...
Update repo URL
2016-05-19 20:03:42 +02:00
Ivan Kravets
371bb848bb
Update repo URL
2016-05-19 20:08:23 +03:00
FWeinb
7716ba2471
Merge pull request #18 from ivankravets/patch-1
...
Add authors and version fields
2016-05-18 21:40:15 +02:00
Ivan Kravets
2f28de0e8c
Add Sandeep Mistry as co-author
2016-05-18 16:26:00 +03:00
Ivan Kravets
40b9ec5147
Add authors and version fields
2016-05-15 00:32:07 +03:00
Uli
85c4caca94
Fixed Readme
...
Initialization with a different timeserver had a missing ntpUDP
Added the default values for interval and offset to the comment of the
default constructor in the ReadMe
2016-05-14 12:08:45 +02:00
Uli
ac19e0d7db
Added functions for changing the timeOffset and updateInterval later
...
I added two functions:
```cpp
setTimeOffset(int timeOffset)
```
Allows you to set the offset at a later stage (e.g. upon timezone
changes or change from summertime to standard time)
```cpp
setUpdateInterval(int updateInterval)
```
Allows to set the interval at a later point. This was helpful when not
setting an offset at initialization and e.g. for other sync times during
special occasions.
2016-05-14 12:04:18 +02:00
Sandeep Mistry
e0fe10f578
Update library.properties
...
update URL
2016-04-19 09:09:24 -04:00
Sandeep Mistry
66f5e90123
Update CHANGELOG
2016-04-19 09:07:18 -04:00
Sandeep Mistry
fac9f516d7
Update README.md
...
Add Travis CI badge
2016-04-18 15:38:19 -04:00
FWeinb
0344dafb22
Merge pull request #16 from arduino-libraries/add-travis
...
Add travis build test
2016-04-18 21:33:51 +02:00
Fabrice Weinberg
9418eb8678
Initial add travis arduino build tests
2016-04-18 21:21:41 +02:00
Sandeep Mistry
fe79989b8b
Change return type of get components to int
2016-04-18 15:08:38 -04:00
Sandeep Mistry
9070f2b11f
Add changelog
2016-04-15 09:20:11 -04:00
Sandeep Mistry
9229123274
Rename getRawTime to getEpochTime
2016-04-15 09:09:23 -04:00
Sandeep Mistry
b0776ef19c
Return result of update() and forceUpdate()
2016-04-15 09:06:30 -04:00
Sandeep Mistry
8dfbf23463
Use hard tabs in keywords.txt
2016-04-15 09:03:45 -04:00
Sandeep Mistry
0167eaed14
Add flag to track if UDP was setup, setup in update if it hasn't been
2016-04-15 09:03:45 -04:00
Sandeep Mistry
20bcfe4c6a
Add end() API
2016-04-15 09:03:45 -04:00
Sandeep Mistry
5eff0bd78e
Add begin API
...
I’ve made calling this mandatory for now.
2016-04-15 09:03:45 -04:00
Sandeep Mistry
89aa3359a2
Initialize _timeOffset and _currentEpoc to zero
2016-04-13 09:29:27 -04:00
Sandeep Mistry
3c1d6b1c18
Update README.md
...
Correct example
2016-04-12 09:35:34 -04:00
FWeinb
b910b126ba
Merge pull request #8 from sandeepmistry/all-architectures
...
Support for other boards and shields
2016-04-12 14:30:47 +02:00
Sandeep Mistry
1fabfc5b8d
Add UDP instance argument in constructor to support more architectures
2016-04-08 16:34:51 -04:00
FWeinb
056b9b4110
Merge pull request #7 from pnewb/master
...
Adding support for getting numerical day of the week where 0 = Sunday
2016-03-31 12:24:50 +02:00
david
846351ce49
Adding support for getting numerical day of the week where 0 = Sunday
2016-03-30 22:26:04 -07:00
Fabrice Weinberg
705ca02725
Add to platformio
2015-12-29 14:34:16 +01:00
FWeinb
f18668f640
Merge pull request #4 from Testato/patch-1
...
Update README.md
2015-12-23 18:45:12 +01:00
Testato
71269dd2d7
Update README.md
2015-12-12 22:19:03 +01:00
Fabrice Weinberg
ddbd8efd34
Remove .begin() call.
2015-12-12 17:23:17 +01:00
Fabrice Weinberg
0afa5598c3
Update to 2.0
2015-12-12 17:22:21 +01:00
Fabrice Weinberg
7f05bf9e4d
Remove .begin() from API
2015-12-12 17:21:39 +01:00
Fabrice Weinberg
eae9724b10
Fix basic example
2015-12-12 16:36:34 +01:00
Fabrice Weinberg
35e6016872
Fix formatting
2015-12-12 16:35:04 +01:00
Fabrice Weinberg
25797f1f86
Initial commit
2015-12-08 17:21:16 +01:00