×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Aug 2006
    Posts
    252

    Connection MFStandardConnection/NDEFTagConnection problem emulator

    Hi,
    my nfc emulator for 6212 create tag with connection com.nokia.nfc.nxp.mfstd.MFStandardConnection, but I want tag with javax.microedition.contactless.ndef.NDEFTagConnection.
    How to modified this?
    Thanks

  2. #2
    Registered User
    Join Date
    Feb 2009
    Location
    Hagenberg, Austria
    Posts
    121

    Re: Connection MFStandardConnection/NDEFTagConnection problem emulator

    Hallo,

    first of all, it's not the tag that offers a certain type of connection but it's the phone that associates one or more connection types (connection interfaces) to a detected tag type.

    How did you detect that the phone offers only an MFStandardConnection to the tag? What classes are returnd by the TargetProperties' getConnectionNames() method?

    Usually a MIFARE Classic card is associated with both connection interfaces (com.nokia.nfc.nxp.mfstd.MFStandardConnection and javax.microedition.contactless.ndef.NDEFTagConnection). Similarly a MIFARE Ultralight tag has com.nokia.nfc.nxp.simpletag.SimpleTagConnection and javax.microedition.contactless.ndef.NDEFTagConnection.

    br,
    Michael

  3. #3
    Regular Contributor
    Join Date
    Aug 2006
    Posts
    252

    Re: Connection MFStandardConnection/NDEFTagConnection problem emulator

    My emularto give me only com.nokia.nfc.nxp.mfstd.MFStandardConnection.
    I thinks that emulator have some problem, but i don't undestad what kind
    Best regards

  4. #4
    Registered User
    Join Date
    Feb 2009
    Location
    Hagenberg, Austria
    Posts
    121

    Re: Connection MFStandardConnection/NDEFTagConnection problem emulator

    Could you provide a working example that only gives you com.nokia.nfc.nxp.mfstd.MFStandardConnection? Also I would like to know the return values you get from the TargetPropperties' getUrl() method and the getTargetTypes() method.

    br,
    Michael

  5. #5
    Regular Contributor
    Join Date
    Aug 2006
    Posts
    252

    Re: Connection MFStandardConnection/NDEFTagConnection problem emulator

    Hi,

    this is the string that emulator give me:
    tProp[0].getUrl(connections[i]nfc:rf;type=mf1k;uid=0c817e80
    connections[i].getName()com.nokia.nfc.nxp.mfstd.MFStandardConnection

    Best regards

  6. #6
    Registered User
    Join Date
    Feb 2009
    Location
    Hagenberg, Austria
    Posts
    121

    Re: Connection MFStandardConnection/NDEFTagConnection problem emulator

    So the method you used here was tProp[0].getUrl(connections[i].getName()), right? But I would be more interested whether tProp[0].getUrl() (without any parameter) returns NULL or an actual value.

    br,
    Michael

Similar Threads

  1. MFStandardConnection & NDEFTagConnection & Mifare tags in general
    By JDoe in forum Near Field Communication
    Replies: 18
    Last Post: 2008-08-15, 14:04
  2. How to get NDEFTagConnection to internal mifare of 6131
    By sujithjoseph in forum Near Field Communication
    Replies: 1
    Last Post: 2008-02-15, 14:17
  3. Problem in FTP Connection using emulator
    By RB_Sahu in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-06-12, 10:54
  4. Bluetooth Connection Problem in Emulator
    By jakob98 in forum Bluetooth Technology
    Replies: 4
    Last Post: 2005-10-16, 22:38

Posting Permissions

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