PassiveRcp

com.ad.rfid.passive

## 类 PassiveRcp

- java.lang.Object
- - com.ad.rfid.ADRcp
  - - com.ad.rfid.passive.PassiveRcp

-     public class PassiveRcp
      extends ADRcp

  Created by endyc on 2018-06-14.

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static byte` | `INDEX_ADDRESS`
    `static byte` | `INDEX_CODE`
    `static byte` | `INDEX_LENGTH`
    `static byte` | `INDEX_PAYLOAD`
    `static byte` | `INDEX_PREAMBLE`
    `static byte` | `INDEX_TYPE`
    `static byte` | `LEN_CHECKSUM`
    `static byte` | `LEN_ENDMARK`
    `static byte` | `LEN_PROTOCOL_MIN`
    `static byte` | `PREAMBLE`
    `static byte` | `PREAMBLE_UP`
    `static byte` | `RCP_CMD_CANBUS` CANBUS Hex:0xB8
    `static byte` | `RCP_CMD_EPC_APPOINT` EPC_APPOINT Hex:0x22
    `static byte` | `RCP_CMD_EPC_IDEN` EPC_IDEN Hex:0x10
    `static byte` | `RCP_CMD_EPC_KILL` EPC_KILL Hex:0x16
    `static byte` | `RCP_CMD_EPC_LOCK` EPC_LOCK Hex:0x14
    `static byte` | `RCP_CMD_EPC_MULT` EPC_MULT Hex:0x11
    `static byte` | `RCP_CMD_EPC_RW` EPC_RW Hex:0x12
    `static byte` | `RCP_CMD_EPC_UNLOCK` EPC_UNLOCK Hex:0x15
    `static byte` | `RCP_CMD_INFO` GET INFO Hex:0x82
    `static byte` | `RCP_CMD_INITSYRIS` Init Syris Address Hex:0x8D
    `static byte` | `RCP_CMD_ISO6B_IDEN` ISO6B_IDEN Hex:0x01
    `static byte` | `RCP_CMD_ISO6B_KILL` ISO6B_KILL Hex:0x06
    `static byte` | `RCP_CMD_ISO6B_LOCK` ISO6B_LOCK Hex:0x04
    `static byte` | `RCP_CMD_ISO6B_RW` ISO6B_RW Hex:0x02
    `static byte` | `RCP_CMD_ISO6B_UNLOCK` ISO6B_UNLOCK Hex:0x05
    `static byte` | `RCP_CMD_OUTCARD` SECRET Hex:0x31
    `static byte` | `RCP_CMD_PARA` PARA Hex:0x81
    `static byte` | `RCP_CMD_REMOTE` Remote Hex:0xBB
    `static byte` | `RCP_CMD_SECRET` SECRET Hex:0x30
    `static byte` | `RCP_CMD_SOFTRESET` SOFTRESET Hex:0x8F
    `static byte` | `RCP_CMD_SYRIS` Syris Hex:0xBA
    `static byte` | `RCP_CMD_TCPIP` TCPIP Hex:0xB9
    `static byte` | `RCP_CMD_TIME` TIME Hex:0x83
    `static byte` | `RCP_CMD_USBPARA` SOFTRESET Hex:0xBD
    `static byte` | `RCP_CMD_USBPOWER` SOFTRESET Hex:0xBC
    `static byte` | `RCP_CMD_WIFI_AP`
    `static byte` | `RCP_CMD_WIFI_DOWNLOAD`
    `static byte` | `RCP_CMD_WIFI_PUB`
    `static byte` | `RCP_CMD_WIFI_STA`
    `static byte` | `RCP_MSG_GET` Control identification code :get 0x32
    `static byte` | `RCP_MSG_SENIOR_GET` Control identification code :get 0x22
    `static byte` | `RCP_MSG_SENIOR_SET` Control identification code :set 0x21
    `static byte` | `RCP_MSG_SET` Control identification code :set 0x31

  - ### 构造器概要

    构造器
    构造器和说明
    `PassiveRcp()`
    `PassiveRcp(ADSio sio)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `byte[]` | `buildCmdPacketByte(byte nType, byte nCmd, byte[] ArgByte)` packet command data (打包命令数据)
    `byte[]` | `buildCmdPacketByte(int nAddr, byte nType, byte nCmd, byte[] ArgByte)` packet command data (打包命令数据)
    `void` | `dealPacketByte(ByteEventArg e)`

    - ### 从类继承的方法 com.ad.rfid.ADRcp

      `addOnProtocolListener, buildCmdPacketByte, connect, disConnect, getAddress, getDelay, getDeviceMode, getMode, getRcpReceivedPacket, getType, getVersion, isConnected, removeOnProtocolListener, sendBytePkt, sendBytePkt, setAddress, setDelay, setMode, setOnProtocolListener, setSio, setType, setVersion`

    - ### 从类继承的方法 java.lang.Object

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

