marcus905 / libnfc

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

P2P using NDEP example fails on to DeSelect #272

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Setup two PN532 boards. 
2. On one side, run dep-initiator example.
3. On the other, dep-target example is run.

What is the expected output? What do you see instead?
- Expected Output
  Communication should complete successfully with no errors.

- Actual Output
  Strings are transferred, but the initiator exits with timeout (error code 01) during InDeselect

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

Please provide any additional information below.
The chips being used are PN532 chips. One is run from the Raspberry Pi, and the 
other from an Ubuntu 12.04 system using UART.

Original issue reported on code.google.com by asheeshr...@gmail.com on 7 Mar 2014 at 6:03

GoogleCodeExporter commented 9 years ago
Packets using log level 3 on nfc-dep-initiator side.

===

Sending: Hello World!
debug   libnfc.chip.pn53x   InDataExchange
debug   libnfc.chip.pn53x   No timeout
debug   libnfc.bus.uart TX: 00 00 ff 10 f0 d4 40 01 48 65 6c 6c 6f 20 57 6f 72 6c 
64 21 00 ae 00 
debug   libnfc.bus.uart RX: 00 00 ff 00 ff 00 
debug   libnfc.chip.pn53x   PN53x ACKed
debug   libnfc.bus.uart RX: 00 00 ff 0f f1 
debug   libnfc.bus.uart RX: d5 41 
debug   libnfc.bus.uart RX: 00 48 65 6c 6c 6f 20 4d 61 72 73 21 00 
debug   libnfc.bus.uart RX: 22 00 
Received: Hello Mars!
debug   libnfc.chip.pn53x   InDeselect
debug   libnfc.bus.uart TX: 00 00 ff 03 fd d4 44 00 e8 00 
debug   libnfc.bus.uart RX: 00 00 ff 00 ff 00 
debug   libnfc.chip.pn53x   PN53x ACKed
debug   libnfc.bus.uart RX: 00 00 ff 03 fd 
debug   libnfc.bus.uart RX: d5 45 
debug   libnfc.bus.uart RX: 01 
debug   libnfc.bus.uart RX: e5 00 
debug   libnfc.chip.pn53x   Chip error: "Timeout" (01), returned error: "RF 
Transmission Error" (-20))
nfc_initiator_deselect_target: RF Transmission Error
debug   libnfc.chip.pn53x   InRelease
debug   libnfc.bus.uart TX: 00 00 ff 03 fd d4 52 00 da 00 
debug   libnfc.bus.uart RX: 00 00 ff 00 ff 00 
debug   libnfc.chip.pn53x   PN53x ACKed
debug   libnfc.bus.uart RX: 00 00 ff 03 fd 
debug   libnfc.bus.uart RX: d5 53 
debug   libnfc.bus.uart RX: 01 
debug   libnfc.bus.uart RX: d7 00 
debug   libnfc.chip.pn53x   Chip error: "Timeout" (01), returned error: "RF 
Transmission Error" (-20))

====

Original comment by asheeshr...@gmail.com on 19 Mar 2014 at 7:37