Page 1 of 1

TDC-38 Official - protocols.ini entry

Posted: Mon Dec 09, 2019 5:41 pm
by The Robman
Is the entry for this executor correct? It appears that the LSB of the sub-device code falls outside of the fixed data, so 2 different sub-device codes result in the same hex code (ie, 10 and 11 are the same, likewise for 12 and 13, etc).

Posted: Tue Dec 10, 2019 4:27 am
by mathdon
Rob, you need to look at the translators in the protocols.ini entry to see what is going on. There is the line

Code: Select all

CmdTranslator=TranslatorFromDev(1,1,0) Translator(0,7,1)
which shows that the LSB of the sub-device is encoded in the variable byte, not the fixed bytes.

Posted: Tue Dec 10, 2019 7:26 am
by The Robman
Ah, good to know. I've been reading protocols.ini a LOT recently but I missed that line.