Home Forums Support create a server to communicate with the hardware. Reply To: create a server to communicate with the hardware.

#2954
Anonymous
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