Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Include file
Description
Source/sntp-c.hContains 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_getRequest 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_helpPrint helpnonesntp_help

...