def METHOD_NAME(self) -> int:
    n = self.handle.write([0, 63] + [0xFF] * 63)
    if n == 65:
        return 2
    n = self.handle.write([63] + [0xFF] * 63)
    if n == 64:
        return 1
    raise TransportException("Unknown HID version")