Commit Graph

88 Commits

Author SHA1 Message Date
Alexander Entinger
bc006e0905
Adding sync-labels workflow for sharing one set of labels across all repos. (#159) 2021-12-16 10:09:44 +01:00
Alexander Entinger
367254d9d6
Merge pull request #71 from theandy94/master
added method to test if time was set correctly
2021-05-25 06:50:30 +02:00
per1234
8bcfd2e9ce
Merge pull request #144 from per1234/remove-misleading-comment
Remove erroneous comment re: packets
2021-05-21 14:15:52 -07:00
per1234
1f996361da
Remove erroneous comment re: packets
The comment directs the reader to find a URL "above" for more information, but there is no such URL anywhere in the source code, and never was even when the comment was introduced to the repository on the first commit.
2021-05-21 14:12:29 -07:00
per1234
f8f3172d60
Merge pull request #142 from per1234/adjust-ci-for-flat-layout
Adjust CI workflow for flat library layout
2021-05-18 21:44:53 -07:00
per1234
94ad095c3f
Adjust CI workflow for flat library layout
This is one of the few official libraries that still uses the old "flat layout", but the CI workflow was configured for the modern "recursive layout.
2021-05-18 21:33:14 -07:00
Alexander Entinger
d935c237ab
Merge pull request #137 from arduino-libraries/ci
Modernize continuous integration system
2021-04-12 10:06:19 +02:00
per1234
0ff77b8aca Add CI workflow to do Arduino project-specific linting
On every push, pull request, and periodically, run Arduino Lint to check for common problems not related to the project
code.
2021-04-12 00:13:30 -07:00
per1234
8f22c7d71f Correct typos in comments and documentation 2021-04-12 00:13:30 -07:00
per1234
b4dbfbde48 Add CI workflow to check for commonly misspelled words
On every push, pull request, and periodically, use the codespell-project/actions-codespell action to check for commonly
misspelled words.

In the event of a false positive, the problematic word should be added, in all lowercase, to the ignore-words-list field
of ./.codespellrc. Regardless of the case of the word in the false positive, it must be in all lowercase in the ignore
list. The ignore list is comma-separated with no spaces.
2021-04-12 00:13:30 -07:00
per1234
d3688e1673 Report changes in memory usage that would result from merging a PR
On creation or commit to a pull request, a report of the resulting change in memory usage of the examples will be
commented to the PR thread.
2021-04-12 00:13:30 -07:00
per1234
602c479b20 Update "smoke test" examples compilation CI workflow
On every push or pull request that affects library source or example files, and periodically, compile all example
sketches for the specified boards.
2021-04-12 00:13:30 -07:00
per1234
4bc31464db Configure Dependabot to check for outdated actions used in workflows
Dependabot will periodically check the versions of all actions used in the repository's workflows. If any are found to
be outdated, it will submit a pull request to update them.
NOTE: Dependabot's PRs will sometimes try to pin to the patch version of the action (e.g., updating `uses: foo/bar@v1`
to `uses: foo/bar@v2.3.4`). When the action author has provided a major version ref, use that instead
(e.g., `uses: foo/bar@v2`). Dependabot will automatically close its PR once the workflow has been updated.
More information:
https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
2021-04-12 00:01:41 -07:00
per1234
6645bf44e8
Merge pull request #121 from per1234/remove-library_json
Remove redundant and outdated library metadata file
2021-03-28 21:45:23 -07:00
per1234
60dad98455
Remove redundant and outdated library metadata file
library.json is PlatformIO's native library manifest file but library.properties is also supported:
https://docs.platformio.org/en/latest/librarymanager/creating.html

