Package nfc wraps the libnfc to provide an API for Go. Most documentation was taken unchanged from the documentation inside the libnfc. Some functions and names have been altered to fit the conventions and idioms used in Go. To use this package, obtain and install libnfc. By default, pkg-config is used to find and link libnfc. If you cannot use pkg-config, you can compile with build-tag nopkgconfig or no_pkgconfig to instead link with -lnfc.
This package wraps the libnfc to provide an API for Go. Most documentation was taken unchanged from the documentation inside the libnfc. Some functions and names have been altered to fit the conventions and idioms used in Go. This package is licensed under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3.
TODO change package to plus500api
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.
This package offers is a simple HTTP server for Gemini Orbit IP NFC readers. The Orbit IP attempts to HTTP requests to a webserver, by default runs at 192.168.7.191 on port 80, serving path on /orbit.php. The reader sends several URL query parameters which contain meta data about the request, for example the command it is performing, data, date time and so on. This package allows you to construct and run a simple HTTP server for serving these requests and returning responses to the reader. A simple implementation looks like this: