Examples of Tpm2Serial


Examples of com.neophob.sematrix.core.output.tpm2.Tpm2Serial

    //HINT: on windows you need to (for example) use COM1, com1 will not work! (case sensitive)
    String serialPort = OutputHelper.getSerialPortName(ph.getTpm2Device().toUpperCase());
    this.initialized = false;
    this.supportConnectionState = true;
    try {
      tpm2 = new Tpm2Serial(serialPort, baud);
      this.initialized = true;
     
      LOG.log(Level.INFO, "Initialized TPM2 serial device v{0}, target port: {1}, Resolution: {2}/{3}"
          new Object[] { VERSION, serialPort, this.matrixData.getDeviceXSize(), this.matrixData.getDeviceYSize()}
      );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.