pn53x-tamashell(1)
π pn53x-tamashell β the manual page, but make it cute π
okay bestie, welcome to pn53x-tamashell(1) from the General Commands Manual section β this is the lil shell that talks TAMA to your PN53x chip and it's honestly giving main character energy. let's get into it π¦
β¨ NAME β¨
pn53x-tamashell β PN53x TAMA communication demonstration shell
πΈ SYNOPSIS πΈ
pn53x-tamashell [script]
π DESCRIPTION π
pn53x-tamashell is a lil interactive tool that sends so-called TAMA commands and receives the answers back. TAMA is the command set that the PN53x family supports, iykyk. The messages are binary and the shell wants everything in hexadecimal notation. TAMA command and response prefixes (0xD4/0xD5), the CRC, and any framing above all that? Handled transparently, no cap. You don't gotta think about it π
You can run the shell interactively (readline support, periodt) or you can write your own script file with commands and comments β anything starting with ;, # or // counts as a comment. Spaces are ignored and you can use them for readability, so go off, format it cute.
Shebang is supported btw, simply start your script with:
#!/usr/bin/env pn53x-tamashell
π COMMANDS π
p Nβ introduces a pause ofNmilliseconds. lil nap time for your commands π΄qor Ctrl-d β quits. bye bestie π«Ά
π EXAMPLES π
The GetFirmware command is D4 02, so you literally just have 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, but with a script this time:
$ 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!
see how the comments just vibe there and nothing breaks? obsessed. β¨
β OPTIONS β
scriptβ script file with tama commands π
π BUGS π
Please report any bugs on the libnfc issue tracker at: https://github.com/nfc-tools/libnfc/issues
(not me asking you to snitch, but likeβ¦ do snitch, it helps π)
π 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).
and that's the whole thing bestie β September 15, 2010, pn53x-tamashell(1), slay πβ¨ππ¦
π¦ where this page comes from
- alpine 3.24: libnfc-doc 1.8.0-r2 Β· LGPL-3.0-or-later
- arch rolling: libnfc 1.8.0-4 Β· LGPL-3.0-or-later
- debian bookworm: libnfc-pn53x-examples 1.8.0-2 Β· LGPL-3.0-only
- debian trixie: libnfc-pn53x-examples 1.8.0-3.1+b1 Β· LGPL-3.0-only
- fedora 43: libnfc-examples 1.8.0-12.fc43 Β· LGPL-3.0-or-later
- fedora 44: libnfc-examples 1.8.0-13.fc44 Β· LGPL-3.0-or-later
- nixos 26.05: libnfc 1.8.0
- nixpkgs unstable: libnfc 1.8.0
- ubuntu jammy: libnfc-pn53x-examples 1.8.0-2 Β· LGPL-3.0-only
- ubuntu noble: libnfc-pn53x-examples 1.8.0-3.1build1 Β· LGPL-3.0-only
- ubuntu questing: libnfc-pn53x-examples 1.8.0-3.1build1
- ubuntu resolute: libnfc-pn53x-examples 1.8.0-3.1build2 Β· LGPL-3.0-only
- ubuntu stonking: libnfc-pn53x-examples 1.8.0-3.1build2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms