So I need to parse a bytestrem based on the following
[OutputChannels]
; The number of bytes MegaTune should expect as a result
deadValue = { 0 } ; Convenient unchanging value.
ochBlockSize = 56
ochGetCommand = "A"
secl = scalar, U08, 0, "sec", 1.000, 0.000
squirt = scalar, U08, 1, "bits", 1.000, 0.000
engine = scalar, U08, 2, "bits", 1.000, 0.000
barometer = scalar, U08, 3, "ADC", 1.000, 0.000
mapADC = scalar, U16, 4, "Pa", 1.000, 0.000
matADC = scalar, U08, 6, "ADC", 1.000, 0.000
cltADC = scalar, U08, 7, "ADC", 1.000, 0.000
tpsADC = scalar, U08, 8, "ADC", 1.000, 0.000
batADC = scalar, U08, 9, "ADC", 1.000, 0.000
egoADC = scalar, U08, 10, "ADC", 1.000, 0.000
egoCorrection = scalar, U08, 11, "%", 1.000, 0.000
airCorrection = scalar, U08, 12, "%", 1.000, 0.000
warmupEnrich = scalar, U08, 13, "%", 1.000, 0.000
rpmVHR = scalar, U16 14, "rpm", 1.000, 0.000
pulseWidth = scalar, U08, 16, "ms", 0.100, 0.000
accelEnrich = scalar, U08, 17, "%", 1.000, 0.000
baroCorrection = scalar, U08, 18, "%", 1.000, 0.000
gammaEnrich = scalar, U08, 19, "%", 1.000, 0.000
veCurr = scalar, U08, 20, "%", 1.000, 0.000
INTdwell = scalar, U08, 21, "mS", 1.000, 0.000
INTspark = scalar, U08, 22, "", 1.000, 0.000
iacPos = scalar, U08, 23, "%", 1.000, 0.000
egt1ADC = scalar, U16, 24, "Deg", 1.000, 0.000
egt2ADC = scalar, U16, 26, "Deg", 1.000, 0.000
ebpADC = scalar, U16, 28, "Deg", 1.000, 0.000
fpADC = scalar, U16, 30, "Deg", 1.000, 0.000
misc1ADC = scalar, U16, 32, "Deg", 1.000, 0.000
misc2ADC = scalar, U16, 34, "Deg", 1.000, 0.000
misc3ADC = scalar, U16, 36, "Deg", 1.000, 0.000
misc4ADC = scalar, U16, 38, "Deg", 1.000, 0.000
latgtADC = scalar, U08, 40, "", 1.000, 0.000
knock_cyl_0_knock_val =scalar, U16, 41, "", 1.000, 0.000
knock_cyl_0_noise_val =scalar, U16, 43, "", 1.000, 0.000
knock_cyl_0_adjust =scalar, U08, 45, "Deg", 0.250, 0.000
knock_cyl_0_state = scalar, U08, 46, "", 1.000, 0.000
status1 = scalar, U08, 47, "", 1.000, 0.000
; boost_tgt >> 5 means mult with 4 for "real" boost target (take care >> 5 massive rounding errors)
boost_tgt = scalar, U08, 48, "kPa", 4.000, 0.000
boost_dc = scalar, U08, 49, "%", 1.000, 0.000
boost_integral = scalar, S08, 50, "", 1.000, 0.000
iac_integral = scalar, S08, 51, "", 1.000, 0.000