Configuration of the SNTP client in µVision.
Configuration of the SNTP client in µVision.
SNTP Client Configuration File
The SNTP client configuration file Net_Config_SNTP_Client.h contains the following settings:
- Broadcast Mode enables or disables the broadcast mode of SNTP Client service. This option should be disabled to access a public NTP server located on the Internet.
- NTP Server specifies the IP address of the NTP Server which receives get time requests in unicast mode (usually a public NTP server on the Internet) or broadcasts NTP messages in broadcast mode (local NTP server in local network). This IP address is used when the NTP Server IP is not specified in netSNTPc_GetTime function parameter.