Hi,
After connection to network using sl_WlanConnect(), I do startSNTP() and get the current UTC time and set same to NWP. I am using startsntp.c from TI SDK for function startSNTP(). Hereafter, I use below code to get UTC time:
_i8 configOpt = SL_DEVICE_GENERAL_DATE_TIME;
SlDateTime_t dt;
sl_DeviceGet(SL_DEVICE_GENERAL, &configOpt,
sizeof(SlDateTime_t), (unsigned char *)(&dt));
Do I need to set NWP time in periodic manner to keep it's clock synchronized to network time? Or it does this by itself?
Thanks,
Pradeep