summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.qdoc
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2016-12-18 21:15:10 +0100
committerLars Schmertmann <lars.schmertmann@governikus.de>2016-12-25 08:24:18 +0000
commit5882866768ae24ef31f9feda4765fea17375fbcb (patch)
tree4cf9c7b57e25d7969aac27c45126d8bde7908714 /src/corelib/global/qnamespace.qdoc
parent615027129d3d5e12a6e2f5d02d2af8320cc58ea7 (diff)
Extend qChecksum calculation
ISO 14443-3 is for nfc communication and uses 2 different checksums. The existing one is from ISO 3309 and the other one is from ITU-V.41. Both are needed to implement an own transport layer defined in ISO 14443-4 to allow nfc commands with a length above 250 byte independent from the smartphone. This change will avoid code duplication in QNearFieldTarget. The private function qNfcChecksum is a copy of qChecksum. Change-Id: I790ffec8e2ea46f88b2db6f48b64fdcb140e7b70 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qnamespace.qdoc')
-rw-r--r--src/corelib/global/qnamespace.qdoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc
index 64f0b5e1da..dfecc3e2d3 100644
--- a/src/corelib/global/qnamespace.qdoc
+++ b/src/corelib/global/qnamespace.qdoc
@@ -3158,3 +3158,14 @@
\omitvalue MouseEventFlagMask
*/
+
+/*!
+ \enum Qt::ChecksumType
+ \since 5.9
+
+ This enum describes the possible standards used by qChecksum().
+
+ \value ChecksumIso3309 Checksum calculation based on ISO 3309.
+
+ \value ChecksumItuV41 Checksum calculation based on ITU-V.41.
+*/