Hi Brian --
Did you find the MYTIME module in the documentation? If you use 'SNTP_start(MYTIME_gettime, MYTIME_settime, 0)' then the SNTP client will use the MYTIME module to track time.
We are working to integrate SNTP time with the runtime libraries 'time()', etc. APIs, but this work is still not complete. That is one of the reasons why SNTP is tagged "beta".
You should be able to call MYTIME_gettime() to get the current time.
You can also override the rts library's time() function with a function of your own. This will cause time() to call MYTIME_gettime().
uint32_t time()
{
return (MYTIME_gettime());
}
We still have some work to integrate SNTP better with the runtime library's time() APIs and also the FAT filesystem. We are actively working this and may override time() in a way similar to the above for the different compiler toolchains. We will also be using the assorted device's built in RTC modules to track time instead of using the Clock module as is being done in the current MYTIME module.
-Karl-