Get Unix Epoch with Amazon FreeRTOS

I am using the Amazon FreeRTOS port for the TI CC3220SF. I can publish and subscribe right out of the box which is nice. However there seems to be no way to get the Unix Epoch with this firmware.

My previous firmware used the TI SNTP function to get the time but that is not in the Amazon port. Also, UDP is not supported so re-implementing SNTP is not possible.

Has anyone solved this problem directly or ported either lwip or the TI SimpleLink SDK to FreeRTOS?

Thank you

Posted Feb 6, 2020, 4:58 PM UTC

21
Recursive-NOPOP•

I abandoned the Amazon FreeRTOS approach because the TI CC3220SF build environment has an optional AWS plugin with an example that compiles to about 1/3 the size and includes SNTP. It also uses a current version of the SDK which should provide other benefits.

1