marcus905 / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

CRC Error when using PN532 UART as target with CRC disabled #264

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set PN532 to target mode, and start a Mifare authentication
2. When the target reads the 8 byte response to the tag challenge from the 
reader, a CRC error occurs, which makes sense because that step doesn't have 
CRC bytes.

The problem is that I disabled CRC handling through NP_HANDLE_CRC, and even 
disabled it throughout the driver as a test, yet it still gives me CRC errors.

What is the expected output? What do you see instead?

I expect the chip/driver to ignore the lack of CRC bytes on the reader response.

What version of the product are you using? On what operating system?

libnfc master branch, arch linux.

Please provide any additional information below.

Original issue reported on code.google.com by m...@rickybutton.com on 14 Jan 2014 at 5:14

GoogleCodeExporter commented 9 years ago
mfoc and mfcuk are happily disabling CRC to do MF authentication so it's 
probably an error in your code, not in libnfc.
Please provide a short code example producing the error.

Original comment by yob...@gmail.com on 15 Jan 2014 at 9:19