diff --git a/README.md b/README.md index c0d736b..f3185e6 100644 --- a/README.md +++ b/README.md @@ -66,4 +66,17 @@ Below is a table representing the various OBD data required, as well as how ofte The daemon task is structured as shown in the diagram above. Each data collected is subsequently placed in a queue, before being written in the SD card. +Let's detail the methods of the most important script files. + +### customized_DateAndTime.h/cpp + +|Method|Description| +|:----:|:---------:| +|`time_t StringToDatetime(char *str)`|It converts the date and time from string format to time_t type| +|`void UpdateTime(void)`|It updates time of the RTC| +|`void SetSysInstance(FreematicsESP32* sys)`|It mappes the devices in memory| +|`void GetCurrentTime(char* isoTime)`|It gives the current date and time in string format| +|`void GetCurrentGPSTime(char* isoTime)`|It gives the current time according to GPS| +|`int GetShiftTime(char* tm1,char* tm2)`|It returnes the shift between two time stamps in seconds| + -- libgit2 0.21.4