com.amarula.rp1600.sdk.rfid

## Class RfidPort

- java.lang.Object
- - com.amarula.rp1600.sdk.util.SerialPort
  - - com.amarula.rp1600.sdk.rfid.RfidPort

-     public class RfidPort
      extends SerialPort

  Serial Port Extension that handle RFID power supply on open/close

- - ### Field Summary

    - ### Fields inherited from class com.amarula.rp1600.sdk.util.SerialPort

      `mFd`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RfidPort()`
    `RfidPort(int baudrate, int poflag)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `close()` Close a previously opened file descriptor
    `int` | `close(int poflag)`
    `int` | `RfidChangeBaudrate(int baudrate)`

    - ### Methods inherited from class com.amarula.rp1600.sdk.util.SerialPort

      `open, read, read, readln, setRTS, version, write`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RfidPort

          public RfidPort()
                   throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### RfidPort

          public RfidPort(int baudrate,
                          int poflag)
                   throws java.io.IOException

      Throws:
        `java.io.IOException`

  - ### Method Detail

    - #### RfidChangeBaudrate

          public int RfidChangeBaudrate(int baudrate)
                                 throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### close

          public int close()

      Description copied from class: `SerialPort`
      Close a previously opened file descriptor
      Overrides:
        `close` in class `SerialPort`
      Returns:
        0 on success

    - #### close

          public int close(int poflag)