Back to Generic Commands
CMD_SET_TIME

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

Description

Clients use this command to set the time value for the system-wide timestamp and clock.

Command data format

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 data format

NONE - no response data.

Response return codes
RESP_OK Execution of the command was successful. Response-specific data contains the returned con figuration 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 com mand. (This response may be the result of the client not having registered with the CMD_SERVER_RE G command.)
RESP_UNKNOWN_ERR An unknown error occurred.


|Top|