Back to Generic Commands
CMD_GET_TIME

Command:              CMD_GET_TIME
Destination:          SD_SERVER
Destination Channel:  n/a

Description

Clients use this command to request the time value from the Server.

Command data format

None (No command data.)

Response data format

Response data length is eight bytes.

TIME -- 8 bytes -- Timestamp, in units of .00001 sec (10 usec).
(The lower four bytes correspond to the  Data Frame timestamp.
The upper four bytes extend the range of the timestamp.)  The standard
Unix time (the number of seconds since 0:00:00 GMT, 1/1/70) may be found
by dividing the 8 byte value by 100,000.

Response return codes
RESP_OK Execution of the command was successful. Response-specific data contains the returned configuration information.
RESP_UNSUPPORTED The command is not supported
RESP_AUTH_FAIL The client ID specified in the source channel field is not authorized to execute this command. (This response may be the result of the client not having registered with the CMD_SERVER_REG command.)
RESP_UNKNOWN_ERR An unknown error occurred.


|Top|