This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC3200: CC3200 SNTP sync period

Part Number: CC3200

Tool/software: TI-RTOS

Hi,

I am using the SNTP functions included in TI-RTOS for CC32XX 2.16.01.14.

My questions are:

  1. How frequently will the SNTP client task sync after calling SNTP_start()?  I have looked through the header file ti/net/sntp/sntp.h and cannot find anything info on this.
  2. I understand that I can force it to sync with the function SNTP_forceTimeSync, but will it sync periodically and automatically if I never force it to sync?
  3. If I lose and re-establish WiFi connectivity, do I need to stop and restart the SNTP client?

  • ironman said:
    How frequently will the SNTP client task sync after calling SNTP_start()?  I have looked through the header file ti/net/sntp/sntp.h and cannot find anything info on this.

    I looked in the sntp.c and it looks like 30 minutes (1,800,000 milliseconds).

    ironman said:
    I understand that I can force it to sync with the function SNTP_forceTimeSync, but will it sync periodically and automatically if I never force it to sync?

    Yes

    ironman said:
    If I lose and re-establish WiFi connectivity, do I need to stop and restart the SNTP client?

    You should not have to restart the SNTP server. Having said that, it would not hurt to do so. It would eliminate many edge cases.

    Todd