1pn53x-tamashell(1)          General Commands Manual         pn53x-tamashell(1)
2
3
4

NAME

6       pn53x-tamashell - PN53x TAMA communication demonstration shell
7

SYNOPSIS

9       pn53x-tamashell [script]
10

DESCRIPTION

12       pn53x-tamashell  is  a  simple  interactive tool to send so called TAMA
13       commands and receive the answers.  TAMA refers to the command set  sup‐
14       ported  by the PN53x family.  Messages are binary and the shell expects
15       hexadecimal   notation.    TAMA   commands   and   responses   prefixes
16       (0xD4/0xD5), CRC and any framing above are handled transparently.
17
18       You  can use the shell interactively (with readline support) or you can
19       write your own script file consisting in commands  and  comments  (any‐
20       thing  that  starts with ";", "#" or "//").  Spaces are ignored and can
21       be used for readability.
22
23       Shebang is supported, simply start your script with:
24        #!/usr/bin/env pn53x-tamashell
25
26

COMMANDS

28       p N to introduce a pause of N milliseconds.
29
30       q or Ctrl-d to quit.
31
32

EXAMPLES

34       GetFirmware command is D4 02, so one has just to send the command "02":
35
36        $ pn53x-tamashell
37        Connected to NFC reader: SCM Micro/SCL3711-NFC&RW - PN533 v2.7 (0x07)
38        > 02
39        Tx: 02
40        Rx: 33  02  07  07
41        > 40
42        Tx: 40
43        Rx: Command Not Acceptable
44        > q
45        Bye!
46
47       Same thing, with a script:
48
49        $ pn53x-tamashell << EOF
50        // This is a comment
51        02 // GetFirmware
52        40 // Command with missing arguments
53        EOF
54
55        Connected to NFC reader: SCM Micro/SCL3711-NFC&RW - PN533 v2.7 (0x07)
56        > // This is a comment
57        > 02 // GetFirmware
58        Tx: 02
59        Rx: 33  02  07  07
60        > 40 // Command with missing arguments
61        Tx: 40
62        Rx: Command Not Acceptable
63        > Bye!
64
65

OPTIONS

67       script Script file with tama commands
68
69

BUGS

71       Please report any bugs on the libnfc issue tracker at:
72       http://code.google.com/p/libnfc/issues
73

LICENCE

75       libnfc is licensed under the GNU Lesser General Public License  (LGPL),
76       version 3.
77       libnfc-utils  and  libnfc-examples  are covered by the the BSD 2-Clause
78       license.
79
80       This manual page is licensed under the terms of the GNU GPL (version  2
81       or later).
82
83
84
85                              September 15, 2010            pn53x-tamashell(1)
Impressum