private bool isValidLength(int length, int id)
{
int idstrip = id / 256;
if (idstrip == 0xEB || idstrip == 0xDC)
{
if (length > 0 && length <= 32) return true;
}
else
{
if (length > 0 && length < 32) return true;
//else if (length >= 32 && length <= 64) Console.WriteLine("id: " + id.ToString("X4") + " len " + length.ToString());
}
return false;
}