Embedded TCP/IP stack  4.7.0

Detailed Description

This section describes the parameters specific to the SNTP Client.
The user may override and change the default values in the application-specific configuration file fnet_user_config.h.

Macros

#define FNET_CFG_SNTP
 SNTP client support: More...
 
#define FNET_CFG_SNTP_PORT   (FNET_HTONS(123U))
 Default SNTP port number (in network byte order).
The SNTP client uses this port for sending and receiving of SNTP messages.
It can be changed during the SNTP Client initialization by the fnet_sntp_init() function.
Default value is FNET_HTONS(123).

. More...

 
#define FNET_CFG_SNTP_RETRANSMISSION_MAX   (2U)
 The maximum number of times the SNTP client will retransmit the request message to a SNTP server.
Default value is 2.

. More...

 
#define FNET_CFG_SNTP_RETRANSMISSION_TIMEOUT   (2U) /* seconds */
 Timeout for the response from the remote SNTP server (in seconds).

If the SNTP client does not receive any response from a SNTP server, it sends new request message.
Default value is 2.

. More...

 

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net