PCAN-Router Pro FD – User Manual
52
Command List
All following commands require an established WebSocket
connection.
In case of an error, a response with
cmd-err
and a corresponding
error message is returned.
Error:
{"cmd-err": "command not evaluated"}
System Information
This command returns system information like the part number,
details about the installed firmware and bootloader, the FPGA
revision, the MAC address, the hardware version, and the set date
and time.
Request:
{"sys-cmd-get": "sys-infos"}
Response:
{"product-ipeh" : "IPEH-002220",
"fw-kind" : "can-data-logger",
"fw-version" : "1.1.0.11",
"bl-version" : "2.0.11",
"fpga-version" : "10",
"pcb-version" : "5",
"mac-addr" : "F0-73-AE-00-70-00",
"datetime" : "2021-06-15 13:40:00-0100"}
The displayed line breaks are not part of the response string.
Hardware Reboot
This command initiates a reboot after the indicated time in milli-
seconds. The command is not executed if the tracer is running.
After a successful reboot, the RTC and config.txt are read in.
Modifications of the configuration file take effect.