<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[libnfc developers community - NFCIP Peer 2 Peer]]></title>
		<link>http://www.libnfc.org/community/</link>
		<description><![CDATA[The most recent topics at libnfc developers community.]]></description>
		<lastBuildDate>Tue, 24 Jan 2012 14:26:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[LLCP workflow - how to receive data from target]]></title>
			<link>http://www.libnfc.org/community/topic/562/llcp-workflow-how-to-receive-data-from-target/new/posts/</link>
			<description><![CDATA[<p>Hi,</p><p>I am new on the forum.<br />I have some issues with LLCP understanding..</p><p>I already able communicate between 2 NFC devices. However, my code works only on one way.<br />I can push a message to the target but I can&#039;t succeed to receive one from target.</p><p>here my log file with big steps of LLCP<br /></p><div class="codebox"><pre><code>Send Symm
Initiator -&gt; send Symm [9]: 74 06 0F 06 D4 06 00 00 00 
&gt;&gt;&gt;| Symm, DSAP=0, SSAP=0
Received data which was send from the Target
Initiator -&gt; received frame1[24] 17 17 D5 07 00 05 21 06 0F 63 6F 6D 2E 61 6E 64 72 6F 69 64 2E 6E 70 70 
&lt;&lt;&lt;| Connect, DSAP=1, SSAP=33


Send a Connect to the Target
Initiator -&gt; send Connect [26]: 74 17 0F 17 D4 06 01 05 21 06 0F 63 6F 6D 2E 61 6E 64 72 6F 69 64 2E 6E 70 70 
&gt;&gt;&gt;| Connect, DSAP=1, SSAP=33
Received data which was send from the Target
Initiator -&gt; received Connect response[11] 0A 0A D5 07 01 85 90 02 02 00 78
&lt;&lt;&lt;| Cc, DSAP=33, SSAP=16


Send a Push to the Target
Initiator -&gt; send Push [43]: 74 28 0F 28 D4 06 02 43 21 00 01 00 00 00 01 01 00 00 00 17 D1 01 13 54 02 65 6E 4E 44 45 46 20 50 75 73 68 20 53 61 6D 70 6C 65 
&gt;&gt;&gt;| I, DSAP=16, SSAP=33
Received data which was send from the Target
Initiator -&gt; received Push[8] 07 07 D5 07 02 87 50 01 
&lt;&lt;&lt;| Rr, DSAP=33, SSAP=16
Pushed successfully

how to get my data from target???
Send receiveReady  or I ???
Initiator -&gt; send RR [10]: 74 07 0F 07 D4 06 03 43 61 01 
&gt;&gt;&gt;| Rr, DSAP=16, SSAP=33



Send a Disconnect to the Target
Initiator -&gt; send Disconnect [9]: 74 06 0F 06 D4 06 04 41 61 
&gt;&gt;&gt;| Disc, DSAP=16, SSAP=33</code></pre></div><p>Could you explain me the LLCP workflow? the NFC forum documentation is not clear enough for me.</p><p>How can I receive the data from my target?<br />Do I have to send an I PDU ? to inverse the DSAP and SSAP? Do I have to fill the information parameter if yes with what information?<br />I have done some tests without success</p><p>Many thanks,<br />jmc</p>]]></description>
			<author><![CDATA[dummy@example.com (rconty)]]></author>
			<pubDate>Tue, 24 Jan 2012 14:26:34 +0000</pubDate>
			<guid>http://www.libnfc.org/community/topic/562/llcp-workflow-how-to-receive-data-from-target/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Android NPP push protocol and LLCP specification]]></title>
			<link>http://www.libnfc.org/community/topic/546/android-npp-push-protocol-and-llcp-specification/new/posts/</link>
			<description><![CDATA[<p>Hello can anyone tell me if Android&#039;s NPP push protocol is according to the NFC forum LLCP specification.&nbsp; According to the NPP protocol it pushes NDEF messages like:</p><p>1. Connect to LLCP socket with service name com.android.npp<br />2. Send the NPP Header following by NDEF Entries as defined in the Data Format section<br />3. Disconnect the LLCP socket</p><p><a href="http://static.googleusercontent.com/external_content/untrusted_dlcp/source.android.com/en//compatibility/ndef-push-protocol.pdf">http://static.googleusercontent.com/ext &#133; otocol.pdf</a></p><br /><p>Looking at the log I found that Android sends the Connect LLCP using 0x06 0x0F as the first 2 bytes followed by the service name. So it is using PDU Type 1011 which according to NFC forum is Reserved. Also the service name is not according to the NFC forum LLCP service uri specification which should be something like urn:nfc:sn:&lt;servicename&gt;.</p><p>also while sending the NPP data it doesn&#039;t follow any of the LLCP forum specific messages. It just pushes NDEF messages with ist own NPP header without using any of the defined LLCP message exchange format.</p><p>So can anyone tell me how does the android NPP push protocol is implemented on top of LLCP?</p>]]></description>
			<author><![CDATA[dummy@example.com (toyudai)]]></author>
			<pubDate>Tue, 27 Dec 2011 12:50:00 +0000</pubDate>
			<guid>http://www.libnfc.org/community/topic/546/android-npp-push-protocol-and-llcp-specification/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[LLCP-Test-Server PDU issue with Nexus S]]></title>
			<link>http://www.libnfc.org/community/topic/514/llcptestserver-pdu-issue-with-nexus-s/new/posts/</link>
			<description><![CDATA[<p>Hi,</p><p>I got some issue about LLCP connection with Google nexus s, my nfc board is NXP PN533. After got the LLCP information from Nexus S, our side just use InDataExchange response for &quot;01&nbsp; 00&nbsp; 00&quot;, later it came with the 0x13 error code, i think maybe because &quot;01 00 00&quot; was not an avaiable PDU can be recognized by Nexus S LLCP, but i don&#039;t know which PDU format is correct in this situation, if anybody know some informations about this?</p><p>Please reference the following log:</p><p>-------------------------------------------------------------------------------------------------------------------------------------------------------</p><p>root@desktop:/home/alcht/nfc-tools/libnfc-llcp/tools/llcp-test-server# ./llcp-test-server<br />lt-llcp-test-server: DBG nfc.c:227<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;1 device(s) found using PN53x USB driver<br />lt-llcp-test-server: DBG arygon.c:93<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;Serial auto-probing have been disabled at compile time. Skipping autoprobe.<br />lt-llcp-test-server: DBG pn53x_usb.c:260<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;Checking device 1d6b:0001<br />lt-llcp-test-server: DBG pn53x_usb.c:260<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;Checking device 1d6b:0001<br />lt-llcp-test-server: DBG pn53x_usb.c:260<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;Checking device 04cc:2533<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;GetFirmwareVersion<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 02&nbsp; fe&nbsp; d4&nbsp; 02&nbsp; 2a&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 06&nbsp; fa&nbsp; d5&nbsp; 03&nbsp; 33&nbsp; 02&nbsp; 07&nbsp; 07&nbsp; e5&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;ReadRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d4&nbsp; 06&nbsp; 63&nbsp; 3d&nbsp; 86&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d5&nbsp; 07&nbsp; 00&nbsp; 00&nbsp; 24&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;SetParameters<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 03&nbsp; fd&nbsp; d4&nbsp; 12&nbsp; 14&nbsp; 06&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 02&nbsp; fe&nbsp; d5&nbsp; 13&nbsp; 18&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG nfc.c:112<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;[NXP / PN533 - PN533 v2.7 (0x07)] has been claimed.<br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;ReadRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d4&nbsp; 06&nbsp; 63&nbsp; 02&nbsp; c1&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d5&nbsp; 07&nbsp; 00&nbsp; 00&nbsp; 24&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;WriteRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 05&nbsp; fb&nbsp; d4&nbsp; 08&nbsp; 63&nbsp; 02&nbsp; 80&nbsp; 3f&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 03&nbsp; fd&nbsp; d5&nbsp; 09&nbsp; 00&nbsp; 22&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;ReadRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d4&nbsp; 06&nbsp; 63&nbsp; 03&nbsp; c0&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d5&nbsp; 07&nbsp; 00&nbsp; 00&nbsp; 24&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;WriteRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 05&nbsp; fb&nbsp; d4&nbsp; 08&nbsp; 63&nbsp; 03&nbsp; 80&nbsp; 3e&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 03&nbsp; fd&nbsp; d5&nbsp; 09&nbsp; 00&nbsp; 22&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;ReadRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d4&nbsp; 06&nbsp; 63&nbsp; 0d&nbsp; b6&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d5&nbsp; 07&nbsp; 00&nbsp; 00&nbsp; 24&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;ReadRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d4&nbsp; 06&nbsp; 63&nbsp; 38&nbsp; 8b&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d5&nbsp; 07&nbsp; 00&nbsp; 00&nbsp; 24&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;ReadRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d4&nbsp; 06&nbsp; 63&nbsp; 03&nbsp; c0&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d5&nbsp; 07&nbsp; 00&nbsp; 80&nbsp; a4&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;ReadRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d4&nbsp; 06&nbsp; 63&nbsp; 03&nbsp; c0&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d5&nbsp; 07&nbsp; 00&nbsp; 80&nbsp; a4&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;ReadRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d4&nbsp; 06&nbsp; 63&nbsp; 05&nbsp; be&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d5&nbsp; 07&nbsp; 00&nbsp; 00&nbsp; 24&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;WriteRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 05&nbsp; fb&nbsp; d4&nbsp; 08&nbsp; 63&nbsp; 05&nbsp; 40&nbsp; 7c&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 03&nbsp; fd&nbsp; d5&nbsp; 09&nbsp; 00&nbsp; 22&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;ReadRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d4&nbsp; 06&nbsp; 63&nbsp; 3c&nbsp; 87&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 04&nbsp; fc&nbsp; d5&nbsp; 07&nbsp; 00&nbsp; 00&nbsp; 24&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;WriteRegister<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 05&nbsp; fb&nbsp; d4&nbsp; 08&nbsp; 63&nbsp; 3c&nbsp; 10&nbsp; 75&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 03&nbsp; fd&nbsp; d5&nbsp; 09&nbsp; 00&nbsp; 22&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;InJumpForDEP<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 17&nbsp; e9&nbsp; d4&nbsp; 56&nbsp; 00&nbsp; 02&nbsp; 07&nbsp; 00&nbsp; ff&nbsp; ff&nbsp; 00&nbsp; 00&nbsp; 00&nbsp; 01&nbsp; 02&nbsp; 03&nbsp; 04&nbsp; 05&nbsp; 06&nbsp; 07&nbsp; 08&nbsp; 09&nbsp; 46&nbsp; 66&nbsp; 6d&nbsp; 89&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 20&nbsp; e0&nbsp; d5&nbsp; 57&nbsp; 00&nbsp; 01&nbsp; 89&nbsp; 35&nbsp; 6e&nbsp; 23&nbsp; b0&nbsp; 8b&nbsp; 8a&nbsp; 68&nbsp; 7d&nbsp; 1c&nbsp; 00&nbsp; 00&nbsp; 00&nbsp; 0e&nbsp; 32&nbsp; 46&nbsp; 66&nbsp; 6d&nbsp; 01&nbsp; 01&nbsp; 10&nbsp; 03&nbsp; 02&nbsp; 00&nbsp; 01&nbsp; 04&nbsp; 01&nbsp; 96&nbsp; b2&nbsp; 00&nbsp; <br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;InDataExchange<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 05&nbsp; fb&nbsp; d4&nbsp; 40&nbsp; 01&nbsp; 00&nbsp; 00&nbsp; eb&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 03&nbsp; fd&nbsp; d5&nbsp; 41&nbsp; 13&nbsp; d7&nbsp; 00&nbsp; <br />STATUS = (nil)<br />I was the Initiator<br />lt-llcp-test-server: DBG pn53x.c:129<br />lt-llcp-test-server:&nbsp; &nbsp; &nbsp;InDeselect<br /> TX: 00&nbsp; 00&nbsp; ff&nbsp; 03&nbsp; fd&nbsp; d4&nbsp; 44&nbsp; 00&nbsp; e8&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; ff&nbsp; 00&nbsp; <br /> RX: 00&nbsp; 00&nbsp; ff&nbsp; 03&nbsp; fd&nbsp; d5&nbsp; 45&nbsp; 01&nbsp; e5&nbsp; 00 </p><p>------------------------------------------------------------------------------------------------------------------------------------------------------------</p><p>Regards</p>]]></description>
			<author><![CDATA[dummy@example.com (0blar)]]></author>
			<pubDate>Fri, 09 Dec 2011 07:55:29 +0000</pubDate>
			<guid>http://www.libnfc.org/community/topic/514/llcptestserver-pdu-issue-with-nexus-s/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[llcp-test-server and client end in hang condition]]></title>
			<link>http://www.libnfc.org/community/topic/532/llcptestserver-and-client-end-in-hang-condition/new/posts/</link>
			<description><![CDATA[<p>Hi,</p><p>first of all, thanks for libnfc and all the tools around it. Great work!!</p><p>I did some experiments with libnfc-llcp in order to get a basic understanding for<br />P2P transfers using LLCP. I tested with llcp-test-server and client and it caused <br />some kind of hang condition during tests and the inability to start the test code <br />again after killing the server and client codes. (btw: nfc-dep-target and inititator<br />examples from libnfc work fine)</p><p>Here my detailed problem description:<br />I am using two NFC readers (ARYGON, ADRB1US00) on one computer, the server code <br />was slightly modified in order&nbsp; not to use the same reader as the client.</p><p>On the server side I started:<br />./llcp-test-server --mode=target</p><p>On the client side:<br />./llcp-test-client --mode=initiator --test 1</p><p>Both sides seem to transfer data as expected, but a some point the communication<br />stops. Especially the client seems to have finished communication, and hangs during <br />MAC Link deactivation. </p><p>The server and client program can&#039;t be killed by pressing Ctr+C, only the kill<br />command works. After killing client and server, a restart of the client oder server code does<br />no longer work (nfc-list still works). No output, it just hangs. Unplugging and plugging in the readers<br />does not change anything <img src="http://www.libnfc.org/community/img/smilies/sad.png" width="15" height="15" alt="sad" /> Resetting USB-Ports also does not work. I fact the<br />only thing that works for me is rebooting the machine. </p><p>I am using latest svn versions of libnfc and libnfc-llcp. I am testing on Ubuntu 11.10 x86_64.</p><p>Here are the outputs (Is there a possibility to submit the full as an attachment? The two logs<br />exceed the limits, so I can only post parts of it...)<br />Client:<br />[stderr] 20111204 11:03:45.546 TRACE&nbsp; &nbsp; libnfc-llcp.llc.link- service 0x2080dd0 bound to SAP 1<br />[stderr] 20111204 11:03:45.547 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.mac.link- (PN532 (/dev/ttyUSB1) - PN532 v1.4 (0x07)) Attempting to activate LLCP Link as initiator<br />[stderr] 20111204 11:03:45.567 DEBUG&nbsp; &nbsp; libnfc-llcp.mac.link- (PN532 (/dev/ttyUSB1) - PN532 v1.4 (0x07)) nfc_initiator_init() succeeded<br />[stderr] 20111204 11:03:45.632 DEBUG&nbsp; &nbsp; libnfc-llcp.mac.link- (PN532 (/dev/ttyUSB1) - PN532 v1.4 (0x07)) nfc_initiator_select_dep_target() succeeded<br />[stderr] 20111204 11:03:45.632 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.mac.link- (PN532 (/dev/ttyUSB1) - PN532 v1.4 (0x07)) LLCP Link activated (initiator)<br />[stderr] 20111204 11:03:45.632 TRACE&nbsp; &nbsp; libnfc-llcp.llc.link- llc_link_configure (0x2081b60, (nil), 0)<br />[stderr] 20111204 11:03:45.632 DEBUG&nbsp; &nbsp; libnfc-llcp.llc.link- mq_open (/libnfc-llcp-2336-0x2081b60-up)<br />[stderr] 20111204 11:03:45.633 DEBUG&nbsp; &nbsp; libnfc-llcp.llc.link- mq_open (/libnfc-llcp-2336-0x2081b60-down)<br />[stderr] 20111204 11:03:45.633 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.llc.link- LLC Link started successfully<br />[stderr] 20111204 11:03:45.633 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.llc.llc- (0x7f935972f700) Link activated<br />[stderr] 20111204 11:03:45.633 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) mq_receive+<br />[stderr] 20111204 11:03:45.633 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:45.655 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes (Requested 8192, buffer size 2)<br />[stderr] 20111204 11:03:45.655 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />.<br />.<br />.<br />[stderr] 20111204 11:03:48.605 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) Received 2 bytes<br />[stderr] 20111204 11:03:48.605 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) Symmetry PDU<br />[stderr] 20111204 11:03:48.605 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) mq_send+<br />[stderr] 20111204 11:03:48.605 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) Nothing to send<br />[stderr] 20111204 11:03:48.605 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) mq_receive+<br />[stderr] 20111204 11:03:48.605 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:48.605 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:48.628 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes (Requested 8192, buffer size 2)<br />[stderr] 20111204 11:03:48.628 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />[stderr] 20111204 11:03:48.628 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) Received 2 bytes<br />[stderr] 20111204 11:03:48.628 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) Symmetry PDU<br />[stderr] 20111204 11:03:48.628 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) mq_send+<br />[stderr] 20111204 11:03:48.628 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) Nothing to send<br />[stderr] 20111204 11:03:48.628 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7f935972f700) mq_receive+<br />[stderr] 20111204 11:03:48.628 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:48.628 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:48.633 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.llc.link- Deactivating LLC Link<br />[stderr] 20111204 11:03:48.633 DEBUG&nbsp; &nbsp; libnfc-llcp.llc.link- The LLC Link has an active MAC link<br />[stderr] 20111204 11:03:48.633 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.mac.link- MAC Link deactivation requested (reason: 0)</p><br /><br /><p>Server:<br />[stderr] 20111204 11:03:42.544 TRACE&nbsp; &nbsp; libnfc-llcp.llc.link- service 0x1722dd0 bound to SAP 1<br />[stderr] 20111204 11:03:42.545 TRACE&nbsp; &nbsp; libnfc-llcp.llc.link- service 0x1722c80 bound to SAP 16<br />[stderr] 20111204 11:03:42.545 TRACE&nbsp; &nbsp; libnfc-llcp.llc.link- service 0x1722e70 bound to SAP 17<br />[stderr] 20111204 11:03:42.545 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.mac.link- (PN532 (/dev/ttyUSB0) - PN532 v1.4 (0x07)) Attempting to activate LLCP Link as target (blocking)<br />[stderr] 20111204 11:03:45.624 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.mac.link- (PN532 (/dev/ttyUSB0) - PN532 v1.4 (0x07)) LLCP Link activated (target)<br />[stderr] 20111204 11:03:45.624 TRACE&nbsp; &nbsp; libnfc-llcp.llc.link- llc_link_configure (0x1723b60, 0x7fff391354c4, 0)<br />[stderr] 20111204 11:03:45.624 DEBUG&nbsp; &nbsp; libnfc-llcp.llc.link- mq_open (/libnfc-llcp-2322-0x1723b60-up)<br />[stderr] 20111204 11:03:45.625 DEBUG&nbsp; &nbsp; libnfc-llcp.llc.link- mq_open (/libnfc-llcp-2322-0x1723b60-down)<br />[stderr] 20111204 11:03:45.625 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.llc.link- LLC Link started successfully<br />[stderr] 20111204 11:03:45.625 INFO&nbsp; &nbsp; &nbsp;libnfc-llcp.llc.llc- (0x7ff385455700) Link activated<br />[stderr] 20111204 11:03:45.625 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_receive+<br />[stderr] 20111204 11:03:45.625 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Waiting for MAC Link PDU exchange thread to exit<br />[stderr] 20111204 11:03:45.644 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />[stderr] 20111204 11:03:45.644 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />[stderr] 20111204 11:03:45.645 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Received 2 bytes<br />[stderr] 20111204 11:03:45.645 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:45.645 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:45.645 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Symmetry PDU<br />[stderr] 20111204 11:03:45.645 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_send+<br />[stderr] 20111204 11:03:45.645 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Nothing to send<br />[stderr] 20111204 11:03:45.645 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_receive+<br />[stderr] 20111204 11:03:45.667 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />[stderr] 20111204 11:03:45.667 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />[stderr] 20111204 11:03:45.667 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Received 2 bytes<br />[stderr] 20111204 11:03:45.668 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Symmetry PDU<br />[stderr] 20111204 11:03:45.668 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_send+<br />[stderr] 20111204 11:03:45.668 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Nothing to send<br />[stderr] 20111204 11:03:45.668 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_receive+<br />.<br />.<br />.<br />[stderr] 20111204 11:03:48.594 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Received 2 bytes<br />[stderr] 20111204 11:03:48.594 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Symmetry PDU<br />[stderr] 20111204 11:03:48.594 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_send+<br />[stderr] 20111204 11:03:48.594 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Nothing to send<br />[stderr] 20111204 11:03:48.594 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_receive+<br />[stderr] 20111204 11:03:48.617 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />[stderr] 20111204 11:03:48.617 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />[stderr] 20111204 11:03:48.617 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:48.617 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:48.617 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Received 2 bytes<br />[stderr] 20111204 11:03:48.617 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Symmetry PDU<br />[stderr] 20111204 11:03:48.617 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_send+<br />[stderr] 20111204 11:03:48.617 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Nothing to send<br />[stderr] 20111204 11:03:48.617 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_receive+<br />[stderr] 20111204 11:03:48.640 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />[stderr] 20111204 11:03:48.640 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Received 2 bytes<br />[stderr] 20111204 11:03:48.640 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:48.641 TRACE&nbsp; &nbsp; libnfc-llcp.mac.link- Sending 2 bytes<br />[stderr] 20111204 11:03:48.641 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Received 2 bytes<br />[stderr] 20111204 11:03:48.641 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Symmetry PDU<br />[stderr] 20111204 11:03:48.641 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_send+<br />[stderr] 20111204 11:03:48.641 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) Nothing to send<br />[stderr] 20111204 11:03:48.641 TRACE&nbsp; &nbsp; libnfc-llcp.llc.llc- (0x7ff385455700) mq_receive+</p><p>Trying to restart one of the codes (client or server) produces no output. Maybe an strace<br />of the call is of interest:</p><p>execve(&quot;./llcp-test-client&quot;, [&quot;./llcp-test-client&quot;, &quot;--mode=initiator&quot;, &quot;--test&quot;, &quot;1&quot;], [/* 43 vars */]) = 0<br />brk(0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x2638000<br />access(&quot;/etc/ld.so.nohwcap&quot;, F_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe4a9c40000<br />access(&quot;/etc/ld.so.preload&quot;, R_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />open(&quot;/etc/ld.so.cache&quot;, O_RDONLY)&nbsp; &nbsp; &nbsp; = 3<br />fstat(3, {st_mode=S_IFREG|0644, st_size=139442, ...}) = 0<br />mmap(NULL, 139442, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe4a9c1d000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />access(&quot;/etc/ld.so.nohwcap&quot;, F_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />open(&quot;/lib/libncurses.so.5&quot;, O_RDONLY)&nbsp; = 3<br />.<br />.<br />.<br />execve(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/tools/llcp-test-client/.libs/lt-llcp-test-client&quot;, [&quot;/home/klug/install/nfc/nfc-tools&quot;..., &quot;--mode=initiator&quot;, &quot;--test&quot;, &quot;1&quot;], [/* 43 vars */]) = 0<br />brk(0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x2343000<br />access(&quot;/etc/ld.so.nohwcap&quot;, F_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2607490000<br />access(&quot;/etc/ld.so.preload&quot;, R_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/tls/x86_64/libnfc.so.2&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br />stat(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/tls/x86_64&quot;, 0x7fff52927250) = -1 ENOENT (No such file or directory)<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/tls/libnfc.so.2&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br />stat(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/tls&quot;, 0x7fff52927250) = -1 ENOENT (No such file or directory)<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/x86_64/libnfc.so.2&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br />stat(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/x86_64&quot;, 0x7fff52927250) = -1 ENOENT (No such file or directory)<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/libnfc.so.2&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br />stat(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs&quot;, {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0<br />open(&quot;/etc/ld.so.cache&quot;, O_RDONLY)&nbsp; &nbsp; &nbsp; = 3<br />fstat(3, {st_mode=S_IFREG|0644, st_size=139442, ...}) = 0<br />mmap(NULL, 139442, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f260746d000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />access(&quot;/etc/ld.so.nohwcap&quot;, F_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />open(&quot;/usr/local/lib/libnfc.so.2&quot;, O_RDONLY) = 3<br />read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0\320Y\0\0\0\0\0\0&quot;..., 832) = 832<br />fstat(3, {st_mode=S_IFREG|0755, st_size=170348, ...}) = 0<br />mmap(NULL, 2188832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f260705b000<br />mprotect(0x7f2607070000, 2093056, PROT_NONE) = 0<br />mmap(0x7f260726f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f260726f000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/libnfc-llcp.so.0&quot;, O_RDONLY) = 3<br />read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0 5\0\0\0\0\0\0&quot;..., 832) = 832<br />fstat(3, {st_mode=S_IFREG|0775, st_size=157881, ...}) = 0<br />mmap(NULL, 2151424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2606e4d000<br />mprotect(0x7f2606e5a000, 2093056, PROT_NONE) = 0<br />mmap(0x7f2607059000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f2607059000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/libc.so.6&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br />access(&quot;/etc/ld.so.nohwcap&quot;, F_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />open(&quot;/lib/x86_64-linux-gnu/libc.so.6&quot;, O_RDONLY) = 3<br />read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0 \24\2\0\0\0\0\0&quot;..., 832) = 832<br />fstat(3, {st_mode=S_IFREG|0755, st_size=1677624, ...}) = 0<br />mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f260746c000<br />mmap(NULL, 3793768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2606aae000<br />mprotect(0x7f2606c43000, 2093056, PROT_NONE) = 0<br />mmap(0x7f2606e42000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x194000) = 0x7f2606e42000<br />mmap(0x7f2606e47000, 21352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2606e47000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/liblog4c.so.3&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br />access(&quot;/etc/ld.so.nohwcap&quot;, F_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />open(&quot;/usr/lib/liblog4c.so.3&quot;, O_RDONLY) = 3<br />read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0\220O\0\0\0\0\0\0&quot;..., 832) = 832<br />fstat(3, {st_mode=S_IFREG|0644, st_size=69144, ...}) = 0<br />mmap(NULL, 2166352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f260689d000<br />mprotect(0x7f26068ad000, 2093056, PROT_NONE) = 0<br />mmap(0x7f2606aac000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7f2606aac000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/librt.so.1&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br />access(&quot;/etc/ld.so.nohwcap&quot;, F_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />open(&quot;/lib/x86_64-linux-gnu/librt.so.1&quot;, O_RDONLY) = 3<br />read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0\200!\0\0\0\0\0\0&quot;..., 832) = 832<br />fstat(3, {st_mode=S_IFREG|0644, st_size=31752, ...}) = 0<br />mmap(NULL, 2129016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2606695000<br />mprotect(0x7f260669c000, 2093056, PROT_NONE) = 0<br />mmap(0x7f260689b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f260689b000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/libexpat.so.1&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br />access(&quot;/etc/ld.so.nohwcap&quot;, F_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />open(&quot;/lib/x86_64-linux-gnu/libexpat.so.1&quot;, O_RDONLY) = 3<br />read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0\3009\0\0\0\0\0\0&quot;..., 832) = 832<br />fstat(3, {st_mode=S_IFREG|0644, st_size=169992, ...}) = 0<br />mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f260746b000<br />mmap(NULL, 2265168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f260646b000<br />mprotect(0x7f2606492000, 2097152, PROT_NONE) = 0<br />mmap(0x7f2606692000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27000) = 0x7f2606692000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />open(&quot;/home/klug/install/nfc/nfc-tools-read-only/libnfc-llcp/libnfc-llcp/.libs/libpthread.so.0&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br />access(&quot;/etc/ld.so.nohwcap&quot;, F_OK)&nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />open(&quot;/lib/x86_64-linux-gnu/libpthread.so.0&quot;, O_RDONLY) = 3<br />read(3, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0Pl\0\0\0\0\0\0&quot;..., 832) = 832<br />fstat(3, {st_mode=S_IFREG|0755, st_size=135500, ...}) = 0<br />mmap(NULL, 2212920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f260624e000<br />mprotect(0x7f2606266000, 2093056, PROT_NONE) = 0<br />mmap(0x7f2606465000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f2606465000<br />mmap(0x7f2606467000, 13368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2606467000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f260746a000<br />mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2607468000<br />arch_prctl(ARCH_SET_FS, 0x7f2607468720) = 0<br />mprotect(0x7f2606465000, 4096, PROT_READ) = 0<br />mprotect(0x7f2606692000, 8192, PROT_READ) = 0<br />mprotect(0x7f260689b000, 4096, PROT_READ) = 0<br />mprotect(0x7f2606aac000, 4096, PROT_READ) = 0<br />mprotect(0x7f2606e42000, 16384, PROT_READ) = 0<br />mprotect(0x7f2607059000, 4096, PROT_READ) = 0<br />mprotect(0x7f260726f000, 8192, PROT_READ) = 0<br />mprotect(0x602000, 4096, PROT_READ)&nbsp; &nbsp; &nbsp;= 0<br />mprotect(0x7f2607492000, 4096, PROT_READ) = 0<br />munmap(0x7f260746d000, 139442)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />set_tid_address(0x7f26074689f0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 4354<br />set_robust_list(0x7f2607468a00, 0x18)&nbsp; &nbsp;= 0<br />futex(0x7fff52927b2c, FUTEX_WAKE_PRIVATE, 1) = 0<br />futex(0x7fff52927b2c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f2607468720) = -1 EAGAIN (Resource temporarily unavailable)<br />rt_sigaction(SIGRTMIN, {0x7f26062546c0, [], SA_RESTORER|SA_SIGINFO, 0x7f260625e060}, NULL, 8) = 0<br />rt_sigaction(SIGRT_1, {0x7f2606254750, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f260625e060}, NULL, 8) = 0<br />rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0<br />getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0<br />rt_sigaction(SIGUSR1, {0x7f2606e505f0, [], SA_RESTORER, 0x7f2606ae4420}, NULL, 8) = 0<br />statfs(&quot;/dev/shm&quot;, {f_type=0x1021994, f_bsize=4096, f_blocks=502909, f_bfree=502840, f_bavail=502840, f_files=502909, f_ffree=502898, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0<br />futex(0x7f260646a328, FUTEX_WAKE_PRIVATE, 2147483647) = 0<br />open(&quot;/dev/shm/sem.libnfc-llcp&quot;, O_RDWR|O_NOFOLLOW) = 3<br />fstat(3, {st_mode=S_IFREG|0664, st_size=32, ...}) = 0<br />brk(0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x2343000<br />brk(0x2364000)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x2364000<br />mmap(NULL, 32, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0x7f260748f000<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />access(&quot;/etc/log4crc&quot;, R_OK)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />access(&quot;/home/klug/.log4crc&quot;, R_OK)&nbsp; &nbsp; &nbsp;= -1 ENOENT (No such file or directory)<br />access(&quot;./log4crc&quot;, R_OK)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />stat(&quot;./log4crc&quot;, {st_mode=S_IFREG|0664, st_size=785, ...}) = 0<br />open(&quot;./log4crc&quot;, O_RDONLY)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 3<br />fstat(3, {st_mode=S_IFREG|0664, st_size=785, ...}) = 0<br />mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f260748e000<br />read(3, &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;IS&quot;..., 8192) = 785<br />read(3, &quot;&quot;, 4096)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />munmap(0x7f260748e000, 4096)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />rt_sigaction(SIGINT, {0x401730, [INT], SA_RESTORER|SA_RESTART, 0x7f2606ae4420}, {SIG_DFL, [], 0}, 8) = 0<br />open(&quot;/dev&quot;, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3<br />fcntl(3, F_GETFD)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1 (flags FD_CLOEXEC)<br />getdents(3, /* 224 entries */, 32768)&nbsp; &nbsp;= 6624<br />getdents(3, /* 0 entries */, 32768)&nbsp; &nbsp; &nbsp;= 0<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />open(&quot;/dev/ttyUSB0&quot;, O_RDWR|O_NOCTTY|O_NONBLOCK) = 3<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_START or TCSETS, {B0 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, TCFLSH, 0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, FIONREAD, [0])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_STOP or TCSETSW, {B115200 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0<br />pipe([4, 5])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />ioctl(3, TCFLSH, 0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, FIONREAD, [0])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />write(3, &quot;UU\0\0\0&quot;, 5)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 5<br />ioctl(3, TCFLSH, 0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, FIONREAD, [0])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />write(3, &quot;\0\0\377\3\375\324\24\1\27\0&quot;, 10) = 10<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 997985})<br />ioctl(3, FIONREAD, [6])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0\0\377\0\377\0&quot;, 6)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 6<br />select(6, [3 5], NULL, NULL, {1, 0})&nbsp; &nbsp; = 1 (in [3], left {0, 998374})<br />ioctl(3, FIONREAD, [9])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0\0\377\2\376&quot;, 5)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 5<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [4])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\325\25&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 2<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [2])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\26\0&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 2<br />write(3, &quot;\0\0\377\t\367\324\0\0libnfc\276\0&quot;, 16) = 16<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 996645})<br />ioctl(3, FIONREAD, [6])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0\0\377\0\377\0&quot;, 6)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 6<br />select(6, [3 5], NULL, NULL, {1, 0})&nbsp; &nbsp; = 1 (in [3], left {0, 998592})<br />ioctl(3, FIONREAD, [16])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />read(3, &quot;\0\0\377\t\367&quot;, 5)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 5<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [11])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />read(3, &quot;\325\1&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 2<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [9])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0libnfc&quot;, 7)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 7<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [2])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\274\0&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 2<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_START or TCSETS, {B115200 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />access(&quot;/etc/log4crc&quot;, R_OK)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = -1 ENOENT (No such file or directory)<br />access(&quot;/home/klug/.log4crc&quot;, R_OK)&nbsp; &nbsp; &nbsp;= -1 ENOENT (No such file or directory)<br />access(&quot;./log4crc&quot;, R_OK)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />stat(&quot;./log4crc&quot;, {st_mode=S_IFREG|0664, st_size=785, ...}) = 0<br />open(&quot;./log4crc&quot;, O_RDONLY)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 3<br />fstat(3, {st_mode=S_IFREG|0664, st_size=785, ...}) = 0<br />mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f260748e000<br />read(3, &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;IS&quot;..., 8192) = 785<br />read(3, &quot;&quot;, 4096)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />close(3)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />munmap(0x7f260748e000, 4096)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />open(&quot;/dev/ttyUSB0&quot;, O_RDWR|O_NOCTTY|O_NONBLOCK) = 3<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_START or TCSETS, {B0 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, TCFLSH, 0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, FIONREAD, [0])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_STOP or TCSETSW, {B115200 -opost -isig -icanon -echo ...}) = 0<br />ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo ...}) = 0<br />pipe([6, 7])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />ioctl(3, TCFLSH, 0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, FIONREAD, [0])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />write(3, &quot;UU\0\0\0&quot;, 5)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 5<br />ioctl(3, TCFLSH, 0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, FIONREAD, [0])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />write(3, &quot;\0\0\377\3\375\324\24\1\27\0&quot;, 10) = 10<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 997612})<br />ioctl(3, FIONREAD, [6])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0\0\377\0\377\0&quot;, 6)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 6<br />select(8, [3 7], NULL, NULL, {1, 0})&nbsp; &nbsp; = 1 (in [3], left {0, 998636})<br />ioctl(3, FIONREAD, [9])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0\0\377\2\376&quot;, 5)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 5<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [4])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\325\25&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 2<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [2])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\26\0&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 2<br />write(3, &quot;\0\0\377\t\367\324\0\0libnfc\276\0&quot;, 16) = 16<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 997028})<br />ioctl(3, FIONREAD, [6])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0\0\377\0\377\0&quot;, 6)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 6<br />select(8, [3 7], NULL, NULL, {1, 0})&nbsp; &nbsp; = 1 (in [3], left {0, 998392})<br />ioctl(3, FIONREAD, [16])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />read(3, &quot;\0\0\377\t\367&quot;, 5)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 5<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [11])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />read(3, &quot;\325\1&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 2<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [9])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0libnfc&quot;, 7)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 7<br />select(4, [3], NULL, NULL, {1, 0})&nbsp; &nbsp; &nbsp; = 1 (in [3], left {0, 999995})<br />ioctl(3, FIONREAD, [2])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\274\0&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 2<br />ioctl(3, TCFLSH, 0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, FIONREAD, [0])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />write(3, &quot;\0\0\377\2\376\324\2*\0&quot;, 9)&nbsp; = 9<br />select(4, [3], NULL, NULL, NULL)&nbsp; &nbsp; &nbsp; &nbsp; = 1 (in [3])<br />ioctl(3, FIONREAD, [6])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0\0\377\0\377\0&quot;, 6)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 6<br />select(8, [3 7], NULL, NULL, NULL)&nbsp; &nbsp; &nbsp; = 1 (in [3])<br />ioctl(3, FIONREAD, [13])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0<br />read(3, &quot;\0\0\377\6\372&quot;, 5)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 5<br />select(4, [3], NULL, NULL, NULL)&nbsp; &nbsp; &nbsp; &nbsp; = 1 (in [3])<br />ioctl(3, FIONREAD, [8])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\325\3&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 2<br />select(4, [3], NULL, NULL, NULL)&nbsp; &nbsp; &nbsp; &nbsp; = 1 (in [3])<br />ioctl(3, FIONREAD, [6])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;2\1\4\7&quot;, 4)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 4<br />select(4, [3], NULL, NULL, NULL)&nbsp; &nbsp; &nbsp; &nbsp; = 1 (in [3])<br />ioctl(3, FIONREAD, [2])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\352\0&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 2<br />ioctl(3, TCFLSH, 0)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />ioctl(3, FIONREAD, [0])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />write(3, &quot;\0\0\377\3\375\324\22\24\6\0&quot;, 10) = 10<br />select(4, [3], NULL, NULL, NULL)&nbsp; &nbsp; &nbsp; &nbsp; = 1 (in [3])<br />ioctl(3, FIONREAD, [6])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0\0\377\0\377\0&quot;, 6)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 6<br />select(8, [3 7], NULL, NULL, NULL)&nbsp; &nbsp; &nbsp; = 1 (in [3])<br />ioctl(3, FIONREAD, [9])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\0\0\377\2\376&quot;, 5)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 5<br />select(4, [3], NULL, NULL, NULL)&nbsp; &nbsp; &nbsp; &nbsp; = 1 (in [3])<br />ioctl(3, FIONREAD, [4])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\325\23&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 2<br />select(4, [3], NULL, NULL, NULL)&nbsp; &nbsp; &nbsp; &nbsp; = 1 (in [3])<br />ioctl(3, FIONREAD, [2])&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0<br />read(3, &quot;\30\0&quot;, 2)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 2<br />futex(0x7f260748f000, FUTEX_WAIT, 0, NULL &lt;unfinished ...&gt;</p><p>I would be happy to get a hint what is going wrong.</p><p>Thanks in advance!</p><p>Cheers,</p><p>&nbsp; &nbsp; &nbsp; &nbsp; Tobi</p>]]></description>
			<author><![CDATA[dummy@example.com (tontix)]]></author>
			<pubDate>Sun, 04 Dec 2011 14:18:39 +0000</pubDate>
			<guid>http://www.libnfc.org/community/topic/532/llcptestserver-and-client-end-in-hang-condition/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Google/Samsung Nexus S: libnfc-nxp is not libnfc]]></title>
			<link>http://www.libnfc.org/community/topic/266/googlesamsung-nexus-s-libnfcnxp-is-not-libnfc/new/posts/</link>
			<description><![CDATA[<p>Hi, those that have pulled the new Android 2.3 &quot;Gingerbread&quot; source code released today: It seems that libnfc is now officially part of Android, see platform/external/libnfc-nxp.git</p><p>The &quot;-nxp&quot; suffix suggests it&#039;s catering to NXP&#039;s PN544 found inside the Nexus S, currently the only NFC equipped Android device.</p><p>Now, the only NFC capability exposed in the Android Java API for now is simple tag reading -- now I am wondering whether P2P functionality would be accessible to apps via additional native and/or Java code, and whether that would require rooting the Nexus S or not. (The last commit says &quot;disable NFC P2P functionality&quot;, uh oh seems like root will be required to undo that.)</p><p>The situation seems similar to Bluetooth where limited Bluetooth functionality is available in the official Java API but most of what the BlueZ stack offers can be accessed via additional Java code like Bluecove.</p><p>If anyone managed to get their mittens on a Nexus S and/or can judge this by looking at the code, your feedback appreciated. Access to NFC P2P functionality decides whether I will buy a Nexus S or not.</p>]]></description>
			<author><![CDATA[dummy@example.com (htcdude)]]></author>
			<pubDate>Wed, 22 Dec 2010 05:13:58 +0000</pubDate>
			<guid>http://www.libnfc.org/community/topic/266/googlesamsung-nexus-s-libnfcnxp-is-not-libnfc/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[P2P with a Nokia 6212]]></title>
			<link>http://www.libnfc.org/community/topic/76/p2p-with-a-nokia-6212/new/posts/</link>
			<description><![CDATA[<p>I&#039;m tryng to comunicate in P2P with a NFC mobile phone (Nokia 6212): I&#039;ve tried both <strong>nfc-initiator</strong> and <strong>nfc-target</strong> programs but the device is never recognized.</p><p>Any ideas why the standard command &quot;jump for dep&quot; doesn&#039;t recognize and activate the mobile phone?</p>]]></description>
			<author><![CDATA[dummy@example.com (banku111)]]></author>
			<pubDate>Sat, 01 May 2010 17:21:19 +0000</pubDate>
			<guid>http://www.libnfc.org/community/topic/76/p2p-with-a-nokia-6212/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Communicate from PN533 to Nokia 6212]]></title>
			<link>http://www.libnfc.org/community/topic/148/communicate-from-pn533-to-nokia-6212/new/posts/</link>
			<description><![CDATA[<p>Hello everyone!</p><p>I try to send data to a Nokia 6212 with PN533.<br />I send the letter several times.<br />But I get an error &quot;0x13&quot; in return (error format DATA).<br />Can someone tell me if I am on track to send DATA to GSM?</p><p>The NFCID3 GSM is 00 00 00 00 00 00 00 00 00 00.</p><p>Here is the script:</p><br /><p>//InJumpForPSL<br />//This command is used by a host controller to activate a target using either active or<br />//passive communication mode.<br />//If a target is in the field, it will then be ready for PSL or DEP exchanges.</p><p>46 01 00 01 00 00 00 00 00 00 00 00 00 00;</p><p>//InDataExchange<br />//This command is used to support protocol data exchanges between the PN533 as<br />//initiator and a target.</p><p>40 01 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41;</p><br /><p>//switch off field<br />32 01 00;</p><p>===============================================================<br />RESPONSE:</p><p>//InJumpForPSL<br />//This command is used by a host controller to activate a target using either active or<br />//passive communication mode.<br />//If a target is in the field, it will then be ready for PSL or DEP exchanges.</p><p>PC -&gt; IFD : INITIATOR : JUMP FOR PSL<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 FF 0F F1 D4 46 01 00 01 00 00 00 00 00 00 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 00 00 E4 00 <br />IFD -&gt; PC : ACK<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 FF 00 FF 00 <br />IFD -&gt; PC : INITIATOR : JUMP FOR PSL EXECUTED<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 FF 13 ED D5 47 00 01 00 00 00 00 00 00 00 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 00 00 00 00 07 02 DA 00 </p><br /><p>//InDataExchange<br />//This command is used to support protocol data exchanges between the PN533 as<br />//initiator and a target.</p><p>PC -&gt; IFD : INITIATOR : DATA EXCHANGE<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 FF 13 ED D4 40 01 41 41 41 41 41 41 41 41 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 41 41 41 41 41 41 41 41 DB 00 <br />IFD -&gt; PC : ACK<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 FF 00 FF 00 <br />IFD -&gt; PC : INITIATOR : DATA EXCHANGE EXECUTED<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 FF 03 FD D5 41 <strong>13</strong> D7 00 </p><br /><br /><p>//switch off field<br />PC -&gt; IFD : RF CONFIGURATION<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 FF 04 FC D4 32 01 00 F9 00 <br />IFD -&gt; PC : ACK<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 FF 00 FF 00 <br />IFD -&gt; PC : RF CONFIGURATION EXECUTED<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 00 00 FF 02 FE D5 33 F8 00 </p><br /><p>with GSM I &quot;read tag&quot;</p><p>Thank you in advance</p>]]></description>
			<author><![CDATA[dummy@example.com (GGelec)]]></author>
			<pubDate>Sun, 28 Feb 2010 13:23:48 +0000</pubDate>
			<guid>http://www.libnfc.org/community/topic/148/communicate-from-pn533-to-nokia-6212/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Interact with Nokia 6212]]></title>
			<link>http://www.libnfc.org/community/topic/107/interact-with-nokia-6212/new/posts/</link>
			<description><![CDATA[<p>Hi all!</p><p>May be somebody know:</p><p>1) How autostart midlet on nokia to p2p&nbsp; after touch mobile to ACR122 ? (i&#039;am read all forum nokia - resultless)<br />2) How send NDEF tag (example mifare) from ACR122 ? (as workaround for start midlet after touch mobile)<br />May be send APDU byte array?</p><p>Thank you.</p>]]></description>
			<author><![CDATA[dummy@example.com (rconty)]]></author>
			<pubDate>Mon, 30 Nov 2009 19:08:52 +0000</pubDate>
			<guid>http://www.libnfc.org/community/topic/107/interact-with-nokia-6212/new/posts/</guid>
		</item>
	</channel>
</rss>

