14 return TOTAL_CONFIG_SIZE;
21 efiPrintf(
"TS: Project mismatch? Too much configuration requested %d/%d", offset, count);
47 if (offset + count > TS_TOTAL_OUTPUT_SIZE) {
48 efiPrintf(
"TS: Version Mismatch? Too much outputs requested offset=%d + count=%d/total=%d", offset, count,
54 if (offset < BLOCKING_FACTOR) {
63 uint8_t * scratchBuffer = (uint8_t *)tsChannel->
scratchBuffer;
TunerStudioOutputChannels outputChannels
void crcAndWriteBuffer(const uint8_t responseCode, const size_t size)
char scratchBuffer[BLOCKING_FACTOR+30]
void assertPacketSize(size_t size, bool allowLongPackets)
void cmdOutputChannels(TsChannelBase *tsChannel, uint16_t offset, uint16_t count) override
'Output' command sends out a snapshot of current values Gauges refresh
void sendErrorCode(TsChannelBase *tsChannel, uint8_t code)
FragmentList getLiveDataFragments()
uint32_t outputRequestPeriod
int outputChannelsCommandCounter
void sendErrorCode(TsChannelBase *tsChannel, uint8_t code)
tunerstudio_counters_s tsState
void tunerStudioError(TsChannelBase *tsChannel, const char *msg)
void updateTunerStudioState()
static Timer channelsRequestTimer
static constexpr size_t getTunerStudioPageSize()
bool validateOffsetCount(size_t offset, size_t count, TsChannelBase *tsChannel)
bool rebootForPresetPending
int getSecondsSinceChannelsRequest()