nfc-relay-picc.1 2.05 KB
Newer Older
1
.TH nfc-relay-picc 1 "October 12, 2010" "libnfc" "NFC Utilities"
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
.SH NAME
nfc-relay-picc \- Relay demonstration tool for ISO14443-4
.SH SYNOPSIS
.B nfc-relay-picc
.SH DESCRIPTION
.B nfc-relay-picc

This tool requires two NFC devices. One device (configured as target) will
emulate an ISO/IEC 14443-4 type A tag, while the second device (configured as
initiator) will act as a reader. The genuine tag can be placed on the second
device (initiator) and the tag emulator (target) can be placed close to the
original reader. All communication is now relayed and shown in the screen on
real-time.

tag <---> initiator (relay) <---> target (relay) <---> original reader

.SH OPTIONS
\fB-h\fP
    Help
    List options

\fB-q\fP
    Quiet mode
    Suppress printing of relayed data (improves timing)

\fB-t\fP
    Target mode only (to be used on reader side)
    Commands are sent to file descriptor 4
    Responses are read from file descriptor 3

\fB-i\fP
    Initiator mode only (to be used on tag side)
    Commands are read from file descriptor 3
    Responses are sent to file descriptor 4

\fB-n\fP \fIN\fP
    Adds a waiting time of \fIN\fP seconds (integer) in the loop

.SH EXAMPLES
Basic usage:

  \fBnfc-relay-picc\fP

Remote relay over TCP/IP:

  \fBsocat\fP
    TCP-LISTEN:port,reuseaddr
49
    "EXEC:\fBnfc-relay-picc \-i\fP,fdin=3,fdout=4"
50 51
  \fBsocat\fP
    TCP:remotehost:port
52
    "EXEC:\fBnfc-relay-picc \-t\fP,fdin=3,fdout=4"
53 54 55 56 57 58 59 60 61 62 63 64 65

.SH NOTES
There are some differences with \fBnfc-relay\fP:

This example only works with PN532 because it relies on
its internal handling of ISO14443-4 specificities.

Thanks to this internal handling & injection of WTX frames,
this example works on readers very strict on timing.

.SH BUGS
Please report any bugs on the
.B libnfc
66 67 68
issue tracker at:
.br
.BR http://code.google.com/p/libnfc/issues
69 70
.SH LICENCE
.B libnfc
71 72 73
is licensed under the GNU Lesser General Public License (LGPL), version 3.
.br
.B libnfc-utils
74 75
and
.B libnfc-examples
76
are covered by the the BSD 2-Clause license.
77 78
.PP
This manual page is licensed under the terms of the GNU GPL (version 2 or later).