GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PN53X-TAMASHELL (1)

NAME

pn53x-tamashell - PN53x TAMA communication demonstration shell

CONTENTS

Synopsis
Description
Commands
Examples
Options
Bugs
Licence

SYNOPSIS

pn53x-tamashell [script]

DESCRIPTION

pn53x-tamashell is a simple interactive tool to send so called TAMA commands and receive the answers. TAMA refers to the command set supported by the PN53x family. Messages are binary and the shell expects hexadecimal notation. TAMA commands and responses prefixes (0xD4/0xD5), CRC and any framing above are handled transparently.

You can use the shell interactively (with readline support) or you can write your own script file consisting in commands and comments (anything that starts with ";", "#" or "//"). Spaces are ignored and can be used for readability.

Shebang is supported, simply start your script with:
#!/usr/bin/env pn53x-tamashell

COMMANDS

p N to introduce a pause of N milliseconds.

q or Ctrl-d to quit.

EXAMPLES

GetFirmware command is D4 02, so one has just to send the command "02":

$ pn53x-tamashell
Connected to NFC reader: SCM Micro/SCL3711-NFC&RW - PN533 v2.7 (0x07)
> 02
Tx: 02
Rx: 33 02 07 07
> 40
Tx: 40
Rx: Command Not Acceptable
> q
Bye!

Same thing, with a script:

$ pn53x-tamashell << EOF
// This is a comment
02 // GetFirmware
40 // Command with missing arguments
EOF

Connected to NFC reader: SCM Micro/SCL3711-NFC&RW - PN533 v2.7 (0x07)
> // This is a comment
> 02 // GetFirmware
Tx: 02
Rx: 33 02 07 07
> 40 // Command with missing arguments
Tx: 40
Rx: Command Not Acceptable
> Bye!

OPTIONS

script Script file with tama commands

BUGS

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

LICENCE

libnfc is licensed under the GNU Lesser General Public License (LGPL), version 3.
libnfc-utils and libnfc-examples are covered by the the BSD 2-Clause license.

This manual page is licensed under the terms of the GNU GPL (version 2 or later).

Search for    or go to Top of page |  Section 1 |  Main Index


--> PN53X-TAMASHELL (1) September 15, 2010

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.