<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: RFID]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?action=weblog_display;category=RFID</link>
<description></description>
<pubDate>Fri, 24 Jan 2014 10:05:09 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[Proxmark]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?proxmark</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: FPGA, hardware, RFID</div><hr/><div class="wiki">
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#cheap_er_china_proxmark">Dobrica Pavlinušić's random unstructured stuff (Cheap(er) China Proxmark)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Cheap(er) China Proxmark} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#mifare_sniff_crack">Dobrica Pavlinušić's random unstructured stuff (Mifare sniff/crack)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Mifare sniff/crack} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#usage">Dobrica Pavlinušić's random unstructured stuff (Usage)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Usage} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#brute_force_26_bit_proxcard">Dobrica Pavlinušić's random unstructured stuff (brute force 26-bit proxcard)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] brute force 26-=bit proxcard} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#firmware_version">Dobrica Pavlinušić's random unstructured stuff (firmware version)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] firmware version} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#flashing_update">Dobrica Pavlinušić's random unstructured stuff (flashing update)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] flashing update} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#compile_new_version_of_firmware">Dobrica Pavlinušić's random unstructured stuff (Compile new version of firmware)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Compile new version of firmware} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#boot_loader">Dobrica Pavlinušić's random unstructured stuff (Boot loader)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Boot loader} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="cheap_er_china_proxmark">Cheap(er) China Proxmark</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.xfpga.com/e_products/?big_id=17&amp;small_id=7">http://www.xfpga.com/e_products/?big_id=17&amp;small_id=7</a></li>
<li><a target="_blank" title="(external link)" href="http://www.proxmark.org/forum/viewtopic.php?id=863">http://www.proxmark.org/forum/viewtopic.php?id=863</a></li>
</ul>
<h1 id="mifare_sniff_crack">Mifare sniff/crack</h1>
<p>
<a target="_blank" title="(external link)" href="http://code.google.com/p/crapto1/">http://code.google.com/p/crapto1/</a></p>
<p>
<a target="_blank" title="(external link)" href="http://www.youtube.com/watch?v=kTvb7tjbSTI">http://www.youtube.com/watch?v=kTvb7tjbSTI</a><br />
<a target="_blank" title="(external link)" href="http://www.fuzzysecurity.com/tutorials/rfid/3.html">http://www.fuzzysecurity.com/tutorials/rfid/3.html</a></p>
<p>
Proxmark firmware comparison on emulated Mifare 4k</p>
<table style="border-collapse: collapse;" class="formatter_table">
<tr>
<td style="border: 1px solid black;padding: .2em;">r</td>
<td style="border: 1px solid black;padding: .2em;">command</td>
<td style="border: 1px solid black;padding: .2em;">note</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">590</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">USB HID</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf rdbl 0 A a0a1a2a3a4a5</td>
<td style="border: 1px solid black;padding: .2em;">OK</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf chk 0 A a0a1a2a3a4a5</td>
<td style="border: 1px solid black;padding: .2em;">Can't select card</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">617</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">USB HID</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf rdbl 0 A a0a1a2a3a4a5</td>
<td style="border: 1px solid black;padding: .2em;">OK</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf chk 0 A a0a1a2a3a4a5</td>
<td style="border: 1px solid black;padding: .2em;">Can't select card</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf mifare</td>
<td style="border: 1px solid black;padding: .2em;">2 red, needs power cycle</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf nested o 0 a a0a1a2a3a4a5 4 t</td>
<td style="border: 1px solid black;padding: .2em;">Can't select card</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">672</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">proxendian.h:22:4: error: #error Define BYTE_ORDER</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">756</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">USB CCID</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf rdbl 0 A a0a1a2a3a4a5</td>
<td style="border: 1px solid black;padding: .2em;">Auth error</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf chk 0 A a0a1a2a3a4a5</td>
<td style="border: 1px solid black;padding: .2em;">Can't select card</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf mifare</td>
<td style="border: 1px solid black;padding: .2em;">red, yellow, red, needs power cycle</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf nested o 0 a a0a1a2a3a4a5 4 t</td>
<td style="border: 1px solid black;padding: .2em;">Can't select card</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;">840</td>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">latest</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf rdbl 0 A a0a1a2a3a4a5</td>
<td style="border: 1px solid black;padding: .2em;">Can't select card</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf chk 0 A a0a1a2a3a4a5</td>
<td style="border: 1px solid black;padding: .2em;">Can't select card</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf mifare</td>
<td style="border: 1px solid black;padding: .2em;">Can't select card</td>
</tr>
<tr>
<td style="border: 1px solid black;padding: .2em;"><span style="padding:.5em">&nbsp;</span></td>
<td style="border: 1px solid black;padding: .2em;">hf mf nested o 0 a a0a1a2a3a4a5 4 t</td>
<td style="border: 1px solid black;padding: .2em;">Can't select card</td>
</tr>
</table>
<br /><h2 id="usage">Usage</h2>
<pre>
proxmark3&gt; hw version
#db# Prox/RFID mark3 RFID instrument                 
#db# bootrom: svn 816 2013-10-11 22:09:42                 
#db# os: svn 816 2013-10-11 22:09:43                 
#db# FPGA image built on 2012/ 1/ 6 at 15:27:56                 
uC: AT91SAM7S256 Rev B          
Embedded Processor: ARM7TDMI          
Nonvolatile Program Memory Size: 256K bytes          
Second Nonvolatile Program Memory Size: None          
Internal SRAM Size: 64K bytes          
Architecture Identifier: AT91SAM7Sxx Series          
Nonvolatile Program Memory Type: Embedded Flash Memory          

