×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    8

    Qt Mobility 1.2 APIs - unable to access tag type specific access (-5)

    Hello,

    I'm having problems using Tag type specific access commands on Kovio tags (NFC Type 2 Forum tag) using Qt Mobility 1.2 NFC APIs. According to the Qt Mobility documentation for QNearFieldTarget:

    "If the target supports TagTypeSpecificAccess, sendCommand() can be used to send a single proprietary command to the target and retrieve the response. sendCommands() can be used to send multiple proprietary commands to the target and retrieve all of the responses."

    I'm using the Tag type specific access commands in order to set the Capability Container (CC) data in order to grant access for read/write NDEF operations as if I don't do this I receive a -46 (KErrPermissionDenied) error message when writing a Type 2 tag.

    When I tap a NFC Forum Type 2 tag and get the target access modes it only reports that it supports NDEF access, so when I try and issue tag specific commands (QNearFieldTagType2::writeBlock(), QNearFieldTarget::sendCommand()) it fails with -5 (KErrNotSupported).

    Is there anywhere where I can update the database to add support for additional NFC Type Forum 2 tags?

    My development environment is as follows:
    Qt SDK 1.1
    Qt Mobility 1.2 APIs (inc. NFC support)

    My environment seems to be setup correctly as I have successfully been able to install and run the NFC demo applications (nfchat and nfccorkboards).

    I've not tried using the native Symbian NFC APIs (will try next) will give this a go next.

    Thanks for any help,

    Tom

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    9

    Re: Qt Mobility 1.2 APIs - unable to access tag type specific access (-5)

    Sorry I hope if i could help you. But i have a question please.
    How did you get QT Mobility 1.2 APIs ?
    Does it contain a API to turn on/off the NFC reader?
    Is it hard to learn programming with Qt ?
    Thanks.

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: Qt Mobility 1.2 APIs - unable to access tag type specific access (-5)

    Forum Nokia manage some project from there you can get Qt mobility API or you can download Mobility source code and build it yourselves.
    No external API to turn NFC ON/OFF from Qt.

  4. #4
    Registered User
    Join Date
    Sep 2011
    Posts
    8

    Re: Qt Mobility 1.2 APIs - unable to access tag type specific access (-5)

    Hi Tom,

    after looking into the forum of your specific thread i found that you faced the similar problem like what i am facing now.

    I am using tag type 4 and i am trying to sendcommands() and it returns -5.

    I am able to read & write NDEF records but not able to send tag specific commands ?

    Please provide me your inputs on the same.

    Thanks,
    Reddy

Similar Threads

  1. Unable to use QT Mobility 1.2
    By sumit.ece in forum [Archived] Qt Mobility Project
    Replies: 0
    Last Post: 2011-04-21, 07:27
  2. Camera API missing from Qt SDK 1.1's Qt Mobility APIs
    By darkandchoco in forum [Archived] Qt Mobility Project
    Replies: 11
    Last Post: 2011-03-14, 11:15
  3. Qt Mobility and video frame access
    By jtyrkko in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2010-08-21, 10:33
  4. Replies: 1
    Last Post: 2007-08-10, 08:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×