CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
Example

Returns a computer-friendly timestamp string, ideal for chronological ordering.

Returns a computer-friendly timestamp string, ideal for chronological ordering.

Parameters
dest_str- Pointer to buffer that stores the destination string.
dest_str_size- Maximum length of dest_str buffer.
uptime_ms- System uptime in ms, as returned by HAL_GetTick().

The string identifies the timestamp of the last time synchronization, the synchronization source (N - none; G - GNSS/GPS; T - telecommand), and the time passed in ms since the last synchronization. Added together, the two numbers represent the unix timestamp in ms. : "1719169299720+0000042000_N"

Note
See the docs/ folder for more information on this specific format.