diff options
-rw-r--r-- | src/nfc/qnearfieldtarget.cpp | 1 | ||||
-rw-r--r-- | src/nfc/qnearfieldtarget.h | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/nfc/qnearfieldtarget.cpp b/src/nfc/qnearfieldtarget.cpp index 9b0976e1..89f76f99 100644 --- a/src/nfc/qnearfieldtarget.cpp +++ b/src/nfc/qnearfieldtarget.cpp @@ -101,6 +101,7 @@ QT_BEGIN_NAMESPACE_NFC This enum describes the access methods a near field target supports. + \value UnknownAccess The target supports an unknown access type. \value NdefAccess The target supports reading and writing NDEF messages using readNdefMessages() and writeNdefMessages(). \value TagTypeSpecificAccess The target supports sending tag type specific commands using diff --git a/src/nfc/qnearfieldtarget.h b/src/nfc/qnearfieldtarget.h index 140547e3..8c2dd0c1 100644 --- a/src/nfc/qnearfieldtarget.h +++ b/src/nfc/qnearfieldtarget.h @@ -77,9 +77,10 @@ public: }; enum AccessMethod { - NdefAccess, - TagTypeSpecificAccess, - LlcpAccess + UnknownAccess = 0x00, + NdefAccess = 0x01, + TagTypeSpecificAccess = 0x02, + LlcpAccess = 0x04 }; Q_DECLARE_FLAGS(AccessMethods, AccessMethod) |