
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
fingerprint-plugin
Advanced tools
安装
cordova plugin add fingerprint-plugin
使用
fingerprintPlugin.openFingerprint(param, successCallback, errorCallback);
fingerprintPlugin.closeFingerprint(successCallback, errorCallback);
fingerprintPlugin.readFingerprint(successCallback, errorCallback);
fingerprintPlugin.interrupt(successCallback, errorCallback);
fingerprintPlugin.checkFingerStatus(successCallback, errorCallback);
fingerprintPlugin.registerFinger(param, successCallback, errorCallback);
fingerprintPlugin.matchFinger(param, successCallback, errorCallback);
fingerprintPlugin.deleteFinger(param, successCallback, errorCallback);
示例
onDeviceReady: function() {
fingerprintPlugin.openFingerprint(["/dev/ttysWK1", 115200], function(success) {
alert(success);
fingerprintPlugin.readFingerprint(function(data){
alert(data);
}, function(error) {
alert(error);
})
}, function(error) {
alert(error);
});
},
字段说明
type -- 0x00 中断指令
-- 0x02 查询手指状态
-- 0x03 注册指纹
-- 0x04 匹配指纹
-- 0x05 删除指纹
reply -- 0x00 成功
-- 0x8F01 XOR校验错误
-- 0x8F02 SUM校验错误
-- 0x8F03 指令错误
-- 0x8F04 参数错误
-- 0x8F06 无系统文件
-- 0x8F07 系统错误
-- 0x8101 传感器初始化失败
-- 0x8102 传感器校正失败
-- 0x8201 手指检测超时
-- 0x8301 指纹已注册
-- 0x8304 指纹注册满
-- 0x8401 无注册指纹
-- 0x8402 匹配失败
-- 0x8501 删除指定的指纹模板失败
result -- 查询手指状态时 0-有手指 1-无手指
-- 注册指纹时(第三次) 注册的指纹ID
-- 匹配指纹时 匹配的指纹ID
FAQs
a fingerprint plugin for ifreezer
The npm package fingerprint-plugin receives a total of 5 weekly downloads. As such, fingerprint-plugin popularity was classified as not popular.
We found that fingerprint-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.