Commit ac39f3de5d53d17c384101a3c6145a67b9de60c6
1 parent
d40b93dd
files
Showing
1 changed file
with
13 additions
and
0 deletions
Show diff stats
README.md
... | ... | @@ -66,4 +66,17 @@ Below is a table representing the various OBD data required, as well as how ofte |
66 | 66 | The daemon task is structured as shown in the diagram above. Each data collected is subsequently placed |
67 | 67 | in a queue, before being written in the SD card. |
68 | 68 | |
69 | +Let's detail the methods of the most important script files. | |
70 | + | |
71 | +### customized_DateAndTime.h/cpp | |
72 | + | |
73 | +|Method|Description| | |
74 | +|:----:|:---------:| | |
75 | +|`time_t StringToDatetime(char *str)`|It converts the date and time from string format to time_t type| | |
76 | +|`void UpdateTime(void)`|It updates time of the RTC| | |
77 | +|`void SetSysInstance(FreematicsESP32* sys)`|It mappes the devices in memory| | |
78 | +|`void GetCurrentTime(char* isoTime)`|It gives the current date and time in string format| | |
79 | +|`void GetCurrentGPSTime(char* isoTime)`|It gives the current time according to GPS| | |
80 | +|`int GetShiftTime(char* tm1,char* tm2)`|It returnes the shift between two time stamps in seconds| | |
81 | + | |
69 | 82 | ... | ... |