Hello ,
Hi everyone ,
Hi Pan, Can you tell me more about you-use device (firmware version) and did you try to launch the debug to see line # in which the message is generated? Thank you30/07/2012 Pan Shaw < xiaop...@gmail.com >
Hi, Zakaria,I'm new to NFC.I download your test project today, I have a Nexus S ACR122 NFC reader and a, well, I execute the java part on PC, and press the "send it" button, then I open the android application on Nexus S and put the phone on the ACR122 reader, android beam is triggered, but the communication seems not successful, the java part stay waiting ... sometimes showing android application does not show the text received.Do I need something else to do? Whether or I make some mistakes in operating?hope your answers.PS: I use eclipse to run the java part, the console show column: Error sending message [ D440010520060F636F6D2E616E6472 6F69642E6E7070] (0.22) = [SW1: 99, SW2: 0, Data:]> On Tuesday, 29 May 2012 15:39:49 UTC +8 Zakaria wrote Chentouf:
Hi everyone,
I correct my project and everything works well know. I let this test project for others people.
Hope it will be helpful for you
First -> Java Part
litle This application allow you to send your message to Nexus. Then she wait for confirmation but if you do not confirm in the 60s, another thread restart the application.
Second part -> Android application
This one just show you the message you receive fron your reader, then allow you to confirm the transaction.
INFO : org.nfctools.examples.llcp.LlcpService - Connected to ACS ACR122 0INFO : org.nfctools.spi.acs.AcsTerminal - Waiting...DEBUG: org.nfctools.spi.acs.ApduReaderWriter - command APDU => FF0000002DD48C0008001234564001FE0100000000000000000000000000FFFF01FE01000000000000000646666D01011000DEBUG: org.nfctools.spi.acs.ApduReaderWriter - response APDU <=org.nfctools.spi.acs.ApduException: Error sending message [D48C0008001234564001FE0100000000000000000000000000FFFF01FE01000000000000000646666D01011000] (0,45) => []at org.nfctools.spi.acs.ApduReaderWriter.write(ApduReaderWriter.java:111)at org.nfctools.spi.tama.AbstractTamaCommunicator.sendMessageInternal(AbstractTamaCommunicator.java:64)at org.nfctools.spi.tama.AbstractTamaCommunicator.sendMessage(AbstractTamaCommunicator.java:53)at org.nfctools.spi.tama.nfcip.TamaNfcIpCommunicator.connectAsTarget(TamaNfcIpCommunicator.java:109)at org.nfctools.spi.acs.AcsTerminal.connectAsTarget(AcsTerminal.java:210)at org.nfctools.spi.acs.AcsTerminal.initTargetDep(AcsTerminal.java:182)at org.nfctools.examples.llcp.LlcpService.run(LlcpService.java:90)at org.nfctools.examples.llcp.LlcpService.main(LlcpService.java:148)
Mode: TARGETWaiting for P2P, press ENTER to exitDEBUG: org.nfctools.spi.acs.AcsDirectChannelTag - command: FF0000002DD48C0008001234564001FE0100000000000000000000000000FFFF01FE01000000000000000646666D01011000DEBUG: org.nfctools.spi.acs.AcsDirectChannelTag - response: 6300org.nfctools.spi.acs.ApduException: Error sending message [D48C0008001234564001FE0100000000000000000000000000FFFF01FE01000000000000000646666D01011000] (0,45) => [SW1: 99, SW2:0, Data: ]at org.nfctools.spi.acs.ApduTagReaderWriter.write(ApduTagReaderWriter.java:43)at org.nfctools.spi.tama.AbstractTamaCommunicator.sendMessageInternal(AbstractTamaCommunicator.java:64)at org.nfctools.spi.tama.AbstractTamaCommunicator.sendMessage(AbstractTamaCommunicator.java:53)at org.nfctools.spi.tama.nfcip.TamaNfcIpCommunicator.connectAsTarget(TamaNfcIpCommunicator.java:109)at org.nfctools.spi.acs.TargetTerminalTagScanner.run(TargetTerminalTagScanner.java:39)at java.lang.Thread.run(Unknown Source)
--
Sie erhalten diese Nachricht, weil Sie in Google Groups ein Thema der Gruppe "nfc-developers" abonniert haben.
Wenn Sie sich von diesem Thema abmelden möchten, rufen Sie https://groups.google.com/d/topic/nfc-developers/BB_xCCGeFRU/unsubscribe auf.
Wenn Sie sich von dieser Gruppe und allen Themen dieser Gruppe abmelden möchten, senden Sie eine E-Mail an nfc-developer...@googlegroups.com.
Weitere Optionen finden Sie unter https://groups.google.com/d/optout.