Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.2.0
-
None
-
C7 FW 21.007, Qt 4.7.3, Qt Mobility 1.2 beta
-
9b23c27bb2f8974e008341a68e69e44abadd7713, 575717b31ffae4e7636f2e9832a9f9ab96e36e83
Description
Writing an NDEF message to a tag (tested with NFC Forum Type 1, 2 and Mifare) using Qt Mobility 1.2 beta (internal release) only works if an NDEF message is already present on the tag.
If the tag is completely empty, no message is written, and no callback or signal is sent out informing about the status or error.
Writing an NDEF message to the same tag with Java ME works fine; so it looks like a limitation of the Qt Mobility implementation and not a bug in the device.
Writing to the tag is done through:
QtMobility::QNearFieldTarget.writeNdefMessages(...);
Attached two log files:
Log-WriteToEmptyType2Tag.txt: Debug output from writing to an empty tag (fails).
Log-WriteToNdefType2Tag.txt: Debug output when writing to a tag with an existing NDEF message (success).
Both logs are produced with the attached NdefDemo app, but the same behavior can be also be reproduced with the "ndefeditor" example app as part of the Qt Mobility package.