Home › Forums › Support › create a server to communicate with the hardware. › Reply To: create a server to communicate with the hardware.
August 18, 2014 at 21:50
#2954
Inactive
You need to convert the incoming byte array into a hex string. You could use a function like this:
public static string ByteArrayToString(byte[] ba)
{
string hex = BitConverter.ToString(ba);
return hex.Replace("-","");
}
And then check to see if the incoming bytes match what you are looking for.
Regards,
Marc