- - ### 字段详细资料

    - #### PREAMBLE

          public static final byte PREAMBLE

      另请参阅:
        常量字段值

    - #### PREAMBLE_UP

          public static final byte PREAMBLE_UP

      另请参阅:
        常量字段值

    - #### INDEX_PREAMBLE

          public static final byte INDEX_PREAMBLE

      另请参阅:
        常量字段值

    - #### INDEX_ADDRESS

          public static final byte INDEX_ADDRESS

      另请参阅:
        常量字段值

    - #### INDEX_CODE

          public static final byte INDEX_CODE

      另请参阅:
        常量字段值

    - #### INDEX_TYPE

          public static final byte INDEX_TYPE

      另请参阅:
        常量字段值

    - #### INDEX_LENGTH

          public static final byte INDEX_LENGTH

      另请参阅:
        常量字段值

    - #### INDEX_PAYLOAD

          public static final byte INDEX_PAYLOAD

      另请参阅:
        常量字段值

    - #### LEN_ENDMARK

          public static final byte LEN_ENDMARK

      另请参阅:
        常量字段值

    - #### LEN_CHECKSUM

          public static final byte LEN_CHECKSUM

      另请参阅:
        常量字段值

    - #### LEN_PROTOCOL_MIN

          public static final byte LEN_PROTOCOL_MIN

      另请参阅:
        常量字段值

    - #### RCP_CMD_ISO6B_IDEN

          public static final byte RCP_CMD_ISO6B_IDEN

      ISO6B_IDEN Hex:0x01
      另请参阅:
        常量字段值

    - #### RCP_CMD_ISO6B_RW

          public static final byte RCP_CMD_ISO6B_RW

      ISO6B_RW Hex:0x02
      另请参阅:
        常量字段值

    - #### RCP_CMD_ISO6B_LOCK

          public static final byte RCP_CMD_ISO6B_LOCK

      ISO6B_LOCK Hex:0x04
      另请参阅:
        常量字段值

    - #### RCP_CMD_ISO6B_UNLOCK

          public static final byte RCP_CMD_ISO6B_UNLOCK

      ISO6B_UNLOCK Hex:0x05
      另请参阅:
        常量字段值

    - #### RCP_CMD_ISO6B_KILL

          public static final byte RCP_CMD_ISO6B_KILL

      ISO6B_KILL Hex:0x06
      另请参阅:
        常量字段值

    - #### RCP_CMD_EPC_IDEN

          public static final byte RCP_CMD_EPC_IDEN

      EPC_IDEN Hex:0x10
      另请参阅:
        常量字段值

    - #### RCP_CMD_EPC_MULT

          public static final byte RCP_CMD_EPC_MULT

      EPC_MULT Hex:0x11
      另请参阅:
        常量字段值

    - #### RCP_CMD_EPC_RW

          public static final byte RCP_CMD_EPC_RW

      EPC_RW Hex:0x12
      另请参阅:
        常量字段值

    - #### RCP_CMD_EPC_LOCK

          public static final byte RCP_CMD_EPC_LOCK

      EPC_LOCK Hex:0x14
      另请参阅:
        常量字段值

    - #### RCP_CMD_EPC_UNLOCK

          public static final byte RCP_CMD_EPC_UNLOCK

      EPC_UNLOCK Hex:0x15
      另请参阅:
        常量字段值

    - #### RCP_CMD_EPC_KILL

          public static final byte RCP_CMD_EPC_KILL

      EPC_KILL Hex:0x16
      另请参阅:
        常量字段值

    - #### RCP_CMD_EPC_APPOINT

          public static final byte RCP_CMD_EPC_APPOINT

      EPC_APPOINT Hex:0x22
      另请参阅:
        常量字段值

    - #### RCP_CMD_PARA

          public static final byte RCP_CMD_PARA

      PARA Hex:0x81
      另请参阅:
        常量字段值

    - #### RCP_CMD_CANBUS

          public static final byte RCP_CMD_CANBUS

      CANBUS Hex:0xB8
      另请参阅:
        常量字段值

    - #### RCP_CMD_TCPIP

          public static final byte RCP_CMD_TCPIP

      TCPIP Hex:0xB9
      另请参阅:
        常量字段值

    - #### RCP_CMD_SYRIS

          public static final byte RCP_CMD_SYRIS

      Syris Hex:0xBA
      另请参阅:
        常量字段值

    - #### RCP_CMD_REMOTE

          public static final byte RCP_CMD_REMOTE

      Remote Hex:0xBB
      另请参阅:
        常量字段值

    - #### RCP_CMD_INFO

          public static final byte RCP_CMD_INFO

      GET INFO Hex:0x82
      另请参阅:
        常量字段值

    - #### RCP_CMD_TIME

          public static final byte RCP_CMD_TIME

      TIME Hex:0x83
      另请参阅:
        常量字段值

    - #### RCP_CMD_SECRET

          public static final byte RCP_CMD_SECRET

      SECRET Hex:0x30
      另请参阅:
        常量字段值

    - #### RCP_CMD_OUTCARD

          public static final byte RCP_CMD_OUTCARD

      SECRET Hex:0x31
      另请参阅:
        常量字段值

    - #### RCP_CMD_INITSYRIS

          public static final byte RCP_CMD_INITSYRIS

      Init Syris Address Hex:0x8D
      另请参阅:
        常量字段值

    - #### RCP_CMD_SOFTRESET

          public static final byte RCP_CMD_SOFTRESET

      SOFTRESET Hex:0x8F
      另请参阅:
        常量字段值

    - #### RCP_CMD_USBPOWER

          public static final byte RCP_CMD_USBPOWER

      SOFTRESET Hex:0xBC
      另请参阅:
        常量字段值

    - #### RCP_CMD_USBPARA

          public static final byte RCP_CMD_USBPARA

      SOFTRESET Hex:0xBD
      另请参阅:
        常量字段值

    - #### RCP_CMD_WIFI_DOWNLOAD

          public static final byte RCP_CMD_WIFI_DOWNLOAD

      另请参阅:
        常量字段值

    - #### RCP_CMD_WIFI_PUB

          public static final byte RCP_CMD_WIFI_PUB

      另请参阅:
        常量字段值

    - #### RCP_CMD_WIFI_STA

          public static final byte RCP_CMD_WIFI_STA

      另请参阅:
        常量字段值

    - #### RCP_CMD_WIFI_AP

          public static final byte RCP_CMD_WIFI_AP

      另请参阅:
        常量字段值

    - #### RCP_MSG_GET

          public static final byte RCP_MSG_GET

      Control identification code :get 0x32
      另请参阅:
        常量字段值

    - #### RCP_MSG_SET

          public static final byte RCP_MSG_SET

      Control identification code :set 0x31
      另请参阅:
        常量字段值

    - #### RCP_MSG_SENIOR_GET

          public static final byte RCP_MSG_SENIOR_GET

      Control identification code :get 0x22
      另请参阅:
        常量字段值

    - #### RCP_MSG_SENIOR_SET

          public static final byte RCP_MSG_SENIOR_SET

      Control identification code :set 0x21
      另请参阅:
        常量字段值

  - ### 构造器详细资料

    - #### PassiveRcp

          public PassiveRcp()

    - #### PassiveRcp

          public PassiveRcp(ADSio sio)

  - ### 方法详细资料

    - #### buildCmdPacketByte

          public byte[] buildCmdPacketByte(byte nType,
                                           byte nCmd,
                                           byte[] ArgByte)

      从类复制的说明: `ADRcp`
      packet command data (打包命令数据)
      指定者:
        `buildCmdPacketByte` 在类中 `ADRcp`
      参数:
        `nType` - 命令方式,get of set
        `nCmd` - 命令类型
        `ArgByte` - 数据
      返回:

    - #### buildCmdPacketByte

          public byte[] buildCmdPacketByte(int nAddr,
                                           byte nType,
                                           byte nCmd,
                                           byte[] ArgByte)

      从类复制的说明: `ADRcp`
      packet command data (打包命令数据)
      指定者:
        `buildCmdPacketByte` 在类中 `ADRcp`
      参数:
        `nAddr` - 通讯地址
        `nType` - 命令方式,get of set
        `nCmd` - 命令类型
        `ArgByte` - 数据
      返回:

    - #### dealPacketByte

          public void dealPacketByte(ByteEventArg e)