nfc

module
v2.1.3+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2020 License: LGPL-3.0

README

This is a Go wrapper for the libnfc.

You need the following libnfc version to use this code:

    versions <= 2.0.2 need libnfc version 1.7.0 or 1.7.1
    version  >= 2.1.0 need libnfc version 1.8.0 or later

Due to an unfortunate ABI breakage, libnfc version 1.7.2 cannot be used
with this wrapper.

The code has not been thoroughly tested yet. Please report any errors to
the project. The API is considered stable as of version 2.0 and will
probably not change in incompatible ways in the near future.

Version 2.0.2 and earlier of this wrapper have been developed before the
advent of Go modules.  For this reason, they use a weird homecooked
scheme for their versioning involving the 2.0 and latest directories.
These can safely be ignored for new developments.  Using Go modules,
only version 2.1.0 and later are available.

To use this library, install libnfc version 1.8.0 or newer and import

    github.com/fuzxxl/nfc/v2

into your project.  This project uses go modules for versionning and
tries its best to follow the usual guidelines for interface stability.

Copyright (c) 2014--2020 Robert Clausecker <fuzxxl@gmail.com>

This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, version 3.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

Directories

Path Synopsis
2.0
nfc
This package wraps the libnfc to provide an API for Go.
This package wraps the libnfc to provide an API for Go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL