public class FingerprintWithZAZ_qcom extends Device_qcom implements IFingerprintWithZAZ
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(int templateIdStart,
int templateIdEnd)
删除指定编号范围(起始Template编号 ~ 结束Template编号)内全部已注册的 Template
|
boolean |
downChar(FingerprintWithZAZ.BufferEnum ramBufferId,
byte[] templateData,
int[] outErrCode)
下载指纹模板数据到模块指定的RamBuffer
|
boolean |
downImageData(int imageBlockNumber,
byte[] imageData,
int[] outErrCode)
下载指纹图像到模块,每次下载512个数据
|
boolean |
exists(int templateId)
检查指定的编号是否已被注册
|
boolean |
free()
释放指纹模块
free fingerprint module |
boolean |
generate(FingerprintWithZAZ.BufferEnum ramBufferId,
int[] outErrCode)
生成模版
|
boolean |
getBrokenId(int templateIdStart,
int templateIdEnd,
int[] outBrokenId) |
java.lang.String |
getDeviceInfo()
获取模块的设备信息
|
int |
getEmptyId(int templateIdStart,
int templateIdEnd)
获取指定编号范围内可注册的首个编号
|
boolean |
getEnrollCount(int templateIdStart,
int templateIdEnd,
int[] outEnrollCount) |
int |
getImage(int[] outErrCode)
从采集器采集指纹图像并保存于 ImageBuffer 中
|
static FingerprintWithZAZ_qcom |
getInstance()
获取指纹模块操作实例
acquire fingerprint module operation eample |
int |
getParam(int type)
根据指定的参数类型,读取设备参数
|
boolean |
init()
初始化指纹模块
Initialize fingerprint module |
boolean |
isConnection()
检查 Target 和 Host 的连接状态
|
boolean |
loadChar(int templateIdStart,
FingerprintWithZAZ.BufferEnum ramBufferId,
int[] outErrCode)
读取模块中的指纹并暂存在RamBuffer中
|
boolean |
match(FingerprintWithZAZ.BufferEnum ramBufferId1,
FingerprintWithZAZ.BufferEnum ramBufferId2,
int[] outErrCode)
指定的两个 Ram Buffer 中的 Template 之间进行比对
|
boolean |
merge(FingerprintWithZAZ.BufferEnum ramBufferId,
int number,
int[] outErrCode)
合并模版
|
boolean |
search(FingerprintWithZAZ.BufferEnum ramBufferId,
int templateIdStart,
int templateIdEnd,
int[] outTemplateID,
int[] outUpStatus,
int[] outErrCode) |
boolean |
setParam(int type,
int value,
int[] outErrCode)
根据指定的参数类型,设置设备参数
|
boolean |
sledCtrl(boolean on)
控制采集器背光灯的开/关
|
boolean |
storeChar(int templateId,
FingerprintWithZAZ.BufferEnum ramBufferId,
int[] outErrCode)
将保存于指定 Ram Buffer 中的模板保存于指定编号的模块指纹库中
|
byte[] |
upChar(FingerprintWithZAZ.BufferEnum ramBufferId,
int[] outErrCode)
将暂存在RamBuffer中的指纹模板上传到主机
|
int |
upImageData(int imageMode,
java.lang.String lpFileName,
int[] outErrCode)
上传指纹图像到外部文件
|
boolean |
verify(int templateId,
FingerprintWithZAZ.BufferEnum buffer,
int[] outTemplateID,
int[] outUpStatus,
int[] outErrCode) |
isPowerOnequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPowerOnpublic static FingerprintWithZAZ_qcom getInstance() throws ConfigurationException
ConfigurationException - 配置错误异常public boolean init()
init in interface IFingerprintWithZAZpublic boolean free()
free in interface IFingerprintWithZAZpublic boolean isConnection()
isConnection in interface IFingerprintWithZAZpublic int getImage(int[] outErrCode)
getImage in interface IFingerprintWithZAZoutErrCode - 返回错误代码public boolean verify(int templateId,
FingerprintWithZAZ.BufferEnum buffer,
int[] outTemplateID,
int[] outUpStatus,
int[] outErrCode)
verify in interface IFingerprintWithZAZtemplateId - 待比对的 Template 编号buffer - Ram Buffer编号outTemplateID - Template 编号outUpStatus - 智能更新结果 1 :已进行智能更新,0:没有更新outErrCode - 返回错误代码public boolean search(FingerprintWithZAZ.BufferEnum ramBufferId, int templateIdStart, int templateIdEnd, int[] outTemplateID, int[] outUpStatus, int[] outErrCode)
search in interface IFingerprintWithZAZramBufferId - 待比对的 Template 编号templateIdStart - 待搜索的起始 Template编号templateIdEnd - 待搜索的结束 Template编号outUpStatus - 智能更新结果 1 :已进行智能更新,0:没有更新outErrCode - 返回错误代码public boolean match(FingerprintWithZAZ.BufferEnum ramBufferId1, FingerprintWithZAZ.BufferEnum ramBufferId2, int[] outErrCode)
match in interface IFingerprintWithZAZramBufferId1 - ramBufferId2 - outErrCode - 返回错误代码public boolean merge(FingerprintWithZAZ.BufferEnum ramBufferId, int number, int[] outErrCode)
merge in interface IFingerprintWithZAZramBufferId - 模版idnumber - 合成个数(2或3)outErrCode - 返回错误代码public boolean generate(FingerprintWithZAZ.BufferEnum ramBufferId, int[] outErrCode)
generate in interface IFingerprintWithZAZramBufferId - 模版idoutErrCode - 返回错误代码public boolean getEnrollCount(int templateIdStart,
int templateIdEnd,
int[] outEnrollCount)
getEnrollCount in interface IFingerprintWithZAZtemplateIdStart - 起始Template编号templateIdEnd - 结束Template编号outEnrollCount - 输出已注册的 Template 个数public boolean getBrokenId(int templateIdStart,
int templateIdEnd,
int[] outBrokenId)
getBrokenId in interface IFingerprintWithZAZtemplateIdStart - 起始Template编号templateIdEnd - 结束Template编号outBrokenId - 破损的Template, outBrokenId[0]:破损Template的个数,outBrokenId[1]:第一个破损Template编号public boolean exists(int templateId)
exists in interface IFingerprintWithZAZtemplateId - 模版编号public int getEmptyId(int templateIdStart,
int templateIdEnd)
getEmptyId in interface IFingerprintWithZAZtemplateIdStart - 起始模版编号templateIdEnd - 结束模版编号public boolean delete(int templateIdStart,
int templateIdEnd)
delete in interface IFingerprintWithZAZtemplateIdStart - 起始Template编号templateIdEnd - 结束Template编号public boolean loadChar(int templateIdStart,
FingerprintWithZAZ.BufferEnum ramBufferId,
int[] outErrCode)
loadChar in interface IFingerprintWithZAZtemplateIdStart - Template编号ramBufferId - Ram Buffer编号outErrCode - 返回错误代码public boolean storeChar(int templateId,
FingerprintWithZAZ.BufferEnum ramBufferId,
int[] outErrCode)
storeChar in interface IFingerprintWithZAZtemplateId - Template编号ramBufferId - Ram Buffer编号outErrCode - 返回错误代码public boolean setParam(int type,
int value,
int[] outErrCode)
setParam in interface IFingerprintWithZAZtype - 0-8
0:deviceID 设备编号 value - deviceID 1-255outErrCode - 返回错误代码public int getParam(int type)
getParam in interface IFingerprintWithZAZtype - 0-8
0:deviceID 设备编号 public java.lang.String getDeviceInfo()
getDeviceInfo in interface IFingerprintWithZAZpublic int upImageData(int imageMode,
java.lang.String lpFileName,
int[] outErrCode)
upImageData in interface IFingerprintWithZAZimageMode - 0(完全模式):则发送完整图像 ,1(四分之一模式):发送1/4图像lpFileName - 文件位置,包括文件名,函数根据该参数生成图像文件outErrCode - 返回错误代码public boolean downImageData(int imageBlockNumber,
byte[] imageData,
int[] outErrCode)
downImageData in interface IFingerprintWithZAZimageBlockNumber - 图像数据块号 (0-116)imageData - 图像数据 固定一次发512字节outErrCode - 返回错误代码public boolean sledCtrl(boolean on)
sledCtrl in interface IFingerprintWithZAZon: - true:开 , false:关public byte[] upChar(FingerprintWithZAZ.BufferEnum ramBufferId, int[] outErrCode)
upChar in interface IFingerprintWithZAZramBufferId - Ram Buffer编号outErrCode - 返回错误代码public boolean downChar(FingerprintWithZAZ.BufferEnum ramBufferId, byte[] templateData, int[] outErrCode)
downChar in interface IFingerprintWithZAZramBufferId - Ram Buffer编号templateData - 模版数据,固定1024长度outErrCode - 返回错误代码