I am trying to run the SNTP Example project to set the time.
I followed the instructions on the readme file.(Activating SNTP on BSP Services, defining the variable on appconf)
I also set an ip for the sntp server from a popular STNP Server (appconf.h)
I have internet connection on my device.
I am getting this result:
----> mktime Sat Jan 17 07:32:44 1970
----> ctime Sat Jan 17 07:32:44 1970
----> Saturday January 17 @ 07:32:44 AM
----> mktime Sat Apr 3 07:32:44 2004
----> ctime Sat Apr 3 07:32:44 2004
----> Saturday April 03 @ 07:32:44 AM
----> mktime Sun Apr 4 08:32:44 2004
----> ctime Sun Apr 4 08:32:44 2004
----> Sunday April 04 @ 08:32:44 AM
----> mktime Sat Oct 30 08:32:44 2004
----> ctime Sat Oct 30 08:32:44 2004
----> Saturday October 30 @ 08:32:44 AM
So the time is not updated.
What could be causing the sample project to not work?