Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 289 by
ro...@jikos.cz: PN532 frame preamble parsing shortcoming
https://code.google.com/p/libnfc/issues/detail?id=289
What steps will reproduce the problem?
1. PICC emulation using pn532_uart driver and Adafruit PN532 board.
2. Communication interrupts with "Frame preamble+start code mismatch"
What is the expected output? What do you see instead?
According to NXP PN532 user manual rev 0.2, frame preamble can be longer
than one zero byte - see chapter 6.2.1.6. Currently, libnfc hardcodes 0x00,
0x00, 0xFF as preamble, failing on 0x00, 0x00, 0x00, 0xFF (for example).
Instead, you should skip leading zeroes up to first 0xFF byte.
What version of the product are you using? On what operating system?
libncf-1.7.1, the same issue is in git master branch, commit 108de27c1b45.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings