rusEFI
The most advanced open source ECU
|
#include <tunerstudio_impl.h>
Public Member Functions | |
int | handleCrcCommand (TsChannelBase *tsChannel, char *data, int incomingPacketSize) |
bool | handlePlainCommand (TsChannelBase *tsChannel, uint8_t command) |
void | cmdOutputChannels (TsChannelBase *tsChannel, uint16_t offset, uint16_t count) override |
'Output' command sends out a snapshot of current values Gauges refresh More... | |
void | handleQueryCommand (TsChannelBase *tsChannel, ts_response_format_e mode) |
void | handleExecuteCommand (TsChannelBase *tsChannel, char *data, int incomingPacketSize) |
void | handlePageSelectCommand (TsChannelBase *tsChannel, ts_response_format_e mode) |
void | handleWriteChunkCommand (TsChannelBase *tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count, void *content) |
void | handleCrc32Check (TsChannelBase *tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count) |
void | handleWriteValueCommand (TsChannelBase *tsChannel, ts_response_format_e mode, uint16_t offset, uint8_t value) |
void | handlePageReadCommand (TsChannelBase *tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count) |
void | handleScatteredReadCommand (TsChannelBase *tsChannel) |
Private Member Functions | |
void | sendErrorCode (TsChannelBase *tsChannel, uint8_t code) |
Additional Inherited Members |
Definition at line 23 of file tunerstudio_impl.h.
|
overridevirtual |
'Output' command sends out a snapshot of current values Gauges refresh
collect data from all models
Implements TunerStudioBase.
Definition at line 46 of file tunerstudio_commands.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handleCrc32Check | ( | TsChannelBase * | tsChannel, |
ts_response_format_e | mode, | ||
uint16_t | offset, | ||
uint16_t | count | ||
) |
Definition at line 205 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
int TunerStudio::handleCrcCommand | ( | TsChannelBase * | tsChannel, |
char * | data, | ||
int | incomingPacketSize | ||
) |
Definition at line 680 of file tunerstudio.cpp.
Referenced by tsProcessOne().
void TunerStudio::handleExecuteCommand | ( | TsChannelBase * | tsChannel, |
char * | data, | ||
int | incomingPacketSize | ||
) |
Definition at line 669 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handlePageReadCommand | ( | TsChannelBase * | tsChannel, |
ts_response_format_e | mode, | ||
uint16_t | offset, | ||
uint16_t | count | ||
) |
Definition at line 308 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handlePageSelectCommand | ( | TsChannelBase * | tsChannel, |
ts_response_format_e | mode | ||
) |
Definition at line 166 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
bool TunerStudio::handlePlainCommand | ( | TsChannelBase * | tsChannel, |
uint8_t | command | ||
) |
handle non CRC wrapped command
http://www.msextra.com/forums/viewtopic.php?f=122&t=48327 Response from TS support: This is an optional command * "The F command is used to find what ini. file needs to be loaded in TunerStudio to match the controller. If you are able to just make your firmware ignore the command that would work. Currently on some firmware versions the F command is not used and is just ignored by the firmware as a unknown command."
Definition at line 449 of file tunerstudio.cpp.
Referenced by tsProcessOne().
void TunerStudio::handleQueryCommand | ( | TsChannelBase * | tsChannel, |
ts_response_format_e | mode | ||
) |
this command is part of protocol initialization
this command is part of protocol initialization
Query with CRC takes place while re-establishing connection Query without CRC takes place on TunerStudio startup
Definition at line 434 of file tunerstudio.cpp.
Referenced by handleCrcCommand(), and handlePlainCommand().
void TunerStudio::handleScatteredReadCommand | ( | TsChannelBase * | tsChannel | ) |
Definition at line 235 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handleWriteChunkCommand | ( | TsChannelBase * | tsChannel, |
ts_response_format_e | mode, | ||
uint16_t | offset, | ||
uint16_t | count, | ||
void * | content | ||
) |
This command is needed to make the whole transfer a bit faster
Definition at line 180 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handleWriteValueCommand | ( | TsChannelBase * | tsChannel, |
ts_response_format_e | mode, | ||
uint16_t | offset, | ||
uint8_t | value | ||
) |
'Write' command receives a single value at a given offset
Definition at line 284 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
|
private |
Definition at line 162 of file tunerstudio.cpp.
Referenced by cmdOutputChannels(), handleCrcCommand(), handlePageReadCommand(), handleWriteChunkCommand(), and handleWriteValueCommand().