python的nfc库
yongshi-pynfc的Python项目详细描述
皮尤图书馆
一个使用pyscard与nfc卡和python阅读器交互的库
路线图
入门
对于windows:
pip install pyscard
对于ubuntu:
^{pr2}$发展
NFC
与Pyscard连接
只能与python 3.6.8版一起使用(在编写本文时)。因此,为了使用这个NFC库,我们必须将这个应用程序切换到这个python版本。 已从https://sourceforge.net/projects/pyscard/下载用于windows的pyscard可执行文件 教程:https://pyscard.sourceforge.io/user-guide.html 其他信息: https://stackoverflow.com/questions/56423316/i-can-not-understand-my-symptoms-python-is-using-pyscardhttps://github.com/GPII/linux-rfid-user-listener/blob/master/scriptor.1phttps://khanhicetea.com/post/reading-nfc-card-id-on-ubuntu/#Source-code
学习apdu命令的教程
在pyscard顶部使用ARC connect library
https://github.com/StevenTso/ACS-ACR122U-NFC-Reader
https://flomio.com/forums/topic/list-of-apdu-codes/https://www.eftlab.com/knowledge-base/complete-list-of-apdu-responses/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
使用libnfc发送命令
白痴.py
https://github.com/AdamLaurie/RFIDIOt/blob/master/rfidiot/RFIDIOt.py
与NFC连接https://nfcpy.readthedocs.io/en/latest/topics/get-started.html
下载libusb https://libusb.info/
pip3 install --user nfcpy
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
使用ndeflib编码
从NDEF格式(nfc数据交换格式)编码和解码消息
pip3 install --user ndeflib
https://pypi.org/project/ndeflib/https://ndeflib.readthedocs.io/en/latest/ndef.html
标签页: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/Nfchttps://stackoverflow.com/questions/56288102/which-apdu-to-use-to-read-write-records-on-mifare-ultralight-nfc-taghttps://gist.github.com/im-infamou5/4681713http://nfc-tools.org/index.php/Libnfc:APDU_examplehttps://stackoverflow.com/questions/47820902/cannot-send-large-apdu-commands-with-libnfc-using-nfc-initiator-transceive-byteshttps://stackoverflow.com/search?q=nfc+read+command+apduhttps://stackoverflow.com/questions/34869625/how-to-read-or-write-smart-cardhttps://stackoverflow.com/questions/56261178/cant-read-card-with-nfc-rfid-reader-through-python
运行测试
细分为端到端测试
以及编码风格测试
部署
用
贡献
版本控制
作者
- Michael Yongshi
另请参阅参与此项目的contributors的列表。在
许可证
根据麻省理工学院的许可证获得许可证,有关详细信息,请参阅许可证文件。在
版权所有©2020 WAM桌面贡献者。在
特此免费授予获得本软件和相关文档文件(以下简称“软件”)副本的任何人无限制地使用本软件,包括但不限于使用、复制、修改、合并、发布、分发、再许可和/或出售软件副本的权利,并允许向其提供软件的人提供软件,但须符合以下条件:
上述版权声明和本许可声明应包含在软件的所有副本或主要部分中。在
本软件按“原样”提供,无任何明示或暗示的保证,包括但不限于适销性、特定用途适用性和非侵权性的保证。在任何情况下,作者或版权持有人均不对因本软件或本软件的使用或其他交易而引起的、与之相关的任何索赔、损害赔偿或其他责任负责,无论是合同诉讼、侵权诉讼还是其他诉讼。在
致谢
- 项目
标签: