tbf/TBF/Rig/RegisterReaders/iPerlASICReader/communication/C4/hexLogger/TouchReadControlDecoder.cs

16 lines
450 B
C#

namespace TBF.Rig.RegisterReaders.iPerlASICReader.communication.C4.hexLogger
{
public static class TouchReadControlDecoder
{
public static string Describe(byte control)
{
if (control == 0x00)
return "RF=0 (No response expected)";
if (control == 0x08)
return "RF=1 (Response expected)";
return "INVALID CONTROL BITS (unsupported pattern)";
}
}
}