private static LogEntry logEntryFromV1ByteFormat(byte[] b, int os)
	{
		LogEntry le = new LogEntry();
		int pressureRaw = TypeConverter.bytesToSignedShort(b[os + 0], b[os + 1]);
		int temperatureRaw = TypeConverter.byteToUnsignedByte(b[os + 2]);
		int batteryRaw = TypeConverter.byteToUnsignedByte(b[os + 3]);
		int servoRaw = TypeConverter.byteToUnsignedByte(b[os + 4]);
		// look out for empty entry
		if ( (pressureRaw == -1) && (temperatureRaw == 255) && (batteryRaw == 255) )
		{
			le.pressure = -1;
			le.temperature = -1;
			le.battery = -1;
			le.servo = -1;
		} else {
			le.pressure = (int)pressureRaw + 101325;
			le.temperature = ((temperatureRaw * 2.5) - 150.0) / 10.0;
			le.battery = 2.0 + (0.05 * (double)batteryRaw);
			if (servoRaw == 0) le.servo = 0;
			else le.servo = ((int)servoRaw * 8) + 500;
		}
		return le;
	}