sdk-ameba-v4.0c_180328/component/common/example/sntp_showtime
2019-04-02 16:34:25 +08:00
..
example_sntp_showtime.c first add sdk 2019-04-02 16:34:25 +08:00
example_sntp_showtime.h first add sdk 2019-04-02 16:34:25 +08:00
readme.txt first add sdk 2019-04-02 16:34:25 +08:00

LWIP SNTP SHOWTIME EXAMPLE

Description:
Show system time maintained by time from NTP server and system tick.

Configuration:
Can Modify SNTP_SERVER_ADDRESS and SNTP_UPDATE_DELAY in sntp.c for NTP time update

[platform_opts.h]
	#define CONFIG_EXAMPLE_SNTP_SHOWTIME    1

Execution:
Can make automatical Wi-Fi connection when booting by using wlan fast connect example.
A lwip ntp showtime example thread will be started automatically when booting.