Qt NFC 5.6

Qt 5.6 | Qt NFC

Qt 5.6.2 Reference Documentation

# Qt NFC

The NFC API provides connectivity between NFC enabled devices.

Currently the API is supported on Android, and Linux using Neard v0.14 or later.

## Overview

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

### Guides

- Qt NFC Overview

### Reference

- QML Types
- C++ Classes

### Logging Categories

The QtNfc module exports the following logging categories:

Logging Category | Description
--- | ---
qt.nfc.neard | Enables logging of the Neard/Linux implementation

### Examples

- QML
  - CorkBoard
  - QML Poster
- C++
  - Annotated URL
  - NDEF Editor