Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
nfc-features.qdoc
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5\page qtnfc-features.html
6\title Supported NFC Features
7\ingroup connectivity-nfc
8\inmodule QtNfc
9\brief Summary of supported NFC features on different platforms.
10
11Qt NFC provides two options for reading and writing the data. These options are
12reflected in the \l {QNearFieldTarget::}{AccessMethod} enum.
13
14\list
15 \li \l {QNearFieldTarget::}{NdefAccess} - using NDEF messages via
16 \l {QNearFieldTarget::}{readNdefMessages()} and
17 \l {QNearFieldTarget::}{writeNdefMessages()}.
18 \li \l {QNearFieldTarget::}{TagTypeSpecificAccess} - sending custom commands
19 using \l {QNearFieldTarget::}{sendCommand()} and getting the results via
20 \l {QNearFieldTarget::}{requestResponse()}.
21\endlist
22
23\l {QNearFieldTarget::}{TagTypeSpecificAccess} implies that the
24user might need to send different data based on the NFC Tag Type. Tag types
25recognized by Qt NFC are defined in the \l {QNearFieldTarget::}{Type} enum.
26
27Qt NFC support for different access methods and tag types varies depending on
28the platform. The table below shows currently supported subsets of features
29for every platform.
30
31\table
32 \header
33 \li Platform
34 \li Recognized Tag Types
35 \li NDEF Support
36 \li Tag Specific Access
37 \row
38 \li \l {Qt NFC on Android}{Android}
39 \li All from the \l {QNearFieldTarget::}{Type} enum
40 \li Yes
41 \li Yes
42 \row
43 \li iOS
44 \li \list
45 \li \l {QNearFieldTarget::}{NfcTagType4}
46 \li \l {QNearFieldTarget::}{NfcTagType4A}
47 \li \l {QNearFieldTarget::}{NfcTagType4B}
48 \li \l {QNearFieldTarget::}{ProprietaryTag}
49 \endlist
50 \li No
51 \li Yes - for supported tag types
52 \row
53 \li Linux, Windows, macOS
54
55 (implemented using \l {PC/SC in Qt NFC}{PC/SC})
56 \li \list
57 \li \l {QNearFieldTarget::}{NfcTagType4}
58 \li \l {QNearFieldTarget::}{ProprietaryTag}
59 \endlist
60 \li Yes - for \l {QNearFieldTarget::}{NfcTagType4}
61 \li Yes - for \l {QNearFieldTarget::}{ProprietaryTag}
62\endtable
63
64*/