Go-nfctype4
Package go-nfctype4
implements the NFC Forum Type 4 Tag Operation Specification Version 2.0.
The implementation acts as an NFC Forum Device (an application that can read and write NFC Forum Tags) via a provided Device
type which can perform Read
, Update
and Format
operations.
The module and submodules contain all the pieces to implement software-based NFC Type 4 Tags as well. For more information about this check the documentation. You can also check out this snippet showing how this is done using the static tag implementation provided.
nfctype4-tool
nfctype4-tool
is a command-line tool to read and write NFC Type 4 tags. It can be installed with:
go get -u github.com/hsanjuan/go-nfctype4/nfctype4-tool
You can then run nfctype4-tool -h
to get going.
Note: to turn a Mifare Desfire EV2 (4k) card into an NFC Type 4 Tag check: https://gitlab.com/snippets/18476 .
Packages
go-nfctype4
and its subpackages offer access to the implementation of all the entities described in the NFC Forum Type 4 Tag specification. These are the links to the reference documentation of the most relevant packages: