×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    2

    6126: System.getProperty("internal.se.url") returns NULL

    On a 6126 NFC test phone, System.getProperty("internal.se.url") is returning null. It is working fine on the 6131. Additionally, if I try to create a ISO14443Connection with the url "nfc:sc;type=iso4a;mode=internal" I get a security Exception, regardless if this app is signed or not.

    Can I still get a ISO14443Connection on a 6126 test phone? Does this phone even have a secure element?

    Thanks, Dave

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: 6126: System.getProperty("internal.se.url") returns NULL

    ??? Not really understanding your question

    There is no such phone as 6126 NFC, only 6131 NFC and 6126 (with no NFC support)
    So what is the 6126 NFC phone you are talking about?

    Hartti

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Re: 6126: System.getProperty("internal.se.url") returns NULL

    I think he would to say 6212.
    However I have the same problem.
    Bye

  4. #4
    Registered User
    Join Date
    Oct 2006
    Posts
    182

    Re: 6126: System.getProperty("internal.se.url") returns NULL

    i think he is talking about Nokia 6216 NFC phone. he misspelled it as 6126 (i think).

    NFC technology takes its next step with the Nokia 6216 classic


    Can I still get a ISO14443Connection on a 6126 test phone? Does this phone even have a secure element?
    this phone doesnt have a SE on it. it is UICC SIM based one. You have to get a SIM that suppports javacards and you need to use APDUConnection (from SATSA API, JSR177)interface for to establish a connection to UICC SIM.

    Regards,
    Sunil
    Last edited by esunilkumare; 2009-07-02 at 06:24.

  5. #5
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: 6126: System.getProperty("internal.se.url") returns NULL

    Before the discussion in this old thread gets out of hand. No, the original author meant neither 6212 (announced in April 2008) nor 6216 (announced in spring 2009). The original question was written in late 2007.

    Unfortunately I do not have answer to crocodile1979's question about interal.se.url system property not working on 6212.

    Hartti

  6. #6
    Registered User
    Join Date
    Oct 2006
    Posts
    182

    Unhappy Re: 6126: System.getProperty("internal.se.url") returns NULL

    sorry for the erroneous post. i didn't noticed the post date

  7. #7
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Re: 6126: System.getProperty("internal.se.url") returns NULL

    Quote Originally Posted by esunilkumare View Post
    sorry for the erroneous post. i didn't noticed the post date
    Hi, the post is old but my problem is really actual.

    I try to explain my problem.
    I'm doing a project for a Nfc wallet, so i've written a midlet that run on a nokia 6212 and a cardlet tha I upload on the SE of this phone with jcop.
    In my project, I access to the Se because my midlet is signed and the phone is unlocked; my problem starts in the payment process. Pratically, i'm simulating that the user enter the pin that unlock the secure element and the the user put the phone across the reader and then the buyer make a transaction simply sendind an apdu.
    My problem is that when I insert the pin and move the phone near the reader, jcop say that no card are available. I've tried to close connection from the midlet to SE using mconn.close() but nothing happen.
    What I can do??
    thanks a lot.

    Ops....I'm using a pegoda MF RD 700 as reader.

    Oronzo

  8. #8
    Registered User
    Join Date
    Oct 2006
    Posts
    182

    Re: 6126: System.getProperty("internal.se.url") returns NULL

    i assume you are selecting your own cardlet inside your mildet rt ?

    if so, after closing this connection, try to open a connection with your CardManager(ISD. with AID A000000003000000) and then close this connection. i hope this will solve the issue.

    Regards,
    Sunil

  9. #9
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Re: 6126: System.getProperty("internal.se.url") returns NULL

    I show you a bit of my code:



    answer = smc.exchangeData(CMD_VERIFICA);

    } catch (Exception ex) {
    form4.append(ex.toString());
    }
    // vedo se la verifica è andata a buon fine
    if (answer[0] == (byte) 0x90 && answer[1] == (byte) 0x00) {
    try {
    smc.close();
    } catch (IOException ex) {}
    form6=new Form("provo");
    form6.append("Prema Ok e avvicini il cellulare al lettore NFC per effettuare\n il pagamento\n");
    form6.append("La ringraziamo per avere usato il nostro servizio.");
    form6.addCommand(finalCommand);
    display.setCurrent(form6);
    form6.setCommandListener(this);
    }


    When I load the midlet on the phone I can see all the form, so I suppose that the instruction smc.close()
    is executed. At this moment i can move the phone near the pegoda reader and send the apdu with the addebit code, but when I do this Jcop say to me this:

    cm> /send C0400000012500
    => C0 40 00 00 01 25 00 .@...%.
    jcshell: Error code: -6 (Card terminal error)
    jcshell: Communication problems: T=CL communication error: T=CL: Transmission error. Failed to halt PICC

    Anyone knows what means this error??
    From Jcop if I want to communicate whit cardlet I must reset alla with atr command and restart all with also the select, but at this point I have a Pin_request exception.
    I hope you understand me.
    Bye
    Oronzo

Similar Threads

  1. Please its veru urgent on nokia 3250
    By siva_guduru in forum Mobile Java General
    Replies: 8
    Last Post: 2008-05-01, 10:24
  2. Connector.open returns null
    By lekkie in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-01-23, 13:07
  3. conn = (MessageConnection)Connector.open(smsc); returns null
    By JWtheCoolOne in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2005-01-11, 09:30
  4. global root overflow(please help)
    By sushant_125 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2004-05-14, 08:24
  5. Personal
    By JSmith77 in forum PersonalJava
    Replies: 4
    Last Post: 2003-07-30, 12:52

Posting Permissions

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