if ((buf[0] >> 4) == 0 // Single frame ... if ((buf[0] >> 4) == 0x01 // First Frame ... if ((buf[0] >> 4) == 0x02 // Consecutive Frame