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.

Getting started

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

Related information