25 efiPrintf(
"TS: Version Mismatch? Too much outputs requested offset=%d + count=%d/total=%d",
offset,
count,
26 TS_TOTAL_OUTPUT_SIZE);
27 sendErrorCode(tsChannel, TS_RESPONSE_OUT_OF_RANGE,
"cmd_size");
31 if (
offset < BLOCKING_FACTOR) {
40 uint8_t * scratchBuffer = (uint8_t *)tsChannel->
scratchBuffer;
TunerStudioOutputChannels outputChannels
void crcAndWriteBuffer(const uint8_t responseCode, const size_t size)
char scratchBuffer[scratchBuffer_SIZE+30]
void assertPacketSize(size_t size, bool allowLongPackets)
void sendErrorCode(TsChannelBase *tsChannel, uint8_t code, const char *msg="")
void cmdOutputChannels(TsChannelBase *tsChannel, uint16_t offset, uint16_t count) override
'Output' command sends out a snapshot of current values Gauges refresh
static EngineAccessor engine
FragmentList getLiveDataFragments()
uint32_t outputRequestPeriod
int outputChannelsCommandCounter
tunerstudio_counters_s tsState
void updateTunerStudioState()
static Timer channelsRequestTimer
int getSecondsSinceChannelsRequest()