Skip to content

Communication problems from ACR122U to Phone #4

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Run the ReaderToPhone Code.
2. Place the phone up against the reader when ready.
3. The message is not sent.

What is the expected output? What do you see instead?
Instead of send the message, I see that output:
IN JUMP FOR DEP done..
[DEBUG] {sending   [10 bytes]} 0xFF 0x00 0x00 0x00 0x05 0xD4 0x40 0x01 0x11 
0x20 
[DEBUG] {receiving [7 bytes]} 0xD5 0x41 0x00 0x00 0x00 0x90 0x00 
3 
[DEBUG] {sending   [10 bytes]} 0xFF 0x00 0x00 0x00 0x05 0xD4 0x40 0x01 0x11 
0x20 
[DEBUG] {receiving [7 bytes]} 0xD5 0x41 0x00 0x00 0x00 0x90 0x00 
3 
[DEBUG] {sending   [10 bytes]} 0xFF 0x00 0x00 0x00 0x05 0xD4 0x40 0x01 0x11 
0x20 
[DEBUG] {receiving [7 bytes]} 0xD5 0x41 0x00 0x00 0x00 0x90 0x00 
3 
[DEBUG] {sending   [10 bytes]} 0xFF 0x00 0x00 0x00 0x05 0xD4 0x40 0x01 0x11 
0x20 
[DEBUG] {receiving [7 bytes]} 0xD5 0x41 0x00 0x00 0x00 0x90 0x00 
3 
[DEBUG] {sending   [10 bytes]} 0xFF 0x00 0x00 0x00 0x05 0xD4 0x40 0x01 0x11 
0x20 
[DEBUG] {receiving [5 bytes]} 0xD5 0x41 0x13 0x90 0x00 
1

What version of the product are you using? On what operating system?
Last version, Windows 7 and Nexus S with Android 4.1.2.

Please provide any additional information below.
I have a lot of questions about the code. I suppose that after "IN JUMP FOR 
DEP" we wait till the length of the reply is 7, what means that the phone is 
waiting the data. However, I receive the repplies you can see above.

Could you help me? Could it be because the phone sends that message while the 
thread is sleeping?

I have done the tests with Android Beam enabled and disabled with no 
differences.

I would be grateful if you could help me.

Original issue reported on code.google.com by rporr...@gmail.com on 19 Nov 2012 at 1:36

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions