TS: implement getCommand that have no params and request all livedata (#7039)
But until ochBlockSize is bigger than blockingFactor TS will not use this command and prefer ochGetCommand.
This commit is contained in:
parent
ccbf45808a
commit
499801ceb9
|
@ -742,6 +742,11 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco
|
|||
}
|
||||
cmdOutputChannels(tsChannel, offset, count);
|
||||
break;
|
||||
case TS_OUTPUT_ALL_COMMAND:
|
||||
offset = 0;
|
||||
count = TS_TOTAL_OUTPUT_SIZE;
|
||||
cmdOutputChannels(tsChannel, offset, count);
|
||||
break;
|
||||
case TS_HELLO_COMMAND:
|
||||
tunerStudioDebug(tsChannel, "got Query command");
|
||||
handleQueryCommand(tsChannel, TS_CRC);
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
! These commands are used by TunerStudio and the rusEFI console
|
||||
! 0x4F ochGetCommand
|
||||
#define TS_OUTPUT_COMMAND 'O'
|
||||
! getCommand
|
||||
#define TS_OUTPUT_ALL_COMMAND 'A'
|
||||
! 0x53 queryCommand - this one is about detailed signature
|
||||
#define TS_HELLO_COMMAND 'S'
|
||||
! todo: replace all usages of TS_HELLO_COMMAND with TS_QUERY_COMMAND
|
||||
|
|
|
@ -187,6 +187,9 @@ enable2ndByteCanID = false
|
|||
;
|
||||
; in order to add new TunerStudio data point you need to change one of *.txt files mentioned in LiveData.yaml
|
||||
;
|
||||
[BurstMode]
|
||||
getCommand = "A"
|
||||
|
||||
[OutputChannels]
|
||||
|
||||
ochGetCommand = "O%2o%2c"
|
||||
|
|
Loading…
Reference in New Issue