...
Include file | Description |
---|---|
Source/sntp-c.h | Contains SNTPc API definitions |
Module initialization
Module initialization
Function name | Description |
---|---|
SNTPc_Init() | Initialize µC/SNTPc module's objects and tasks. This function must be called prior to any other API |
...
Command | Description | Argument | Usage example |
---|---|---|---|
sntp_get | Request time from a SNTP server. | -4 <ipv4_address> (use IPv4 server address) -6 <ipv6_address> (use IPv6 server address) -d <domain_name> (use Domain name to get server address) | sntp_get -d sntp.server.com |
sntp_help | Print help | none | sntp_help |
...