Increase SNTP_RECV_TIMEOUT to be conform with RFC.

Signed-off-by: goldsimon <goldsimon@gmx.de>
This commit is contained in:
Matthias Hofmann 2017-07-25 11:52:14 +02:00 committed by goldsimon
parent 2e78b6dcae
commit 64bceabc03

View File

@ -151,14 +151,14 @@
/** SNTP receive timeout - in milliseconds
* Also used as retry timeout - this shouldn't be too low.
* Default is 3 seconds.
* Default is 15 seconds. Must not be beolw 15 seconds by specification (i.e. 15000)
*/
#if !defined SNTP_RECV_TIMEOUT || defined __DOXYGEN__
#define SNTP_RECV_TIMEOUT 3000
#define SNTP_RECV_TIMEOUT 15000
#endif
/** SNTP update delay - in milliseconds
* Default is 1 hour. Must not be beolw 15 seconds by specification (i.e. 15000)
* Default is 1 hour. Must not be beolw 60 seconds by specification (i.e. 60000)
*/
#if !defined SNTP_UPDATE_DELAY || defined __DOXYGEN__
#define SNTP_UPDATE_DELAY 3600000