2024-07-13 15:20:47 -07:00
|
|
|
! 0x52 82
|
|
|
|
#define TS_READ_COMMAND 'R'
|
|
|
|
! 0x47
|
|
|
|
#define TS_GET_TEXT 'G'
|
|
|
|
! 0x45
|
|
|
|
#define TS_EXECUTE 'E'
|
|
|
|
#define TS_ONLINE_PROTOCOL 'z'
|
|
|
|
! 0x34
|
|
|
|
#define TS_GET_OUTPUTS_SIZE '4'
|
|
|
|
#define TS_GET_COMPOSITE_BUFFER_DONE_DIFFERENTLY '8'
|
|
|
|
#define TS_GET_SCATTERED_GET_COMMAND '9'
|
|
|
|
|
|
|
|
#define TS_QUERY_BOOTLOADER 'L'
|
|
|
|
|
|
|
|
#define TS_QUERY_BOOTLOADER_NONE 0
|
|
|
|
#define TS_QUERY_BOOTLOADER_OPENBLT 1
|
|
|
|
|
|
|
|
! Performance tracing
|
|
|
|
#define TS_PERF_TRACE_BEGIN '_'
|
|
|
|
#define TS_PERF_TRACE_GET_BUFFER 'b'
|
|
|
|
|
|
|
|
! knock analyzer
|
|
|
|
#define TS_KNOCK_SPECTROGRAM_ENABLE 'm'
|
|
|
|
#define TS_KNOCK_SPECTROGRAM_DISABLE 'n'
|
2024-07-13 14:37:34 -07:00
|
|
|
! 0x57 pageValueWrite
|
|
|
|
#define TS_SINGLE_WRITE_COMMAND 'W'
|
|
|
|
! 0x43 pageChunkWrite
|
|
|
|
#define TS_CHUNK_WRITE_COMMAND 'C'
|
|
|
|
|
|
|
|
! These commands are used exclusively by the rusEFI console
|
|
|
|
! 0x74
|
|
|
|
#define TS_TEST_COMMAND 't'
|
|
|
|
|
|
|
|
! High speed logger commands
|
|
|
|
#define TS_SET_LOGGER_SWITCH 'l'
|
2024-07-13 19:24:40 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define CMD_SET_SENSOR_MOCK "set_sensor_mock"
|
|
|
|
#define CMD_RESET_SENSOR_MOCKS "reset_sensor_mocks"
|
|
|
|
#define CMD_RESET_SIMULATOR "reset_simulator"
|
|
|
|
#define CMD_SET "set"
|
|
|
|
#define CMD_GET "get"
|
|
|
|
#define CMD_ENGINESNIFFERRPMTHRESHOLD "engineSnifferRpmThreshold"
|
|
|
|
#define CMD_INDIVIDUAL_INJECTION "set_individual_coils_ignition"
|
|
|
|
#define CMD_MIL_BENCH "milbench"
|
|
|
|
#define CMD_FUEL_BENCH "fuelbench"
|
|
|
|
#define CMD_FUEL_PUMP_BENCH "fuelpumpbench"
|
|
|
|
#define CMD_IDLE_BENCH "idlebench"
|
|
|
|
#define CMD_SPARK_BENCH "sparkbench"
|
|
|
|
#define CMD_STARTER_BENCH "starterbench"
|
|
|
|
#define CMD_HPFP_BENCH "hpfpbench"
|
|
|
|
#define CMD_AC_RELAY_BENCH "acrelaybench"
|
|
|
|
#define CMD_FAN_BENCH "fanbench"
|
|
|
|
#define CMD_FAN2_BENCH "fan2bench"
|
|
|
|
#define CMD_PINS "pins"
|
|
|
|
#define CMD_ETB_DUTY "set_etb_duty"
|
|
|
|
#define CMD_SELF_STIMULATION "self_stimulation"
|
|
|
|
#define CMD_EXTERNAL_STIMULATION "ext_stimulation"
|
|
|
|
#define CMD_RPM "rpm"
|
|
|
|
#define CMD_VSS_PIN "vss_pin"
|
|
|
|
#define CMD_TRIGGER_PIN "set_trigger_input_pin"
|
|
|
|
#define CMD_LOGIC_PIN "set_logic_input_pin"
|
|
|
|
#define CMD_ALTERNATOR_PIN "set_alternator_pin"
|
|
|
|
#define CMD_IDLE_PIN "set_idle_pin"
|
|
|
|
#define CMD_BOOST_PIN "set_boost_pin"
|
|
|
|
#define CMD_TRIGGER_SIMULATOR_PIN "set_trigger_simulator_pin"
|
|
|
|
#define CMD_IGNITION_PIN "set_ignition_pin"
|
|
|
|
#define CMD_INJECTION_PIN "set_injection_pin"
|
|
|
|
|
|
|
|
#define CMD_RESET_ENGINE_SNIFFER "reset_engine_chart"
|
|
|
|
#define CMD_FUNCTIONAL_TEST_MODE "test_mode"
|
|
|
|
|
|
|
|
#define CMD_ECU_UNLOCK "unlock"
|
|
|
|
#define CMD_ENGINE_TYPE "engine_type"
|
|
|
|
#define CMD_INJECTION "injection"
|
|
|
|
#define CMD_IGNITION "ignition"
|
|
|
|
#define CMD_PWM "pwm"
|
|
|
|
#define CMD_TRIGGERINFO "triggerinfo"
|
|
|
|
#define CMD_WRITECONFIG "writeconfig"
|
|
|
|
#define CMD_BURNCONFIG "burnconfig"
|
|
|
|
#define CMD_DATE "date"
|
|
|
|
#define CMD_REBOOT "reboot"
|
|
|
|
#define CMD_REBOOT_DFU "reboot_dfu"
|
|
|
|
#define CMD_REBOOT_OPENBLT "reboot_openblt"
|
|
|
|
#define CMD_ENABLE "enable"
|
|
|
|
#define CMD_DISABLE "disable"
|
|
|
|
#define CMD_TRIGGER_HW_INPUT "trigger_hw_input"
|