[英]Format/Read/Write NDEF Mifare 1K Card using libnfc
I am new to NFC and I want to learn more about this, so I bought a PN532 NFC shield from Adafruit and a couple of Mifare 1K Card. 我是NFC的新手,我想学习更多有关此的知识,因此我从Adafruit和几张Mifare 1K卡购买了PN532 NFC防护罩。
Now I have installed successfully Libnfc on Windows 8 and it works fine, I can use nfc-list. 现在,我已经在Windows 8上成功安装了Libnfc,并且工作正常,我可以使用nfc-list。
I have tried to install libfreefare but I have errors (I have posted a topic on that) 我尝试安装libfreefare,但出现错误(我在此发布了一个话题)
But I really need to be able to format cards to NDEF, and to read and write NDEF data on a MIFARE Classic 1K card. 但是我确实需要能够将卡格式化为NDEF,并在MIFARE Classic 1K卡上读写NDEF数据。
Does anyone know how to do so? 有人知道怎么做吗? Is it possible to use the libnfc.dll to do so?
可以使用libnfc.dll这样做吗? Does anyone have exemple or tutorial on this?
有人对此有示例或教程吗?
For security matters, is it better to have DESFire 4k or 8k instead of MIFARE Classic 1k in order to be sure that my card is secure (can not be overwritten)? 为了安全起见,最好使用DESFire 4k或8k而不是MIFARE Classic 1k来确保我的卡安全(不能被覆盖)吗?
Yes, you can use libnfc for that purpose. 是的,您可以将libnfc用于此目的。 For an example of how to accesws MIFARE Classic cards see
有关如何访问MIFARE Classic卡的示例,请参见
With regard to formatting MIFARE Classic cards with NDEF data, I suggest that you have a look at the application note from NXP on this topic: 关于使用NDEF数据格式化MIFARE Classic卡,建议您阅读NXP关于该主题的应用笔记:
For security matters, is it better to have DESFire 4k or 8k instead of MIFARE Classic 1k in order to be sure that my card is secure (can not be overwritten)? 为了安全起见,最好使用DESFire 4k或8k而不是MIFARE Classic 1k来确保我的卡安全(不能被覆盖)吗?
Right. 对。 MIFARE Classic security is know to be completely broken since 2008/2009.
自2008/2009年以来,MIFARE Classic安全性已被完全打破。 This means that,
这意味着,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.