public class RFIDWithISO14443B_mtk extends RFIDBase_mtk implements IRFIDWithISO14443B
注意:
Attention:
1、使用前请确认您的机器已安装此模块。
1. Make sure this module is installed before using.
2、要正常使用模块需要在\libs\armeabi\目录放置libDeviceAPI.so文件
2. Put libDeviceAPI.so file in directoy \libs\armeabi\ then module can be used normally.
3、在操作设备前需要调用 RFIDBase_mtk.init()
打开设备,使用完后调用 RFIDBase_mtk.free()
关闭设备
3. call RFIDBase_mtk.init()
to switch on the device before operating, call RFIDBase_mtk.free()
to switch off the device after using.
Modifier and Type | Method and Description |
---|---|
static RFIDWithISO14443B_mtk |
getInstance()
获取ISO14443B协议操作实例
Acquire ISO14443B protocol operation Instance |
java.lang.String |
getUID()
获取卡片ID
Acquire card ID |
byte[] |
getUIDBytes()
获取卡片ID
Acquire card ID |
boolean |
isPowerOn()
判断设备是否上电
Judge the device is powered on or not. |
java.lang.String |
reset()
CPU卡复位操作指令
CPU card reset operation commande |
java.lang.String |
sendCommand(java.lang.String cmd)
CPU卡 T=CL发送COS指令
CPU card T=CL send COS command |
free, getVersion, init, init, rfidUpgrade
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
free, getVersion, init, init, isPowerOn, rfidUpgrade
public static RFIDWithISO14443B_mtk getInstance() throws ConfigurationException
ConfigurationException
- 配置错误异常public java.lang.String getUID()
getUID
in interface IRFIDWithISO14443B
public byte[] getUIDBytes()
getUIDBytes
in interface IRFIDWithISO14443B
public java.lang.String sendCommand(java.lang.String cmd)
sendCommand
in interface IRFIDWithISO14443B
cmd
- COS指令内容public java.lang.String reset()
reset
in interface IRFIDWithISO14443B
public boolean isPowerOn()