API for Date and Time

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I am using WICED SDK 3.1.2 to develop the product that periodically sends the data to the server over the WIFI. We need the system date and time. Is there any API for the system date and time? we need your urgent help!

Thanks in advance

0 Likes
5 Replies
Anonymous
Not applicable

You could add a backup battery and connect it to the VBAT for RTC backup. then, use the NTP example to poll the time off an internet time server.

0 Likes
Anonymous
Not applicable

Can you send me the the NTP example code?

0 Likes
Anonymous
Not applicable

I'm not sure that I'm allowed to send you the actual code.. but I'm quite sure that specifying the path to the code would be fine:

SDK_ROOT/libraries/protocols/SNTP/sntp.c

just call sntp_start_auto_time_sync(..) and you're set ;-).

0 Likes
Anonymous
Not applicable

Hi,

Please send me the NTP example code as before ASAP. I always get the example codes from you  like tftp that doesn't com with SDK 3.1.2.

Thanks in advance

0 Likes
Anonymous
Not applicable

I'll wait for one of the guys from Broadcom to help you with that

Tsachi

0 Likes