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) |
void | handleWriteChunkCommand (TsChannelBase *tsChannel, uint16_t offset, uint16_t count, void *content) |
void | handleCrc32Check (TsChannelBase *tsChannel, uint16_t offset, uint16_t count) |
void | handleWriteValueCommand (TsChannelBase *tsChannel, uint16_t offset, uint8_t value) |
void | handlePageReadCommand (TsChannelBase *tsChannel, 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 46 of file tunerstudio_commands.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handleCrc32Check | ( | TsChannelBase * | tsChannel, |
uint16_t | offset, | ||
uint16_t | count | ||
) |
Definition at line 236 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
int TunerStudio::handleCrcCommand | ( | TsChannelBase * | tsChannel, |
char * | data, | ||
int | incomingPacketSize | ||
) |
Definition at line 712 of file tunerstudio.cpp.
Referenced by tsProcessOne().
void TunerStudio::handleExecuteCommand | ( | TsChannelBase * | tsChannel, |
char * | data, | ||
int | incomingPacketSize | ||
) |
Definition at line 701 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handlePageReadCommand | ( | TsChannelBase * | tsChannel, |
uint16_t | offset, | ||
uint16_t | count | ||
) |
Definition at line 339 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handlePageSelectCommand | ( | TsChannelBase * | tsChannel | ) |
Definition at line 195 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 478 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 465 of file tunerstudio.cpp.
Referenced by handleCrcCommand(), and handlePlainCommand().
void TunerStudio::handleScatteredReadCommand | ( | TsChannelBase * | tsChannel | ) |
Definition at line 267 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handleWriteChunkCommand | ( | TsChannelBase * | tsChannel, |
uint16_t | offset, | ||
uint16_t | count, | ||
void * | content | ||
) |
This command is needed to make the whole transfer a bit faster
Definition at line 211 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
void TunerStudio::handleWriteValueCommand | ( | TsChannelBase * | tsChannel, |
uint16_t | offset, | ||
uint8_t | value | ||
) |
'Write' command receives a single value at a given offset
Definition at line 316 of file tunerstudio.cpp.
Referenced by handleCrcCommand().
|
private |
Definition at line 191 of file tunerstudio.cpp.
Referenced by cmdOutputChannels(), handleCrcCommand(), handlePageReadCommand(), handleWriteChunkCommand(), and handleWriteValueCommand().