Hi,
I am trying to get NTP time to the CC3220SF-LAUNCHXL device with AWS-IOT freeRTOS SDK.
I tried Following 2 API’s given by TI to enable SNTP client, but its not working as expected.
SNTP_getTime(NULL, 0, &timeval, &ntpTimeStamp);
SlNetUtil_getHostByName(SLNETIF_ID_1, "www.google.com", strlen("www.google.com"), &DestIP, &DestIPListSize, SLNETSOCK_PF_INET);
From the TI forum suggestion, Is there any separate API’s from AWS to sync with NTP server? If Yes, Please provide us example code/ API information from AWS-SDK for the same.
Pleas find the reference link below from TI
https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/t/930385.