The library.json file has not been maintained. The version is outdated and it also has an incorrect `platforms` value. So the evidence makes it obvious that having two metadata files in this project has a harmful effect. Since the Arduino development software requires library.properties, the choice of keeping library.properties and removing library.json is clear.
2020-11-04 14:55:10 -08:00
Luigi
d7d8b4512b
Adding default port range (#117) 2020-09-07 17:14:47 +02:00
Alexander Entinger
aff9c6b008
Merge pull request #116 from luigigubello/random_local_port
Added method to set random local port
2020-09-03 15:17:48 +02:00
Luigi Gubello
f5673290fc Changing long into unsigned int 2020-09-03 14:52:08 +02:00
Luigi Gubello
9e4323bcef Adding range choice for setRandomPort() 2020-08-31 15:31:55 +02:00
Luigi Gubello
a8bdae7ca4 Added method to set random local port
Added method to set a random local port, so that the board needs not
to use always the same embedded local port for receiving NTP packets.
2020-08-31 02:25:05 +02:00
Alexander Entinger
894b21de11
Merge pull request #77 from arduino-libraries/add-missing-ctors
Added support for server IPAddress argument to NTPClient
2019-09-19 10:46:21 +02:00
Alexander Entinger
a80086968a Fixing function signature error of 'NTPClient(UDP& udp, const char* poolServerName, long timeOffset)' (long timeOffset instead of int timeOffset) and adding the overloaded ctors also for an IPAddress 2019-09-19 10:24:53 +02:00
Alexander Entinger
ff9775d082 Merge branch 'sheffieldnick-ipaddress' - Manually resolving merge conflicts. 2019-09-19 10:00:42 +02:00
sheffieldnick
931c471697 Added support for server IPAddress argument to NTPClient 2019-09-19 10:00:23 +02:00
Alexander Entinger
18d4ac7eb1
Merge pull request #62 from jbrown123/master
Added packet flush before request in forceUpdate(). Fixes issue #49 - random clock delay
2019-09-19 08:38:46 +02:00
Alexander Entinger
9c16cb728b Adding documentation of function 'getEpochTime' to README 2019-09-19 07:32:17 +02:00
Alexander Entinger
97cdcd7038
Merge pull request #56 from bitsy/patch-1
Update NTPClient.cpp
2019-09-19 06:37:49 +02:00
Alexander Entinger
151bbc5484 Releasing v3.2.0 2019-09-18 10:01:20 +02:00
theandy94
81ac5d71a1
Update examples/IsTimeSet/IsTimeSet.ino
Co-Authored-By: per1234 <accounts@perglass.com>
2019-05-23 15:42:45 +02:00
theandy94
1ebdff655d
Update examples/IsTimeSet/IsTimeSet.ino
Co-Authored-By: per1234 <accounts@perglass.com>
2019-05-23 15:42:37 +02:00
theandy94
0bb26f7ccc
Update examples/IsTimeSet/IsTimeSet.ino
Co-Authored-By: per1234 <accounts@perglass.com>
2019-05-23 15:42:29 +02:00
theandy94
471edf092c
Update examples/IsTimeSet/IsTimeSet.ino
Co-Authored-By: per1234 <accounts@perglass.com>
2019-05-23 15:42:23 +02:00
theandy94
eea4863c9a
Update examples/IsTimeSet/IsTimeSet.ino
Co-Authored-By: per1234 <accounts@perglass.com>
2019-05-23 15:42:17 +02:00
theandy94
b0328556f5
Update keywords.txt
Co-Authored-By: per1234 <accounts@perglass.com>
2019-05-23 15:42:09 +02:00
theandy94
69ce756af8 added method to test if time was set correctly 2019-05-18 11:19:10 +02:00
theandy94
b9fa22617b added method to test if time was set correctly 2019-05-18 10:57:04 +02:00
James Brown
cfbe88a3e2 Added packet flush before request in forceUpdate(). Fixes issue #49 in the upstream repo 2019-01-12 13:32:05 -07:00
bitsy
712c58c18e
Update NTPClient.cpp
The NTPClient method update() has been changed to only return "TRUE" after a successful update. The following conditions return "FALSE":
- Interval duration requirement not met
- forceUpdate() times out
2018-09-16 21:11:26 -07:00
vincentVDB
020aaf868d Update keywords.txt
forget ?
setTimeOffset	KEYWORD2
setUpdateInterval	KEYWORD2
setPoolServerName	KEYWORD2
2018-07-11 08:05:00 -04:00
Peeter Normak
6bb8cdafc7 added method for changing time server 2018-06-27 12:23:36 +02:00
Tamas Karpati
10125217d9 Make getter methods const 2018-06-27 12:22:18 +02:00
Kosh
70d6ec4e90 Changed timeOffset from int to long to support timezones with more than 32000 seconds difference from GMT (eg, Australia +10 (36000)) (#42) 2018-06-27 12:17:09 +02:00
Testato
126ea3093b Update README.md 2018-06-27 12:13:08 +02:00
Testato
ea200235c7 New default server
https://github.com/arduino-libraries/NTPClient/issues/34
2018-06-27 12:13:08 +02:00
pabloandresm
0825e0cc07 fixes updateInterval & lastUpdate variable type 2018-06-27 12:12:09 +02: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