Supported NFC Features
Qt NFC provides two options for reading and writing the data. These options are reflected in the AccessMethod enum.
- NdefAccess - using NDEF messages via readNdefMessages() and writeNdefMessages().
- TagTypeSpecificAccess - sending custom commands using sendCommand() and getting the results via requestResponse().
TagTypeSpecificAccess implies that the user might need to send different data based on the NFC Tag Type. Tag types recognized by Qt NFC are defined in the Type enum.
Qt NFC support for different access methods and tag types varies depending on the platform. The table below shows currently supported subsets of features for every platform.
Platform | Recognized Tag Types | NDEF Support | Tag Specific Access |
---|---|---|---|
Android | All from the Type enum | Yes | Yes |
iOS | No | Yes - for supported tag types | |
Linux, Windows, macOS (implemented using PC/SC) | Yes - for NfcTagType4 | Yes - for ProprietaryTag |
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.