Adafruit-PN532 | Arduino library for SPI and I2C access
kandi X-RAY | Adafruit-PN532 Summary
kandi X-RAY | Adafruit-PN532 Summary
This is a library for the Adafruit PN532 NFC/RFID breakout boards This library works with the Adafruit NFC breakout. Check out the links above for our tutorials and wiring diagrams These chips use I2C or SPI to communicate.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Adafruit-PN532
Adafruit-PN532 Key Features
Adafruit-PN532 Examples and Code Snippets
Community Discussions
Trending Discussions on Adafruit-PN532
QUESTION
I am trying to understand how a Mifare Ultralight Chip, I've got, works. This page pretty much explains it for normal circumstances: https://learn.adafruit.com/adafruit-pn532-rfid-nfc/ndef (At the very end of the page)
But now I have the problem that I want to write data on the chip that is bigger than 254 Byte. As an example, I am writing 493 'A's on it (With the 7 Byte Header, the Data will be 500 Byte overall). Here's what I get from reading the chip (the numbers are in decimal, not hex, so instead of '0xFF' it will say '255'):
...ANSWER
Answered 2020-Sep-16 at 12:56This is difficult to answer without the exact chip type and then examining it's datasheet.
But I think you are probably getting confused by reading the information from Adafruit as is not the full specification of all the possibilities and it is for a Mifare Classic 1K Card which is not a NFC Standard Type chip and not the same as an Ultralight . How a NDEF message is put on this chip is propitiatory for Classic cards and is fully detailed at https://www.nxp.com/docs/en/application-note/AN1304.pdf
For an Utralight chip are compatible with NFC Type 2 specification, details how it is compatible is at https://www.nxp.com/docs/en/application-note/AN1303.pdf
For the full NFC Type 2 Spec is available at http://apps4android.org/nfc-specifications/NFCForum-TS-Type-2-Tag_1.1.pdf
The full NDEF spec is also available at https://github.com/haldean/ndef/blob/master/docs/NFCForum-TS-NDEF_1.0.pdf
So there are number of factors that will affect the size calculation including Short of Standard Records, Chunking, etc.
Hopefully if you read all the correct documentation you will be able get an answer as that Adafruit link is not right for your chip and a very simplified explanation.
Also note that writing the numbers in Decimal not the standard Hex make it a very difficult read as most specs are detailed in Hex.
QUESTION
I'm trying to understand the Mifare EEPROM memory structure. I found out this guide which was quite helpful. In below it covers the Memory block structure:
1K Cards - 16 sectors of 4 blocks each (sectors 0..15)
4K Cards - 32 sectors of 4 blocks each (sectors 0..31) and 8 sectors of 16 blocks each (sectors 32..39)
It covers only the classic series and I'm not sure if it is identical for the Desfire series Memory block structure.
Also, I want to use Desfire 8K cards and don't know how many 4blocks and 16blocks sectors it has. I tried to read the official datasheet but I couldn't understand this part.
...ANSWER
Answered 2020-Jun-15 at 18:41The Mifare Desfire series of products don't have any block structure you can access, they are type 4 NFC cards.
Type 4 cards use Command application protocol data unit (C-APDU) and a file type structure to save data.
See the NFC Type 4 spec at http://apps4android.org/nfc-specifications/NFCForum-TS-Type-4-Tag_2.0.pdf and the Datasheet for a Desfire (EV3) card https://www.nxp.com/docs/en/data-sheet/MF3DHx3_SDS.pdf
That guide is specific to the Mifare Classic series of Cards
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Adafruit-PN532
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page