This commit is contained in:
rusEfi 2018-04-01 23:38:34 -04:00
parent 96da03ccd2
commit bb8d34b834
1 changed files with 12 additions and 0 deletions

View File

@ -32,11 +32,23 @@ typedef struct {
int testCommandCounter; int testCommandCounter;
} tunerstudio_counters_s; } tunerstudio_counters_s;
/**
* handle non CRC wrapped command
*/
bool handlePlainCommand(ts_channel_s *tsChannel, uint8_t command); bool handlePlainCommand(ts_channel_s *tsChannel, uint8_t command);
int tunerStudioHandleCrcCommand(ts_channel_s *tsChannel, char *data, int incomingPacketSize); int tunerStudioHandleCrcCommand(ts_channel_s *tsChannel, char *data, int incomingPacketSize);
/**
* rusEfi own test command
*/
void handleTestCommand(ts_channel_s *tsChannel); void handleTestCommand(ts_channel_s *tsChannel);
/**
* this command is part of protocol initialization
*/
void handleQueryCommand(ts_channel_s *tsChannel, ts_response_format_e mode); void handleQueryCommand(ts_channel_s *tsChannel, ts_response_format_e mode);
/**
* Gauges refresh
*/
void handleOutputChannelsCommand(ts_channel_s *tsChannel, ts_response_format_e mode); void handleOutputChannelsCommand(ts_channel_s *tsChannel, ts_response_format_e mode);
char *getWorkingPageAddr(int pageIndex); char *getWorkingPageAddr(int pageIndex);