The timesync code API library module has the file name tlogcode.c. This module provides timesync code translation. This module can be used by itself but the module is usually used as part of a timesync client or server application which also includes the modules (TCP IPC method only):
This module requires the header files:
Prototype : void ts_code_string(int code, char *mes) Parameters : Name : code Description: timesync code Name : mess Description: output string
This function will take the input timesync code and translate it to an English string loaded into the output string.