Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mrtd_bac_keyhandshake is failing #3

Open
Maddy5075 opened this issue Aug 9, 2019 · 0 comments
Open

mrtd_bac_keyhandshake is failing #3

Maddy5075 opened this issue Aug 9, 2019 · 0 comments

Comments

@Maddy5075
Copy link

Maddy5075 commented Aug 9, 2019

Trying to read the data from US passport with a command
mrtdreader -p=xxxxxxxxx -b=yyyyyy -e=zzzzzz

Log as below

Target found!
debug libnfc.chip.pn53x InDataExchange
debug libnfc.chip.pn53x Timeout value: 500
debug libnfc.bus.i2c TX: 00 00 ff 0f f1 d4 40 01 00 a4 04 0c 07 a0 00 00 02 47 10 01 36 00
debug libnfc.bus.i2c wrote 22 bytes successfully.
debug libnfc.chip.pn53x PN53x ACKed
debug libnfc.driver.pn532_i2c timeout reached with no READY frame.
error libnfc.chip.pn53x Buffer size is too short: 300 available(s), 4294967295 needed
Unable to senddebug libnfc.chip.pn53x InRelease

nfc-list log
debug libnfc.chip.pn53x PN53x ACKed
1 ISO14443B passive target(s) found:
ISO/IEC 14443-4B (106 kbps) target:
PUPI: xx yy zz ww
Application Data: e1 f3 5e 11
Protocol Info: 73 81 a5

debug libnfc.chip.pn53x RFConfiguration

However when the time-out is increased from 500 to 5000, the nfc_initiator_transceive_bytes reports unable to send.
Target found!
debug libnfc.chip.pn53x InDataExchange
debug libnfc.chip.pn53x Timeout value: 5000
debug libnfc.bus.i2c TX: 00 00 ff 0f f1 d4 40 01 00 a4 04 0c 07 a0 00 00 02 47 10 01 36 00
debug libnfc.bus.i2c wrote 22 bytes successfully.
debug libnfc.chip.pn53x PN53x ACKed
debug libnfc.chip.pn53x Chip error: "Timeout" (01), returned error: "RF Transmission Error" (-20))
Unable to senddebug libnfc.chip.pn53x InRelease

Platform used: Rasp pi, PN532 over I2C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant