Show cams in TS trigger logger #2496

oops
This commit is contained in:
rusefillc 2022-11-14 23:42:10 -05:00
parent 499b7a0264
commit d25f37ea0e
3 changed files with 5 additions and 5 deletions

View File

@ -2046,8 +2046,6 @@ end_struct
#define TS_CRC_CHECK_COMMAND 'k'
! 0x52 82
#define TS_READ_COMMAND 'R'
#define TS_LOGGER_CONTROL 'l'
#define TS_LOGGER_READ 'L'
! 0x47
#define TS_GET_TEXT 'G'
! 0x45

View File

@ -111,9 +111,9 @@ enable2ndByteCanID = false
[LoggerDefinition]
; valid logger types: composite, tooth, trigger, csv
loggerDef = compositeLogger, "Trigger Logger", composite
startCommand = "@#TS_LOGGER_CONTROL#@\x01"
stopCommand = "@#TS_LOGGER_CONTROL#@\x02"
dataReadCommand = "@#TS_LOGGER_READ#@"
startCommand = "@#TS_SET_LOGGER_SWITCH#@\x01"
stopCommand = "@#TS_SET_LOGGER_SWITCH#@\x02"
dataReadCommand = "@#TS_GET_LOGGER_GET_BUFFER#@"
dataReadTimeout = 10000 ; time in ms
dataReadyCondition = { toothLogReady }
continuousRead = true

View File

@ -98,6 +98,8 @@ public class TcpServerSandbox {
stream.sendPacket(TS_OK.getBytes());
} else if (command == Fields.TS_CRC_CHECK_COMMAND) {
stream.sendPacket(BinaryProtocolServer.createCrcResponse(TOTALLY_EMPTY_CONFIGURATION));
} else if (command == Fields.TS_SET_LOGGER_SWITCH) {
} else if (command == Fields.TS_GET_LOGGER_GET_BUFFER) {
} else if (command == Fields.TS_OUTPUT_COMMAND) {
byte[] response = getOutputCommandResponse(payload, ecuState.outputs);
stream.sendPacket(response);