Hello All,
I require the date and time in CC3200 by using internal RTC and according to the driver.h, I added the
below code in my application but it throws the errors.
SlDateTime_t dateTime = {0};
dateTime.sl_tm_day = (_u32)23; // Day of month (DD format) range 1-13;
dateTime.sl_tm_mon = (_u32)6; // Month (MM format) in the range of 1-12 ;
dateTime.sl_tm_year = (_u32)2014; // Year (YYYY format) ;
dateTime.sl_tm_hour = (_u32)17; // Hours in the range of 0-23;
dateTime.sl_tm_min = (_u32)55; // Minutes in the range of 0-59;
dateTime.sl_tm_sec = (_u32)22; // Seconds in the range of 0-59;
sl_DevSet(SL_DEVICE_GENERAL_CONFIGURATION,
SL_DEVICE_GENERAL_CONFIGURATION_DATE_TIME,
sizeof(SlDateTime_t),
(_u8 *)(&dateTime));
Error:
1. Description Resource Path Location Type unresolved symbol sl_DevSet, first referenced in ./main.obj
And I verified that the source files and folders are linked. i.e. simplelink, simplelink/include, simplelink/source.
I request you to provide the solution for successful operation to get the date and time from inbuilt functions.
Awaiting for you valuable response