PCAN-Router Pro FD – User Manual
53
Request:
{"sys-cmd-exec": "hw-reboot", "time": "4000"}
Response:
{"cmd-info": "reboot in 4000 ms"}
Errors:
{"cmd-err": "reboot aborted, tracer running"}
Note:
It is not recommended to reboot during an FTP data
transmission.
Set RTC Time
This command is used to set the internal RTC to a user specific time
according to the UTC time format. The value includes
date
,
time
,
and an
offset
for the time difference to UTC which can be positive or
negative. The structure is:
YYYY-DD-MM
HH:MM:SS
+
HHMM
Request:
{"sys-cmd-set": "time-utc",
"datetime": "2021-06-15 13:40:00+0100"}
Response:
{"cmd-ack":
"datetime set to 2021-06-15 13:40:00+0100"}
Errors:
{"cmd-err": "year before 2020"}
{"cmd-err": "bad month"}
{"cmd-err": "bad day of month"}
{"cmd-err": "bad hour"}
{"cmd-err": "bad minutes"}
{"cmd-err": "bad seconds"}
{"cmd-err": "bad zone value"}
Tracer Commands
There are 4 commands for interacting with the trace function. It is
possible to start, stop, or pause the tracer and to request the status.