proxmark3&gt; hw tune
#db# Measuring antenna characteristics, please wait...                 
#db# Measuring complete, sending report back to host                 
          
# LF antenna:  0.00 V @   125.00 kHz          
# LF antenna:  0.00 V @   134.00 kHz          
# LF optimal:  0.00 V @ 12000.00 kHz          
# HF antenna:  7.28 V @    13.56 MHz          
# Your LF antenna is unusable.          

proxmark3&gt; hf 14a read
ATQA : 02 00          
 UID : ?? ?? ?? ??
 SAK : 38 [1]          
TYPE : Nokia 6212 or 6131 MIFARE CLASSIC 4K          
 ATS : 0d 78 f7 b1 02 4a 43 4f 50 76 32 34 31 27 cc           
       -  TL : length is 13 bytes          
       -  T0 : TA1 is present, TB1 is present, TC1 is present, FSCI is 8          
       - TA1 : different divisors are NOT supported, DR: [2, 4, 8], DS: [2, 4, 8]          
       - TB1 : SFGI = 0, FWI = 8          
       - TC1 : NAD is NOT supported, CID is supported          
       -  HB : 4a 43 4f 50 76 32 34 31           


</pre>
<br /><h1 id="brute_force_26_bit_proxcard">brute force 26-bit proxcard</h1>
<ul>
<li><a target="_blank" title="(external link)" href="https://github.com/brad-anton/proxbrute">https://github.com/brad-anton/proxbrute</a></li>
</ul>
<h1 id="firmware_version">firmware version</h1>
<p>
According to <a target="_blank" title="(external link)" href="http://wiki.radiowar.org/Proxmark3%E5%9B%BA%E4%BB%B6%E5%88%97%E8%A1%A8">http://wiki.radiowar.org/Proxmark3%E5%9B%BA%E4%BB%B6%E5%88%97%E8%A1%A8</a><br />
firmwares newer than 617 have problems.</p>
<p>
Google translated version</p>
<blockquote>
Please do not upgrade your firmware to the CDC Proxmark3 version r617 ~ r830 driver's! We found that because the problem will lead to Proxmark3 code appears unable to identify high-frequency card, and 816 will appear after Nested number of keys for 000000000000.</blockquote>
<br /><h1 id="flashing_update">flashing update</h1>
<pre>
dpavlin@blue:/blue-zfs/FPGA/proxmark/proxmark3$ make flash-all

</pre>
<br /><h1 id="compile_new_version_of_firmware">Compile new version of firmware</h1>
<p>
<strong>All instructions below this are for old version of software</strong> see <a target="_blank" title="(external link)" href="http://www.proxmark.org/forum/viewtopic.php?id=1668">http://www.proxmark.org/forum/viewtopic.php?id=1668</a></p>
<p>
<a target="_blank" title="(external link)" href="http://code.google.com/p/proxmark3/wiki/Compiling">http://code.google.com/p/proxmark3/wiki/Compiling</a> je strgan <a target="_blank" title="(external link)" href="http://www.proxmark.org/forum/post/3244/#p3244">http://www.proxmark.org/forum/post/3244/#p3244</a></p>
<pre>
sudo apt-get install build-essential libreadline5 libreadline-dev libusb-0.1-4 libusb-dev libqt4-dev perl pkg-config

dpavlin@t61p:/tank/proxmark3$ svn co http://proxmark3.googlecode.com/svn/trunk proxmark3
</pre>
<br /><h1 id="boot_loader">Boot loader</h1>
<pre>
dpavlin@t61p:/tank/proxmark3/proxmark3$ ./client/flasher -b ./bootrom/obj/bootrom.elf 
Loading ELF file './bootrom/obj/bootrom.elf'...
Loading usable ELF segments:
0: V 0x00100000 P 0x00100000 (0x00000200-&gt;0x00000200) [R X] @0x94
1: V 0x00200000 P 0x00100200 (0x000017a8-&gt;0x000017a8) [R X] @0x294

Waiting for Proxmark to appear on USB...
Connected units:
        1. SN: ? [004/013]
 Found.
Entering bootloader...
(Press and release the button only to abort)
Waiting for Proxmark to reappear on USB....
Connected units:
        1. SN: ? [004/014]
 Found.

Flashing...
Writing segments for file: ./bootrom/obj/bootrom.elf
 0x00100000..0x001001ff [0x200 / 2 blocks].. OK
 0x00100200..0x001019a7 [0x17a8 / 24 blocks]........................ OK

Resetting hardware...
All done.

Have a nice day!
</pre>
<br />^
<br /><pre>
dpavlin@t61p:/tank/proxmark3/proxmark3$ ./client/flasher ./armsrc/obj/fullimage.elf 
Loading ELF file './armsrc/obj/fullimage.elf'...
Loading usable ELF segments:
0: V 0x00102000 P 0x00102000 (0x0000a4bc-&gt;0x0000a4bc) [R  ] @0xb4
1: V 0x00110000 P 0x00110000 (0x0000ba8c-&gt;0x0000ba8c) [R X] @0xa570
2: V 0x00200000 P 0x0011ba8c (0x00000004-&gt;0x00000004) [RW ] @0x15ffc
Note: Extending previous segment from 0xba8c to 0xba90 bytes

Waiting for Proxmark to appear on USB...
Connected units:
        1. SN: ? [004/015]
 Found.
Entering bootloader...
(Press and release the button only to abort)
Waiting for Proxmark to reappear on USB....
Connected units:
        1. SN: ChangeMe [004/016]
 Found.

