sdk-ameba-v4.0b-gcc/component/common/example/sntp_showtime
Tautvydas Belgeras 60a7afcc83 initial commit
2018-06-05 16:16:17 +03:00
..
example_sntp_showtime.c initial commit 2018-06-05 16:16:17 +03:00
example_sntp_showtime.h initial commit 2018-06-05 16:16:17 +03:00
readme.txt initial commit 2018-06-05 16:16:17 +03: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.