Skip to content

mongoose-os-libs/sntp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNTP library for Mongoose OS

When included to a Mongoose OS application, this library fetches the current time from the SNTP server (by default, time.google.com is used) every time the Internet connection is established, and adjusts the device time.

If NTP server option is returned by DHCP server, it is tried first.

See mos.yml for the SNTP configuration available.