Socket
Socket
Sign inDemoInstall

github.com/hsanjuan/go-nfctype4

Package Overview
Dependencies
2
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/hsanjuan/go-nfctype4

Package nfctype4 is an implementation of the NFC Forum Type 4 Tag Operation Specification Version 2.0 (NFCForum-TS-Type-4-Tag_2.0) nfctype4 can be used for both reading Tags, but also for implementing software-based Tags which can be emulated with the help of NFC Readers in "target" mode. The `Device` type offers functionality to perform `Read` and `Update` on NFC Type 4 Tags. The bridge between the `Device` and the hardware is covered by the modules in `libnfc4/drivers/*`, which implement the `CommandDriver` interface. A `libnfc` driver is provided, which allows working with any libnfc-supported hardware.


Version published

Readme

Source

Go-nfctype4

Build Status Coverage Status GoDoc

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:

FAQs

Last updated on 06 Mar 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc