跳过导航链接
com.rscja.deviceapi

类 RFIDWithISO14443A4CPU

    • 方法概要

      所有方法 静态方法 实例方法 具体方法 已过时的方法 
      限定符和类型 方法和说明
      boolean free()
      释放rfid模块
      Release the RFID module
      static RFIDWithISO14443A4CPU getInstance()
      获取ISO14443A CPU卡协议操作实例
      Get instance for ISO1443A CPU card.
      java.lang.String getVersion()
      已过时。 
      boolean init()
      初始化rfid模块
      Initialize RFID module
      boolean isPowerOn()
      判断设备是否上电
      Detect whether device is powered on or not.
      java.lang.String rats()
      CPU卡RATS操作指令
      CPU card RATS command.
      java.lang.String reset()
      CPU卡复位操作指令
      Reset CPU card command
      boolean rfidUpgrade(int packageCount, int index, int currSize, byte[] data)
      固件升级
      RFID firmware upgrade
      java.lang.String sendCommand(java.lang.String cmd)
      CPU卡 T=CL发送COS指令
      Send the COS command.
      • 从类继承的方法 java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • getInstance

        public static RFIDWithISO14443A4CPU getInstance()
                                                 throws ConfigurationException
        获取ISO14443A CPU卡协议操作实例
        Get instance for ISO1443A CPU card.
        返回:
        ISO14443A CPU卡协议操作实例
        Return ISO1443A CPU card instance.
        抛出:
        ConfigurationException - 配置错误异常
        Configuration failure exception.
      • sendCommand

        public java.lang.String sendCommand(java.lang.String cmd)
        CPU卡 T=CL发送COS指令
        Send the COS command.
        参数:
        cmd - COS指令内容
        COS command content
        返回:
        CPU卡返回的COS指令内容
        COS command content returned from CPU card.
      • reset

        public java.lang.String reset()
        CPU卡复位操作指令
        Reset CPU card command
        返回:
        CPU卡返回的reset操作数据
        Reset action content returned from CPU card.
      • rats

        public java.lang.String rats()
        CPU卡RATS操作指令
        CPU card RATS command.
        返回:
        CPU卡返回的rats操作数据
        RATS command data returned from CPU card.
      • init

        public boolean init()
        初始化rfid模块
        Initialize RFID module
        返回:
        true成功,false失败
        If sucess, then return true, if failure, return false
      • free

        public boolean free()
        释放rfid模块
        Release the RFID module
        返回:
        true成功,false失败
        If sucess, then return true, if failure, return false
      • getVersion

        @Deprecated
        public java.lang.String getVersion()
        已过时。 
        获取rfid 版本信息
        Get RFID version information.
        返回:
        返回版本信息,null为失败
        Return RFID version infor, if failure, return null.
      • rfidUpgrade

        public boolean rfidUpgrade(int packageCount,
                                   int index,
                                   int currSize,
                                   byte[] data)
        固件升级
        RFID firmware upgrade
        参数:
        packageCount - 包的数量
        Package count.
        index - 当前为第几个包
        Current package count nnumber.
        currSize - 当前包大小
        Current package size.
        data - 包数据
        Package data.
        返回:
        true成功,false失败
        If sucess, return true, if failure, return false.
      • isPowerOn

        public boolean isPowerOn()
        判断设备是否上电
        Detect whether device is powered on or not.
        返回:
        已经上电返回true,反之返回false
        If powered on,return true, if not, return false.