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 |