<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[libnfc developers community - Pynfc: Python wrapper for libnfc]]></title>
		<link>http://www.libnfc.org/community/topic/149/pynfc-python-wrapper-for-libnfc/</link>
		<description><![CDATA[The most recent posts in Pynfc: Python wrapper for libnfc.]]></description>
		<lastBuildDate>Wed, 28 Apr 2010 11:59:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Pynfc: Python wrapper for libnfc]]></title>
			<link>http://www.libnfc.org/community/post/990/#p990</link>
			<description><![CDATA[<p>Hi Mike,<br />pynfc is great work! <br />I am looking for something like your code for a while.<br />I downloaded and compiled it and the example works well. but I can not select a MifareUltralight tag.</p><p>import pynfc<br />nfc = pynfc.nfc_initiator()<br />nfc.connect()<br />nfc.select_tag(pynfc.NM_ISO14443A_106,&quot;&quot;)</p><br /><p>-&gt; get segmentation fault<br />what is the &quot;data&quot; parameter in select_tag() for?</p><p>in meantime I found a way not go into the segmentation foault:<br />here the console output:<br />&gt;&gt;&gt; import pynfc<br />&gt;&gt;&gt; nfc = pynfc.nfc_initiator()<br />&gt;&gt;&gt; nfc.connect()<br />True<br />&gt;&gt;&gt; nfc.select_tag(pynfc.NM_ISO14443A_106, &quot;\x00&quot;)<br />&gt;&gt;&gt; nfc.get_name()<br />&#039;ACS ACR 38U-CCID 00 00 / ACR122U102 - PN532 v1.4 (0x07)\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb9\x00\x00\x00\xd0\xe32\x00\x80\xbc!\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00d\x00&quot;\\e[1;5D&quot;\x00 backward-word\x00&quot;\\e[5C&quot;\x00 forward-word\x00&quot;\\e[5D&quot;\x00 backward-word\x00&quot;\\e\\e[C&quot;\x00 forward-word\x00&quot;\\e\\e[D&quot;\x00 backward-word\x00\x00$if&#039;</p><p>but it don&#039;t deliver the </p><p>regards Thomas</p>]]></description>
			<author><![CDATA[dummy@example.com (thomasrichter)]]></author>
			<pubDate>Wed, 28 Apr 2010 11:59:56 +0000</pubDate>
			<guid>http://www.libnfc.org/community/post/990/#p990</guid>
		</item>
		<item>
			<title><![CDATA[Pynfc: Python wrapper for libnfc]]></title>
			<link>http://www.libnfc.org/community/post/836/#p836</link>
			<description><![CDATA[<p>Hi everybody,</p><p>Just to let you know that I&#039;ve started a project called pynfc, designed to offer python bindings for the libnfc code.&nbsp; They currently offer good support transceiving both bits and bytes in an intuitive fashion as both initiator and responder.&nbsp; It comes with a small amount of example code that will offer a Mifare read request for a block, and verify the that the returned tag nonce is as expected.</p><p>It currently doesn&#039;t offer the full support that libnfc does, most notably it works primarily with 14443A tags only (although adding support for other card types shouldn&#039;t be difficult, I don&#039;t really have any others to test out).&nbsp; It also currently won&#039;t allow choosing which reader to read from, since that was all added in libnfc-1.3.3 and I haven&#039;t had time to catch up on it.&nbsp; 5:)</p><p>Requirements:<br />&gt;= python-2.6<br />&gt;= libnfc-1.3.1</p><p>Website &amp; Bug tracker:<br /><a href="http://pynfc.googlecode.com/">http://pynfc.googlecode.com/</a></p><p>If you&#039;d like to help work on the code, or have any problems with it, do feel free to get in touch with me (or file a bug report).&nbsp; Hope it&#039;s of some use...</p><p>Mike&nbsp; 5:)</p>]]></description>
			<author><![CDATA[dummy@example.com (ikelos)]]></author>
			<pubDate>Mon, 01 Mar 2010 15:33:36 +0000</pubDate>
			<guid>http://www.libnfc.org/community/post/836/#p836</guid>
		</item>
	</channel>
</rss>

