diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2016-11-29 16:34:37 +0100 |
---|---|---|
committer | Lars Schmertmann <lars.schmertmann@governikus.de> | 2017-01-03 12:26:35 +0000 |
commit | 5cd2df95d14d76f4f96b119e6ca6faff0a212fb2 (patch) | |
tree | 415e3636181bf8a319128b8e90bf651dd3027c2d /src/nfc/qnearfieldtarget_android_p.h | |
parent | 84dc2b939dbfab8ccddd78dbc8b3c367a936875a (diff) |
Android: QNearfieldTarget: Introduce maxCommandLength()
For the communication with a German ID card its required to execute
commands with a length up to 500 byte. With this change it is
possible to check if the required length is supported.
[ChangeLog][QNearfieldTarget] Introduce maxCommandLength() to
make it possible to check the maximum supported length for commands.
Change-Id: I7e655f419765d8ad728f6d6005a85a01d5aa03e9
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/nfc/qnearfieldtarget_android_p.h')
-rw-r--r-- | src/nfc/qnearfieldtarget_android_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nfc/qnearfieldtarget_android_p.h b/src/nfc/qnearfieldtarget_android_p.h index 94bb394d..f2e2ee7f 100644 --- a/src/nfc/qnearfieldtarget_android_p.h +++ b/src/nfc/qnearfieldtarget_android_p.h @@ -77,6 +77,7 @@ public: virtual AccessMethods accessMethods() const; virtual bool hasNdefMessage(); virtual RequestId readNdefMessages(); + int maxCommandLength() const; virtual RequestId sendCommand(const QByteArray &command); virtual RequestId sendCommands(const QList<QByteArray> &commands); virtual RequestId writeNdefMessages(const QList<QNdefMessage> &messages); |