public interface 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 中
|
int |
getParam(int type)
根据指定的参数类型,读取设备参数
|
boolean |
init()
初始化指纹模块
Initialize fingerprint module |
boolean |
isConnection()
检查 Target 和 Host 的连接状态
|
boolean |
isPowerOn() |
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) |
boolean init()
boolean free()
boolean isConnection()
int getImage(int[] outErrCode)
outErrCode
- 返回错误代码boolean verify(int templateId, FingerprintWithZAZ.BufferEnum buffer, int[] outTemplateID, int[] outUpStatus, int[] outErrCode)
templateId
- 待比对的 Template 编号buffer
- Ram Buffer编号outTemplateID
- Template 编号outUpStatus
- 智能更新结果 1 :已进行智能更新,0:没有更新outErrCode
- 返回错误代码boolean search(FingerprintWithZAZ.BufferEnum ramBufferId, int templateIdStart, int templateIdEnd, int[] outTemplateID, int[] outUpStatus, int[] outErrCode)
ramBufferId
- 待比对的 Template 编号templateIdStart
- 待搜索的起始 Template编号templateIdEnd
- 待搜索的结束 Template编号outUpStatus
- 智能更新结果 1 :已进行智能更新,0:没有更新outErrCode
- 返回错误代码boolean match(FingerprintWithZAZ.BufferEnum ramBufferId1, FingerprintWithZAZ.BufferEnum ramBufferId2, int[] outErrCode)
ramBufferId1
- ramBufferId2
- outErrCode
- 返回错误代码boolean merge(FingerprintWithZAZ.BufferEnum ramBufferId, int number, int[] outErrCode)
ramBufferId
- 模版idnumber
- 合成个数(2或3)outErrCode
- 返回错误代码boolean generate(FingerprintWithZAZ.BufferEnum ramBufferId, int[] outErrCode)
ramBufferId
- 模版idoutErrCode
- 返回错误代码boolean getEnrollCount(int templateIdStart, int templateIdEnd, int[] outEnrollCount)
templateIdStart
- 起始Template编号templateIdEnd
- 结束Template编号outEnrollCount
- 输出已注册的 Template 个数boolean getBrokenId(int templateIdStart, int templateIdEnd, int[] outBrokenId)
templateIdStart
- 起始Template编号templateIdEnd
- 结束Template编号outBrokenId
- 破损的Template, outBrokenId[0]:破损Template的个数,outBrokenId[1]:第一个破损Template编号boolean exists(int templateId)
templateId
- 模版编号int getEmptyId(int templateIdStart, int templateIdEnd)
templateIdStart
- 起始模版编号templateIdEnd
- 结束模版编号boolean delete(int templateIdStart, int templateIdEnd)
templateIdStart
- 起始Template编号templateIdEnd
- 结束Template编号boolean loadChar(int templateIdStart, FingerprintWithZAZ.BufferEnum ramBufferId, int[] outErrCode)
templateIdStart
- Template编号ramBufferId
- Ram Buffer编号outErrCode
- 返回错误代码boolean storeChar(int templateId, FingerprintWithZAZ.BufferEnum ramBufferId, int[] outErrCode)
templateId
- Template编号ramBufferId
- Ram Buffer编号outErrCode
- 返回错误代码boolean setParam(int type, int value, int[] outErrCode)
type
- 0-8
0:deviceID 设备编号 value
- deviceID 1-255outErrCode
- 返回错误代码int getParam(int type)
type
- 0-8
0:deviceID 设备编号 java.lang.String getDeviceInfo()
int upImageData(int imageMode, java.lang.String lpFileName, int[] outErrCode)
imageMode
- 0(完全模式):则发送完整图像 ,1(四分之一模式):发送1/4图像lpFileName
- 文件位置,包括文件名,函数根据该参数生成图像文件outErrCode
- 返回错误代码boolean downImageData(int imageBlockNumber, byte[] imageData, int[] outErrCode)
imageBlockNumber
- 图像数据块号 (0-116)imageData
- 图像数据 固定一次发512字节outErrCode
- 返回错误代码boolean sledCtrl(boolean on)
on:
- true:开 , false:关byte[] upChar(FingerprintWithZAZ.BufferEnum ramBufferId, int[] outErrCode)
ramBufferId
- Ram Buffer编号outErrCode
- 返回错误代码boolean downChar(FingerprintWithZAZ.BufferEnum ramBufferId, byte[] templateData, int[] outErrCode)
ramBufferId
- Ram Buffer编号templateData
- 模版数据,固定1024长度outErrCode
- 返回错误代码boolean isPowerOn()