grundid / nfctools-examples

Examples for the nfctools library
69 stars 55 forks source link

Starting with LLCP: org.nfctools.spi.scm.GeneralFailureException #1

Open monwolf opened 12 years ago

monwolf commented 12 years ago

Hi everbody, i'm newbie programming in java and NFC too. I'm trying to Run the examples for LLCP protocol, but i have this error every time, when I put my mobile device with NFC, i'm running on windows 7 and android 4.1.1. I tried to connect with this App using beam:

DEBUG: org.nfctools.ndefpush.NdefPushLlcpService - 0 NDEF messages to send INFO : org.nfctools.spi.scm.SclTerminal - Disconnect from card INFO : org.nfctools.utils.LoggingStatusListener - Status: DISCONNECTED INFO : org.nfctools.utils.LoggingStatusListener - Status: WAITING INFO : org.nfctools.spi.scm.SclTerminal - Waiting... org.nfctools.spi.scm.GeneralFailureException at org.nfctools.spi.scm.Scl3711.transmit(Scl3711.java:100) at org.nfctools.spi.scm.Scl3711.initiatorConnect(Scl3711.java:119) at org.nfctools.spi.scm.Scl3711NfcipManager.connectAsInitiator(Scl3711NfcipManager.java:43) at org.nfctools.spi.scm.SclTerminal.initInitiatorDep(SclTerminal.java:76) at main.java.org.nfctools.examples.llcp.LlcpService.run(LlcpService.java:96) at main.java.org.nfctools.examples.llcp.LlcpService.main(LlcpService.java:156)

I've tried to run: org.nfctools.examples.llcp.LlcpService, org.nfctools.examples.llcp.LlcpDemo, and org.nfctools.examples.llcp.P2P. And my NFC reader is: Scl3711