Samsung Nexus Prime 和读取 RFID 员工 ID
示例应用程序,它可以读取我的员工徽章并将其显示在屏幕上(或者如果我可以复制它就更好了,这样我们就可以使用手机而不是塑料身份证来上班)
我想创建一个小型 1. 这在技术上可行吗? 如果是这样,那么是否有任何示例应用程序/代码可以演示如何读取员工身份证的状态并保存它?
我们此时使用的是 HID 卡
I want to create a small sample app that can read my employee badge and display it on the screen (or better if I can replicate it so we can use our phones to badge into work rather than our plastic id card)
A few questions
1. Is this technically possible?
If so then are there any sample apps/code that can demonstrate how to read the state of the employee id card and save it?
We're using HID cards at this time
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
技术上可行吗? “是”,但实际上不是:-(
首先,员工卡上不会有任何个人信息 - 它只是制造商 ID + 序列号。您必须自己获取员工信息。一个 API门禁机制?除非您与供应商关系很好,否则不太可能……祝您顺利通过内部安全团队 - 或者更糟 - 房东请记住,这些人不是技术人员,他们会开始思考。 API = 汤姆·克鲁斯 + 不可能的黑客 !! 甚至得到 。
其次,即使可以将个人数据编码到卡上(例如电子护照类型),也只能通过提供某些凭据来“证明”来解锁 “您拥有护照(护照号码、出生日期和有效期)。
如果您只是想展示一下,然后您可以查看通用 NFC 读取器应用程序之一是否可以识别并读取序列号,然后就可以了通过一个缓慢的过程自己收集这些数据。显然,当人们离开/加入/丢失他们的卡等时,您的工作就会为您完成。
我对 Android NFC 示例(在 SDK 中)做了一些工作。它们并不完全出色,但它们确实可以工作,并且 NFC API 足够好,可以使用 - 至少阅读公共位等。
Technically possible ? "Yes" but practically not :-(
Firstly, the employee card won't have any personal information on it - it'll just be a manufacturer ID + serial number. You'll have to source the employee information yourself. An API into the door access mechanism? Very unlikely unless you are on very good terms with the supplier ... Good luck getting past your in-house security team - or even worse - the landlords. Remember these are not technical people and they'll start thinking API = Tom Cruise + Mission Impossible hackers !! Even getting "just" a csv export of employee + ID number from the system may be unobtainable.
Secondly, even if it were possible to encode personal data onto the card (eg the ePassport type), these are only unlocked by supplying certain credentials to "prove" you have the passport in your possession (which is passport number, DOB and expiry date).
If you just wanted a show and tell then you could see if one of the generic NFC reader apps recognises and reads the serial ID and then just go through a slow process of collecting that data yourself.. Obviously when people leave / join / lose their card etc etc you'll have your work cut out for you.
I've done a bit of work with the Android NFC examples (in the SDK). They're not exactly great but they do work and the NFC API is good enough to work with - at least read the public bits etc etc.