简体   繁体   English

Python,ACR122U NFC读取器可以读取Android手机的ID吗?

[英]Python, ACR122U NFC reader can it read the ID of the Android phone is that possible?

I have a ACS ACR122U NFC Reader / Writer when i hover over the reader with my Samsung s7. 当我用Samsung s7将鼠标悬停在阅读器上时,我有一个ACS ACR122U NFC阅读器/写入器。 The led becomes green so the reader understands the mobile. LED变为绿色,因此读者可以理解手机。

The idea is when a employee comes to work he hover over the reader he gets clocked in. 这个想法是,当一名雇员上班时,他将鼠标悬停在他上班的读者上。

On github i found some solutions for reading the nfc with python: 在github上,我找到了一些使用python读取nfc的解决方案:

https://github.com/StevenTso/ACS-ACR122U-NFC-Reader https://github.com/SaundersB/NFC_Reader https://github.com/StevenTso/ACS-ACR122U-NFC-Reader https://github.com/SaundersB/NFC_Reader

Maybe i don't understand it right but shouldn't i get a ID of the phone or able to write data to it or is it just a reader (but why does file transfer works over nfc)? 也许我不太了解它,但是我不应该获取电话的ID或能够向其中写入数据吗?或者它仅仅是读取器(但是为什么文件传输可以通过nfc进行)?

Maybe i just need to buy a nfc-tag and use that for the clocking? 也许我只需要购买一个nfc标签并将其用于时钟?

You could emulate a card on Phone, but you need to install an app on each phone to put it in HCE Host Card Emulation mode. 您可以在电话上模拟卡,但是需要在每部电话上安装一个应用程序才能将其置于HCE主机卡模拟模式。 After you NFC reader could communicate with phone. 之后,NFC读取器便可以与手机进行通信。

Easiest solution is to buy tags with unique ID. 最简单的解决方案是购买具有唯一ID的标签。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM