Full Optimized – High Speed #4818
This commit is contained in:
parent
e9a4f71b8c
commit
c057834575
|
@ -212,6 +212,10 @@ void TunerStudio::handleCrc32Check(TsChannelBase *tsChannel, ts_response_format_
|
||||||
tsChannel->sendResponse(mode, (const uint8_t *) &crc, 4);
|
tsChannel->sendResponse(mode, (const uint8_t *) &crc, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TunerStudio::handleScatteredReadCommand(TsChannelBase* tsChannel) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 'Write' command receives a single value at a given offset
|
* 'Write' command receives a single value at a given offset
|
||||||
* @note Writing values one by one is pretty slow
|
* @note Writing values one by one is pretty slow
|
||||||
|
@ -658,6 +662,9 @@ int TunerStudio::handleCrcCommand(TsChannelBase* tsChannel, char *data, int inco
|
||||||
handleWriteValueCommand(tsChannel, TS_CRC, offset, value);
|
handleWriteValueCommand(tsChannel, TS_CRC, offset, value);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case TS_GET_SCATTERED_GET_COMMAND:
|
||||||
|
handleScatteredReadCommand(tsChannel);
|
||||||
|
break;
|
||||||
case TS_CRC_CHECK_COMMAND:
|
case TS_CRC_CHECK_COMMAND:
|
||||||
handleCrc32Check(tsChannel, TS_CRC, offset, count);
|
handleCrc32Check(tsChannel, TS_CRC, offset, count);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -38,6 +38,7 @@ public:
|
||||||
void handleCrc32Check(TsChannelBase *tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count);
|
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 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 handlePageReadCommand(TsChannelBase* tsChannel, ts_response_format_e mode, uint16_t offset, uint16_t count);
|
||||||
|
void handleScatteredReadCommand(TsChannelBase* tsChannel);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void sendErrorCode(TsChannelBase* tsChannel, uint8_t code);
|
void sendErrorCode(TsChannelBase* tsChannel, uint8_t code);
|
||||||
|
|
Loading…
Reference in New Issue