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 | |
void | handleQueryCommand (TsChannelBase *tsChannel, ts_response_format_e mode) |
void | handleExecuteCommand (TsChannelBase *tsChannel, char *data, int incomingPacketSize) |
void | handleWriteChunkCommand (TsChannelBase *tsChannel, uint16_t page, uint16_t offset, uint16_t count, void *content) |
void | handleCrc32Check (TsChannelBase *tsChannel, uint16_t offset, uint16_t count) |
void | handlePageReadCommand (TsChannelBase *tsChannel, uint16_t page, uint16_t offset, uint16_t count) |
void | handleScatteredReadCommand (TsChannelBase *tsChannel) |
Private Member Functions | |
void | sendErrorCode (TsChannelBase *tsChannel, uint8_t code, const char *msg="") |
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 40 of file tunerstudio_commands.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handleCrc32Check | ( | TsChannelBase * | tsChannel, |
uint16_t | offset, | ||
uint16_t | count | ||
) |
Definition at line 247 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
int TunerStudio::handleCrcCommand | ( | TsChannelBase * | tsChannel, |
char * | data, | ||
int | incomingPacketSize | ||
) |
Definition at line 699 of file tunerstudio.cpp.
Referenced by tsProcessOne().
void TunerStudio::handleExecuteCommand | ( | TsChannelBase * | tsChannel, |
char * | data, | ||
int | incomingPacketSize | ||
) |
Definition at line 688 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handlePageReadCommand | ( | TsChannelBase * | tsChannel, |
uint16_t | page, | ||
uint16_t | offset, | ||
uint16_t | count | ||
) |
Definition at line 325 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 465 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 452 of file tunerstudio.cpp.
Referenced by handleCrcCommand(), and handlePlainCommand().
void TunerStudio::handleScatteredReadCommand | ( | TsChannelBase * | tsChannel | ) |
Definition at line 280 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handleWriteChunkCommand | ( | TsChannelBase * | tsChannel, |
uint16_t | page, | ||
uint16_t | offset, | ||
uint16_t | count, | ||
void * | content | ||
) |
This command is needed to make the whole transfer a bit faster
Definition at line 214 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
|
private |
Definition at line 193 of file tunerstudio.cpp.
Referenced by cmdOutputChannels(), handleCrc32Check(), handleCrcCommand(), handlePageReadCommand(), handleWriteChunkCommand(), and sendErrorCode().