REO progress

This commit is contained in:
rusefi 2020-06-20 18:36:58 -04:00
parent 89e76ab306
commit 35e68da3b0
6 changed files with 6 additions and 4 deletions

View File

@ -1289,6 +1289,7 @@
#define TS_PAGE_COMMAND 'P'
#define TS_PERF_TRACE_BEGIN 'r'
#define TS_PERF_TRACE_GET_BUFFER 'b'
#define TS_PROTOCOL "001"
#define TS_READ_COMMAND 'R'
#define TS_SET_LOGGER_SWITCH 'l'
#define ts_show_analog_divider true

View File

@ -740,7 +740,7 @@ bool handlePlainCommand(ts_channel_s *tsChannel, uint8_t command) {
*/
tunerStudioDebug("not ignoring F");
sr5WriteData(tsChannel, (const uint8_t *) PROTOCOL, strlen(PROTOCOL));
sr5WriteData(tsChannel, (const uint8_t *) TS_PROTOCOL, strlen(TS_PROTOCOL));
return true;
} else {
// This wasn't a valid command

View File

@ -14,8 +14,6 @@
#include "pin_repository.h"
#endif
#define PROTOCOL "001"
#define TS_RESPONSE_OK 0x00
#define TS_RESPONSE_BURN_OK 0x04
#define TS_RESPONSE_COMMAND_OK 0x07

View File

@ -1289,6 +1289,7 @@
#define TS_PAGE_COMMAND 'P'
#define TS_PERF_TRACE_BEGIN 'r'
#define TS_PERF_TRACE_GET_BUFFER 'b'
#define TS_PROTOCOL "001"
#define TS_READ_COMMAND 'R'
#define TS_SET_LOGGER_SWITCH 'l'
#define ts_show_analog_divider true

View File

@ -1577,6 +1577,7 @@ end_struct
#define PROTOCOL_WA_CHANNEL_4 "input4"
#define TS_PROTOCOL "001"
// These commands are used by TunerStudio and the rusEfi console
// 0x4F ochGetCommand
#define TS_OUTPUT_COMMAND 'O'

View File

@ -1,6 +1,6 @@
package com.rusefi.config.generated;
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Fri Jun 19 00:15:35 EDT 2020
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.sh integration/rusefi_config.txt Sat Jun 20 18:31:24 EDT 2020
// by class com.rusefi.output.FileJavaFieldsConsumer
import com.rusefi.config.*;
@ -1269,6 +1269,7 @@ public class Fields {
public static final char TS_PAGE_COMMAND = 'P';
public static final char TS_PERF_TRACE_BEGIN = 'r';
public static final char TS_PERF_TRACE_GET_BUFFER = 'b';
public static final String TS_PROTOCOL = "001";
public static final char TS_READ_COMMAND = 'R';
public static final char TS_SET_LOGGER_SWITCH = 'l';
public static final String TS_SIGNATURE = "rusEFI v1.2020.4";