Flashing...
Writing segments for file: ./armsrc/obj/fullimage.elf
 0x00102000..0x0010c4bb [0xa4bc / 165 blocks]..................................................................................................................................................................... OK
 0x00110000..0x0011ba8f [0xba90 / 187 blocks]........................................................................................................................................................................................... OK

Resetting hardware...
All done.

Have a nice day!
</pre>
</div>
<hr/><div>Attachments: gnuarm.diff</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>FPGA, hardware, RFID</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?proxmark</guid>
<pubDate>Fri, 24 Jan 2014 10:05:09 -0000</pubDate>
</item>
<item>
<title><![CDATA[touchatag]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?touchatag</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: RFID</div><hr/><div class="wiki">
<p>
<a target="_blank" title="(external link)" href="http://www.touchatag.com/">http://www.touchatag.com/</a></p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#install_pcscd">Dobrica Pavlinušić's random unstructured stuff (install pcscd)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] install pcscd} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#build_libnfc">Dobrica Pavlinušić's random unstructured stuff (build libnfc)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] build libnfc} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#dependencies">Dobrica Pavlinušić's random unstructured stuff (dependencies)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] dependencies} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#checkout_source_and_compile">Dobrica Pavlinušić's random unstructured stuff (checkout source and compile)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] checkout source and compile} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#install_dpkg_packages">Dobrica Pavlinušić's random unstructured stuff (install dpkg packages)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] install dpkg packages} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#modify_pcscd_configuration_to_recognize_all_readers">Dobrica Pavlinušić's random unstructured stuff (modify pcscd configuration to recognize all readers)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] modify pcscd configuration to recognize all readers} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#restart_pcscd">Dobrica Pavlinušić's random unstructured stuff (restart pcscd)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] restart pcscd} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#test_it">Dobrica Pavlinušić's random unstructured stuff (test it)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] test it} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#read_mifare">Dobrica Pavlinušić's random unstructured stuff (read Mifare)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] read Mifare} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="install_pcscd">install pcscd</h1>
<pre>
sudo apt-get install pcscd
sudo dpkg -i libnfc-read_dev-build-1_i386.deb
sudo ldconfig
</pre>
<br /><h1 id="build_libnfc">build libnfc</h1>
<h2 id="dependencies">dependencies</h2>
<pre>
dpavlin@t61p:/rest/cvs$ sudo apt-get install libpcsclite-dev build-essential autoconf libtool debhelper \
 subversion pkg-config libusb-dev
</pre>
<br /><h2 id="checkout_source_and_compile">checkout source and compile</h2>
<pre>
dpavlin@t61p:/rest/cvs$ git svn clone -s http://libnfc.googlecode.com/svn libnfc
dpavlin@t61p:/rest/cvs$ cd libnfc/
dpavlin@t61p:/rest/cvs/libnfc$ autoreconf --install
dpavlin@t61p:/rest/cvs/libnfc$ sudo ./debian/rules binary
</pre>
<br /><h2 id="install_dpkg_packages">install dpkg packages</h2>
<pre>
dpavlin@t61p:/rest/cvs$ sudo dpkg -i libnfc0_1.4.0-0_i386.deb libnfc-bin_1.4.0-0_i386.deb libnfc-dev_1.4.0-0_i386.deb 
</pre>
<br /><h1 id="modify_pcscd_configuration_to_recognize_all_readers">modify pcscd configuration to recognize all readers</h1>
<pre>
dpavlin@t61p:~$ diff -urw /etc/libccid_Info.plist.orig /etc/libccid_Info.plist
--- /etc/libccid_Info.plist.orig        2011-01-13 23:05:07.449342958 +0100
+++ /etc/libccid_Info.plist     2011-01-13 23:05:25.624371843 +0100
@@ -52,7 +52,7 @@
        --&gt;
 
        &lt;key&gt;ifdDriverOptions&lt;/key&gt;
-       &lt;string&gt;0x0000&lt;/string&gt;
+       &lt;string&gt;0x0004&lt;/string&gt;
 
        &lt;!-- Possible values for ifdDriverOptions
        1: DRIVER_OPTION_CCID_EXCHANGE_AUTHORIZED
</pre>
<br /><h1 id="restart_pcscd">restart pcscd</h1>
<pre>
sudo /etc/init.d/pcscd restart
</pre>
<br /><h1 id="test_it">test it</h1>
<p>
with touchatag sticker</p>
<pre>
dpavlin@t61p:~$ nfc-list 
nfc-list use libnfc 1.4.0 (r842)
Connected to NFC device: ACS ACR122U PICC Interface 00 00 / ACR122U102 - PN532 v1.4 (0x07)
1 ISO14443A passive target(s) was found:
    ATQA (SENS_RES): 00  44  
       UID (NFCID1): 04  cc  6b  d9  a1  25  80  
      SAK (SEL_RES): 00  
</pre>
<br /><h1 id="read_mifare">read Mifare</h1>
<pre>
mfoc -O dump | tee keys.txt
</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>RFID</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?touchatag</guid>
<pubDate>Mon, 24 Jan 2011 12:05:18 -0000</pubDate>
</item>
<item>
<title><![CDATA[Hitchhikers Guide to RFID]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?hitchhikers_guide_to_rfid</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: 3M, howto, RFID</div><hr/><div class="wiki">
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#rfid_tag">Dobrica Pavlinušić's random unstructured stuff (RFID tag)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] RFID tag} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#blank_tag">Dobrica Pavlinušić's random unstructured stuff (blank tag)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] blank tag} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#3m_manufacturing_blank">Dobrica Pavlinušić's random unstructured stuff (3M Manufacturing Blank)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] 3M Manufacturing Blank} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#generic_blank">Dobrica Pavlinušić's random unstructured stuff (Generic blank)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Generic blank} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#programmed_tag">Dobrica Pavlinušić's random unstructured stuff (programmed tag)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] programmed tag} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#security">Dobrica Pavlinušić's random unstructured stuff (security)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] security} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#disable_tag">Dobrica Pavlinušić's random unstructured stuff (disable tag)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] disable tag} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#rfid_reader_device">Dobrica Pavlinušić's random unstructured stuff (RFID reader device)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] RFID reader device} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#related_blog_posts">Dobrica Pavlinušić's random unstructured stuff (Related blog posts)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Related blog posts} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#more_information">Dobrica Pavlinušić's random unstructured stuff (More information)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] More information} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_standard">Dobrica Pavlinušić's random unstructured stuff (ISO standard)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO standard} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_14443_proximity_cards">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 14443, Proximity cards)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 14443, Proximity cards} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_14443_1_physical_characteristics">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 14443-1 Physical characteristics)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 14443-=1 Physical characteristics} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_14443_2_radio_frequency_power_and_signal_interface">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 14443-2 Radio frequency power and signal interface)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 14443-=2 Radio frequency power and signal interface} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_14443_2_amd2_amendment_2_bit_rates_of_fc_64_fc_32_and_fc_16">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 14443-2/AMD2 Amendment 2: Bit rates of fc/64, fc/32 and fc/16)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 14443-=2/AMD2 Amendment 2: Bit rates of fc/64, fc/32 and fc/16} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_14443_3_initialization_and_anticollision">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 14443-3 Initialization and anticollision)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 14443-=3 Initialization and anticollision} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_14443_3_amendment_1_bit_rates_of_fc_64_fc_32_and_fc_16">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 14443-3 Amendment 1: Bit rates of fc/64, fc/32 and fc/16)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 14443-=3 Amendment 1: Bit rates of fc/64, fc/32 and fc/16} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_14443_4_transmission_protocol">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 14443-4 Transmission protocol)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 14443-=4 Transmission protocol} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_15693_vicinity_cards">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 15693, Vicinity cards)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 15693, Vicinity cards} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_15693_1_physical_characteristics">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 15693-1 Physical characteristics)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 15693-=1 Physical characteristics} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_15693_2_air_interface_and_initialisation">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 15693-2 Air interface and initialisation)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 15693-=2 Air interface and initialisation} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_15693_3_anticollision_and_transmission_protocol">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 15693-3 Anticollision and transmission protocol)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 15693-=3 Anticollision and transmission protocol} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_10373_6_10373_7_test_methods_for_the_contactless_integrated_circuit_s_cards">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 10373-6, 10373-7, Test methods for the contactless integrated circuit(s) cards)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 10373-=6, 10373-=7, Test methods for the contactless integrated circuit(s) cards} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_10373_6_proximity_cards">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 10373-6 Proximity cards)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 10373-=6 Proximity cards} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_10373_6_amd1_amendment_1_additional_picc_test_methods">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 10373-6/AMD1 Amendment 1: Additional PICC test methods)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 10373-=6/AMD1 Amendment 1: Additional PICC test methods} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_10373_6_amd2_amendment_2_improved_rf_test_methods">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 10373-6/AMD2 Amendment 2: Improved RF test methods)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 10373-=6/AMD2 Amendment 2: Improved RF test methods} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_10373_7_vicinity_cards">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 10373-7 Vicinity cards)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 10373-=7 Vicinity cards} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_10536_close_coupled_cards">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 10536, Close-coupled cards)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 10536, Close-=coupled cards} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#iso_iec_10536_1_physical_characteristics">Dobrica Pavlinušić's random unstructured stuff (ISO/IEC 10536-1 Physical characteristics)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ISO/IEC 10536-=1 Physical characteristics} --></span></li>
</ul></ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><p>
There are many on-line resources about RFID. However, most of them are not well suited for beginners. So, if you just got RFID reader (3M in this case) and want high-level overview of what it is and what it can do, you are out of luck.</p>
<p>
Until now, that is. This guide should help you decide if RFID is right thing for your library and when you make choice to implement it, how to do it.</p>
<p>
This document will describe my experience with 3M 810 reader using RFID 501: RFID Standards for Libraries <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/RFID_501.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20090412215130-0-9302">RFID_501.pdf</a><!-- wiki: {file: RFID_501.pdf} --></span></p>
<h1 id="rfid_tag">RFID tag</h1>
<p>
Best way to think about RFID tags is like contact-less readable barcode.</p>
<p>
Our particular tags come in two form: RFID stickers (to be placed on books) and plastic credit-card like cards (we use them for patrons).</p>
<p>
Have in mind that established practice is to have different RFID systems for books and patrons (we are use same one). When we asked about using same system for books and patrons, we got reply: &quot;we don't have experience with it&quot;.<br />
In practice, we have problem with 3M selfcheck software in some special conditions where book reader have patron card in range it gets network connection error with SIP server.<br />
Since normal configuration of selfcheck stations is to have two different systems for patrons and books this problem doesn't show up for other users.</p>
<p>
Each tag has unique serial number (SID) assigned by manufacturer and used in RFID collision detection protocol. It looks like hexadecimal number starting with letter <tt>E0</tt> like this: <tt>E00401003123AA26</tt>.</p>
<p>
It's best to think of SID as unique identifier of physical tag.<br />
Your information system will have it's own ID (barcode?) for some item.<br />
There are cases in which you might want to change physical tag sticker on book because it's damaged. In that case, you will change SID of that item, but not barcode (which is data programmed on tag itself).</p>
<p>
Our initial idea was to use data programmed on chip for everything, and just ignore SIDs, but we found out that there is class of RFID devices which can read ONLY SID from chip (in our case it's photocopying system).<br />
3M software does record SIDs to log file when programming chips, but that's all. It essential ignores it for all practical intends and purposes.</p>
<p>
Chips have 7 blocks of user data on it, each block with 4 bytes which enables us to store 28 bytes of user specified data on each tag.</p>
<h2 id="blank_tag">blank tag</h2>
<h3 id="3m_manufacturing_blank">3M Manufacturing Blank</h3>
<p>
Easiest case is blank tag, in which all data on chip is 0x55</p>
<pre>
0	55 55 55 55		blank tag
1	55 55 55 55
2	55 55 55 55
3	55 55 55 55
4	55 55 55 55
5	55 55 55 55
6	00 00 00 00 
</pre>
<br /><h3 id="generic_blank">Generic blank</h3>
<p>
Generic blank seems to erase only first three blocks with zeros:</p>
<pre>
00	00 00 00 00
01	00 00 00 00
02	00 00 00 00
</pre>
<br /><p>
while rest of tag will be unchanged <strong>including rest of data on tag</strong></p>
<h2 id="programmed_tag">programmed tag</h2>
<p>
Tags programmed with 3M software have following data layout on them:</p>
<pre>
0	04 is 00 tt		i [4 bit] = number of item in set	[1 .. i .. s]
					s [4 bit] = total items in set
					tt [8 bit] = item type

1	dd dd dd dd		dd [16 bytes] = barcode data
2	dd dd dd dd
3	dd dd dd dd
4	dd dd dd dd

5	bb bl ll ll		b [12 bit] = branch [unsigned]
				l [20 bit] = library [unsigned]
6	cc cc cc cc		c [32 bit] = custom signed integer
</pre>
<br /><p>
This basically means that your barcode or identifier of item or patron can have up to 16 characters (by default numeric, but you can extend that to handle alphanumeric and special character if you need that) and three integer values: branch <tt>0 .. 4095</tt>, library <tt>0 .. 1048575</tt> and custom data <tt>-2147483648 .. 2147483647</tt>.</p>
<p>
You might want to use those values to uniquely identify your library and branch so that your RFID tags in books won't collide with other libraries.<br />
If you leave decision just to providers of equipment, you might end up with 300000 tags which have plain and simple 0 in those fields. Guess which value will have tags of next library which that provider will have? My guess would be 0 also.</p>
<p>
Writing correct numbers in that fields is not enough. If you want to use 3M software, you will also have to setup it to ignore all other tags which doesn't match your library and branch.</p>
<h2 id="security">security</h2>
<p>
There is also single byte called AFI or security which can be changed without accessing content of chip. This byte is also readable by more primitive RFID devices like doors to check if book have been checked out from library.</p>
<p>
3M is using <tt>0xD7</tt> (215) value for secured items (door will beep) and <tt>0xDA</tt> (218) as unsecured. It seems that all other values are ignored.<br />
(I would guess that other manufacturers are using different values)</p>
<p>
As I mentioned before, since we don't have any special values in branch, library or custom field, we have situations in which patron cards get secured when patron walks by checkout counter and 3M software is left in checkout mode.<br />
This triggers door to ring when patron passes which is not ideal.</p>
<h2 id="disable_tag">disable tag</h2>
<p>
3M software have option to disable tags. Initial examination showed that it's simply programming of tag with following content:</p>
<pre>
00	ff 00 00 00
01	00 00 00 00
02	00 00 00 00
03	00 00 00 00
04	00 00 00 00
05	00 00 00 00
06	00 00 00 00
</pre>
<br /><p>
and security set to <tt>d7</tt> (this might be value from tag before disabling it, I'll have to re-check this)</p>
<p>
While 3M software will ignore tags programmed with this content, there is <strong>not permanent disabling of tag</strong> since it can be programmed using other software.</p>
<h1 id="rfid_reader_device">RFID reader device</h1>
<p>
Reader consists of several part:</p>
<ul>
<li>black pad - reader antenna</li>
<li>reader - small box with micro controller and usb port</li>
<li>software</li>
</ul>
<p>
Reader is recognized as USB serial device with it's own protocol on serial port. We are mostly interested in it's protocol and our ability to use reader and tags with our custom software.</p>
<p>
At first, I assumed that protocol with RFID readers is some kind of standard.<br />
After extensive search on Internet I wasn't able to find any documentation about this particular protocol (I even tried to compare it with existing open source implementations just to be sure).</p>
<p>
So, only solution was to do clean-room reverse engineering, and using that technique I developed perl module which can talk with RFID reader which is available at <a target="_blank" title="(external link)" href="http://svn.rot13.org/index.cgi/RFID">http://svn.rot13.org/index.cgi/RFID</a></p>
<p>
After initial reverse engineering of protocol I rewrote support for 3M and CPR reader which is available at <a target="_blank" title="(external link)" href="https://github.com/dpavlin/Biblio-RFID">https://github.com/dpavlin/Biblio-RFID</a></p>
<h1 id="related_blog_posts">Related blog posts</h1>
<div class="nlw_phrase"><div class="fetchrss_box">
  <div class="fetchrss_titlebox">
    
 <div class="fetchrss_title">
     fetchrss: http://mjesec.ffzg.hr/~dpavlin/blog/mt/mt-search.cgi?tag=RFID&Template=feed&IncludeBlogs=1
 </div>

  </div>
  
<ul class="fetchrss_item">
  <li class="fetchrss_item">
    There was an error: 500 Internal Server Error

  </li>
</ul>

</div>
















<!-- wiki: {fetchrss: http://mjesec.ffzg.hr/~dpavlin/blog/mt/mt-=search.cgi?tag==RFID&Template==feed&IncludeBlogs==1}
--></div><br /><br /><h1 id="more_information">More information</h1>
<p>
If this was too geeky for you here is some additional materials:</p>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.bibliotheca-rfid.com/faq">RFID for libraries FAQ<!-- wiki-renamed-hyperlink "RFID for libraries FAQ"<http://www.bibliotheca=-rfid.com/faq> --></a></li>
<li><a target="_blank" title="(external link)" href="http://events.ccc.de/congress/2005/fahrplan/events/769.en.html">RFID - overview of protocols, librfid implementation and passive sniffing<!-- wiki-renamed-hyperlink "RFID =- overview of protocols, librfid implementation and passive sniffing"<http://events.ccc.de/congress/2005/fahrplan/events/769.en.html> --></a></li>
</ul>
<h1 id="iso_standard">ISO standard</h1>
<ul>
<li>ISO 15962.2004 - object identifier structure</li>
<li>ISO 15693 - RFID (layer 2)</li>
<li>ISO 18000 Part 3 Mode 1 - 13.56MHz</li>
<li><a target="_blank" title="(external link)" href="http://www.incits.org/tc_home/b105htm/b105Doc2003/N03-140-WG8-Work-Project.htm">ISO/IEC JTC1/SC17/WG8<!-- wiki-renamed-hyperlink "ISO/IEC JTC1/SC17/WG8"<http://www.incits.org/tc_home/b105htm/b105Doc2003/N03=-140=-WG8=-Work=-Project.htm> --></a></li>
</ul>
<h1 id="iso_iec_14443_proximity_cards">ISO/IEC 14443, Proximity cards</h1>
<p>
The Standard series ISO/IEC 14443 consists of 4 parts, which are:</p>
<h2 id="iso_iec_14443_1_physical_characteristics">ISO/IEC 14443-1 Physical characteristics</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1363t.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171842-3-24563">17n1363t.doc</a><!-- wiki: {file: 17n1363t.doc} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1363b.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171841-2-24563">17n1363b.doc</a><!-- wiki: {file: 17n1363b.doc} --></span><br /><br /><h2 id="iso_iec_14443_2_radio_frequency_power_and_signal_interface">ISO/IEC 14443-2 Radio frequency power and signal interface</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1522t.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171850-9-24563">17n1522t.pdf</a><!-- wiki: {file: 17n1522t.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1522c.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171848-8-24563">17n1522c.doc</a><!-- wiki: {file: 17n1522c.doc} --></span><br /><br /><h2 id="iso_iec_14443_2_amd2_amendment_2_bit_rates_of_fc_64_fc_32_and_fc_16">ISO/IEC 14443-2/AMD2 Amendment 2: Bit rates of fc/64, fc/32 and fc/16</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n2343T.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171908-28-24563">17n2343T.pdf</a><!-- wiki: {file: 17n2343T.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n2343F.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171907-27-24563">17n2343F.doc</a><!-- wiki: {file: 17n2343F.doc} --></span><br /><br /><h2 id="iso_iec_14443_3_initialization_and_anticollision">ISO/IEC 14443-3 Initialization and anticollision</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1531t.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171852-11-24563">17n1531t.pdf</a><!-- wiki: {file: 17n1531t.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1531c.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171850-10-24563">17n1531c.doc</a><!-- wiki: {file: 17n1531c.doc} --></span><br /><br /><h2 id="iso_iec_14443_3_amendment_1_bit_rates_of_fc_64_fc_32_and_fc_16">ISO/IEC 14443-3 Amendment 1: Bit rates of fc/64, fc/32 and fc/16</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n2342T.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171907-26-24563">17n2342T.pdf</a><!-- wiki: {file: 17n2342T.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n2342F.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171905-25-24563">17n2342F.doc</a><!-- wiki: {file: 17n2342F.doc} --></span><br /><br /><h2 id="iso_iec_14443_4_transmission_protocol">ISO/IEC 14443-4 Transmission protocol</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17N1689T.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171853-13-24563">17N1689T.pdf</a><!-- wiki: {file: 17N1689T.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1689c.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171852-12-24563">17n1689c.doc</a><!-- wiki: {file: 17n1689c.doc} --></span><br /><br /><h1 id="iso_iec_15693_vicinity_cards">ISO/IEC 15693, Vicinity cards</h1>
<h2 id="iso_iec_15693_1_physical_characteristics">ISO/IEC 15693-1 Physical characteristics</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1355t.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171841-1-24563">17n1355t.doc</a><!-- wiki: {file: 17n1355t.doc} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1355b%20.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171840-0-24563">17n1355b .doc</a><!-- wiki: {file: 17n1355b .doc} --></span><br /><br /><h2 id="iso_iec_15693_2_air_interface_and_initialisation">ISO/IEC 15693-2 Air interface and initialisation</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1486.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171846-7-24563">17n1486.pdf</a><!-- wiki: {file: 17n1486.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1486c.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171846-6-24563">17n1486c.doc</a><!-- wiki: {file: 17n1486c.doc} --></span><br /><br /><h2 id="iso_iec_15693_3_anticollision_and_transmission_protocol">ISO/IEC 15693-3 Anticollision and transmission protocol</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1692t.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171856-15-24563">17n1692t.pdf</a><!-- wiki: {file: 17n1692t.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1692c.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171854-14-24563">17n1692c.doc</a><!-- wiki: {file: 17n1692c.doc} --></span><br /><br /><h1 id="iso_iec_10373_6_10373_7_test_methods_for_the_contactless_integrated_circuit_s_cards">ISO/IEC 10373-6, 10373-7, Test methods for the contactless integrated circuit(s) cards</h1>
<h2 id="iso_iec_10373_6_proximity_cards">ISO/IEC 10373-6 Proximity cards</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1695t.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171857-17-24563">17n1695t.pdf</a><!-- wiki: {file: 17n1695t.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1695c.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171856-16-24563">17n1695c.doc</a><!-- wiki: {file: 17n1695c.doc} --></span><br /><br /><h2 id="iso_iec_10373_6_amd1_amendment_1_additional_picc_test_methods">ISO/IEC 10373-6/AMD1 Amendment 1: Additional PICC test methods</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n2258t.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171904-24-24563">17n2258t.pdf</a><!-- wiki: {file: 17n2258t.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n2258t.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171904-23-24563">17n2258t.doc</a><!-- wiki: {file: 17n2258t.doc} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n2258C.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171902-22-24563">17n2258C.doc</a><!-- wiki: {file: 17n2258C.doc} --></span><br /><br /><h2 id="iso_iec_10373_6_amd2_amendment_2_improved_rf_test_methods">ISO/IEC 10373-6/AMD2 Amendment 2: Improved RF test methods</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n2225t.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171901-21-24563">17n2225t.pdf</a><!-- wiki: {file: 17n2225t.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n2225F.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171900-20-24563">17n2225F.doc</a><!-- wiki: {file: 17n2225F.doc} --></span><br /><br /><h2 id="iso_iec_10373_7_vicinity_cards">ISO/IEC 10373-7 Vicinity cards</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1697t.pdf?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171900-19-24563">17n1697t.pdf</a><!-- wiki: {file: 17n1697t.pdf} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1697c.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171858-18-24563">17n1697c.doc</a><!-- wiki: {file: 17n1697c.doc} --></span><br /><br /><h1 id="iso_iec_10536_close_coupled_cards">ISO/IEC 10536, Close-coupled cards</h1>
<h2 id="iso_iec_10536_1_physical_characteristics">ISO/IEC 10536-1 Physical characteristics</h2>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1480t.PDF?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171844-5-24563">17n1480t.PDF</a><!-- wiki: {file: 17n1480t.PDF} --></span> <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/17n1480c.doc?action=attachments_download;page_name=hitchhikers_guide_to_rfid;id=20100120171843-4-24563">17n1480c.doc</a><!-- wiki: {file: 17n1480c.doc} --></span><br /></div>
<hr/><div>Attachments: 17n1355b .doc, 17n1355t.doc, 17n1363b.doc, 17n1363t.doc, 17n1480c.doc, 17n1480t.PDF, 17n1486.pdf, 17n1486c.doc, 17n1522c.doc, 17n1522t.pdf, 17n1531c.doc, 17n1531t.pdf, 17n1689c.doc, 17N1689T.pdf, 17n1692c.doc, 17n1692t.pdf, 17n1695c.doc, 17n1695t.pdf, 17n1697c.doc, 17n1697t.pdf, 17n2225F.doc, 17n2225t.pdf, 17n2258C.doc, 17n2258t.doc, 17n2258t.pdf, 17n2342F.doc, 17n2342T.pdf, 17n2343F.doc, 17n2343T.pdf, RFID_501.pdf</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>3M, howto, RFID</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?hitchhikers_guide_to_rfid</guid>
<pubDate>Thu, 04 Nov 2010 23:08:50 -0000</pubDate>
</item>
<item>
<title><![CDATA[OmniKey CardMan 5321]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?omnikey_cardman_5321</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: hardware, RFID</div><hr/><div class="wiki">
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#links">Dobrica Pavlinušić's random unstructured stuff (Links)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Links} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#lsusb">Dobrica Pavlinušić's random unstructured stuff (lsusb)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] lsusb} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#pcsc">Dobrica Pavlinušić's random unstructured stuff (PCSC)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] PCSC} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#install">Dobrica Pavlinušić's random unstructured stuff (Install)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Install} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#usage">Dobrica Pavlinušić's random unstructured stuff (Usage)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Usage} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#librfid">Dobrica Pavlinušić's random unstructured stuff (librfid)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] librfid} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#build_from_source">Dobrica Pavlinušić's random unstructured stuff (build from source)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] build from source} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#test">Dobrica Pavlinušić's random unstructured stuff (test)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] test} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#read_tag">Dobrica Pavlinušić's random unstructured stuff (read tag)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] read tag} --></span></li>
</ul></ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="links">Links</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://wiki.debian.org/Smartcards">http://wiki.debian.org/Smartcards</a></li>
</ul>
<h1 id="lsusb">lsusb</h1>
<pre>
dpavlin@klin:~$ sudo lsusb -v -d 076b:

Bus 003 Device 011: ID 076b:5321 OmniKey AG 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x076b OmniKey AG
  idProduct          0x5321 
  bcdDevice            5.00
  iManufacturer           1 OMNIKEY
  iProduct                2 Smart Card Reader USB
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           93
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          3 CCID
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              250mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass        11 Chip/SmartCard
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  36 21 00 01 00 07 03 00 00 00 c0 12 00 00 40 1f 00 00 04 00 2a 00 00 e7 4c 06 00 6a fe 00 00 00 07 00 00 00 00 00 00 00 b2 07 02 00 0f 01 00 00 ff ff 00 00 00 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              24
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)
</pre>
<br /><h1 id="pcsc">PCSC</h1>
<h2 id="install">Install</h2>
<pre>
dpavlin@klin:~$ sudo apt-get install pcsc-omnikey pcsc-tools
</pre>
<br /><h2 id="usage">Usage</h2>
<p>
read RFID card in reader's range...</p>
<pre>
dpavlin@klin:~$ pcsc_scan 
PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;
Compiled with PC/SC lite version: 1.5.5
Scanning present readers...
0: OMNIKEY CardMan 5x21 00 00
1: OMNIKEY CardMan 5x21 00 01

Mon Jan 18 13:59:04 2010
 Reader 0: OMNIKEY CardMan 5x21 00 00
  Card state: Card removed, 

Mon Jan 18 13:59:04 2010
 Reader 1: OMNIKEY CardMan 5x21 00 01
  Card state: Card removed, 

Mon Jan 18 13:59:08 2010
 Reader 1: OMNIKEY CardMan 5x21 00 01
  Card state: Card inserted, Shared Mode, 
  ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 0B 00 14 00 00 00 00 77

ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 0B 00 14 00 00 00 00 77
+ TS = 3B --&gt; Direct Convention
+ T0 = 8F, Y(1): 1000, K: 15 (historical bytes)
  TD(1) = 80 --&gt; Y(i+1) = 1000, Protocol T = 0 
-----
  TD(2) = 01 --&gt; Y(i+1) = 0000, Protocol T = 1 
-----
+ Historical bytes: 80 4F 0C A0 00 00 03 06 0B 00 14 00 00 00 00
  Category indicator byte: 80 (compact TLV data object)
    Tag: 4, len: F (initial access data)
      Initial access data: 0C A0 00 00 03 06 0B 00 14 00 00 00 00
+ TCK = 77 (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 8F 80 01 80 4F 0C A0 00 00 03 06 0B 00 14 00 00 00 00 77
        Philips ICode
        RFID - ISO 15693 - Philips Semiconductors

Mon Jan 18 13:59:11 2010
 Reader 1: OMNIKEY CardMan 5x21 00 01
  Card state: Card removed, 
</pre>
<br /><h1 id="librfid">librfid</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://openmrtd.org/projects/librfid/">http://openmrtd.org/projects/librfid/</a></li>
</ul>
<h2 id="build_from_source">build from source</h2>
<pre>
# build dependency
dpavlin@klin:/rest/cvs/librfid$ sudo apt-get install libusb-dev

# checkout source
dpavlin@klin:/rest/cvs$ svn co https://svn.gnumonks.org/trunk/librfid/
dpavlin@klin:/rest/cvs$ cd librfid/
dpavlin@klin:/rest/cvs/librfid$ ./autogen.sh

# build
dpavlin@klin:/rest/cvs/librfid$ ./configure --enable-ccid
dpavlin@klin:/rest/cvs/librfid$ make
</pre>
<br /><h2 id="test">test</h2>
<pre>
# test
dpavlin@klin:/rest/cvs/librfid$ sudo ./utils/librfid-tool -s
lt-librfid-tool - (C) 2005-2008 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY

initializing librfid
opening reader handle OpenPCD, CM5x21
No OpenPCD found
scanning for RFID token...
Layer 2 success (ISO 15693):  eb 6e 77 1f 00 01 04 e0
</pre>
<br /><h2 id="read_tag">read tag</h2>
<pre>
dpavlin@klin:/rest/cvs/librfid$ sudo ./utils/librfid-tool -r -1
lt-librfid-tool - (C) 2005-2008 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY

initializing librfid
opening reader handle OpenPCD, CM5x21
No OpenPCD found
Layer2 init ok
Layer 2 success (ISO 15693)[8]: ' eb 6e 77 1f 00 01 04 e0'
block[  0:00]sec:0x8 data(4):  04 11 00 01
block[  1:01]sec:0x8 data(4):  31 33 30 32
block[  2:02]sec:0x8 data(4):  30 32 39 37
block[  3:03]sec:0x8 data(4):  31 30 00 00
block[  4:04]sec:0x8 data(4):  00 00 00 00
block[  5:05]sec:0x8 data(4):  00 00 00 00
block[  6:06]sec:0x8 data(4):  00 00 00 00
block[  7:07]sec:0x8 data(4):  00 00 00 00
block[  8:08]sec:0x8 data(4):  00 00 00 00
block[  9:09]sec:0x8 data(4):  00 00 00 00
block[ 10:0a]sec:0x8 data(4):  00 00 00 00
block[ 11:0b]sec:0x8 data(4):  00 00 00 00
block[ 12:0c]sec:0x8 data(4):  00 00 00 00
block[ 13:0d]sec:0x8 data(4):  00 00 00 00
block[ 14:0e]sec:0x8 data(4):  00 00 00 00
block[ 15:0f]sec:0x8 data(4):  00 00 00 00
block[ 16:10]sec:0x8 data(4):  00 00 00 00
block[ 17:11]sec:0x8 data(4):  00 00 00 00
block[ 18:12]sec:0x8 data(4):  00 00 00 00
block[ 19:13]sec:0x8 data(4):  00 00 00 00
block[ 20:14]sec:0x8 data(4):  00 00 00 00
block[ 21:15]sec:0x8 data(4):  00 00 00 00
block[ 22:16]sec:0x8 data(4):  00 00 00 00
block[ 23:17]sec:0x8 data(4):  00 00 00 00
block[ 24:18]sec:0x8 data(4):  00 00 00 00
block[ 25:19]sec:0x8 data(4):  00 00 00 00
block[ 26:1a]sec:0x8 data(4):  00 00 00 00
block[ 27:1b]sec:0x8 data(4):  57 5f 4f 4b
no data(read_block(28)&gt;&gt; -1)
</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>hardware, RFID</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?omnikey_cardman_5321</guid>
<pubDate>Mon, 18 Jan 2010 15:00:20 -0000</pubDate>
</item>
</channel>
</rss>