The NFC API provides connectivity between NFC enabled devices.
Currently the API is supported on Android, and Linux using Neard v0.14 or later.
NFC is an extremely short-range (less than 20 centimeters) wireless technology and has a maximum transfer rate of 424 kbit/s. NFC is ideal for transferring small packets of data when two devices are touched together.
The NFC API provides APIs for interacting with NFC Forum Tags and NFC Forum Devices, including target detection and loss, registering NDEF message handlers, reading and writing NDEF messages on NFC Forum Tags and sending tag specific commands.
To use the C++ library in your application, add the following configuration option to your .pro
file:
QT += nfc
To use the classes of the module in your application you need the following import statement in your .qml
file:
import QtNfc 5.2
Qt NFC is available under commercial licenses from The Qt Company. In addition, it is available under free software licenses. Since Qt 5.4, these free software licenses are GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.
The QtNfc module exports the following logging categories:
Logging Category | Description |
---|---|
qt.nfc.neard | Enables logging of the Neard/Linux implementation |
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: