Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    Registered User Ebross's Avatar
    Join Date
    Sep 2007
    Posts
    16
    Hi,

    Is there a way, from the midlet to reset:
    1- The SE?
    2- The ME?

    If yes, any example or any idea on how?

    Thanks in advance,

    Ebro

  2. #2
    Super Contributor prakash.raman's Avatar
    Join Date
    Jun 2007
    Location
    Mumbai
    Posts
    539
    HEy Ebross wat is ME & SE, i dont get short forms. can u tell me.

  3. #3
    Registered User Ebross's Avatar
    Join Date
    Sep 2007
    Posts
    16
    Quote Originally Posted by prakash.raman View Post
    HEy Ebross wat is ME & SE, i dont get short forms. can u tell me.
    Hi,
    Sry, was on hurry and did not explain the environment i am working on.
    I am using as Mobile Equipement the Nokia 6131 NFC that uses a Secure Element (java card).

    Thanks for your help,

    Ebross

  4. #4
    Super Contributor prakash.raman's Avatar
    Join Date
    Jun 2007
    Location
    Mumbai
    Posts
    539
    Hey thats why i was confused why i didnt heard those terms, well now i know cause i havent wrk on java card, any ways hope some one might give u answer.

    take care

  5. #5
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Moved to (likely) better forum for this question

    Hartti

  6. #6
    Registered User Ebross's Avatar
    Join Date
    Sep 2007
    Posts
    16
    Hi Hartty,

    I realised that there was an NFC subject on forum after I send the thread.

    Thanks
    Ebross

  7. #7
    Registered User Ebross's Avatar
    Join Date
    Sep 2007
    Posts
    16
    I suppose that there is no way to do a reset on the Secure Element or in the Handset from the midlet?
    Or does the SE do a reset each time is wake up by a magnetic filed?

  8. #8
    Regular Contributor phoenix__'s Avatar
    Join Date
    Dec 2004
    Posts
    53
    What do you mean by reset the secure element?

  9. #9
    Registered User Ebross's Avatar
    Join Date
    Sep 2007
    Posts
    16
    Hi phoenix,

    By reseting the SE I mean a reinitialization of the SE. The SE being an Java card, it should have the back up features. For example, if we download/install an application to the SE by OTA using a midlet as a bridge, and something goes wrong (lost communication, etc) the only way in the java card to do a roll back (state as it was before the download) is by doing a reset. I was wondering if there is a way to do something similar via the midlet.

    Regards,

    Ebross

  10. #10
    Regular Contributor phoenix__'s Avatar
    Join Date
    Dec 2004
    Posts
    53
    I've not done much with javacards, so don't know about that ... however as the SE is to javacard specs, however you do it with a real card you should be able to do the same with the SE.

  11. #11
    Registered User Ebross's Avatar
    Join Date
    Sep 2007
    Posts
    16
    Thanks phoenix. I'll try, i will send an APDU cmd (ATR) to the SE via the midlet and see what happens.
    Regards,
    Ebross

  12. #12
    Registered User Ebross's Avatar
    Join Date
    Sep 2007
    Posts
    16
    Hi,
    What I just wrotte has no sense...
    I am using a Nokia 6131 NFC, and I am trying to understand when does the SE boots
    Is there a way to know the ATR send by the SE? (by default it should send one at every reboot)
    Is there a way to force a reset to the SE, another way of turning off handset?

    Thanks

    Ebross

  13. #13
    Regular Contributor phoenix__'s Avatar
    Join Date
    Dec 2004
    Posts
    53
    It is possible (and I believe the default state) to be prompted whenever the secure element is to be activated. If you move the phone to a powered cardreader (regardless of what the reader may try and do) you should be prompted to enable to SE for 60 seconds.

    I presume that at this point, the SE will be 'booted'. Removing and replacing the phone during this 60 seconds does not reprompt so the SE is still powered.

    If the midlet trys to access the SE the same enable SE prompt is presented, so I guess that it is booted up at this point as well rather than being in a predefined state.

  14. #14
    Registered User Ebross's Avatar
    Join Date
    Sep 2007
    Posts
    16
    Thank you phoenix for your prompted answer
    Just in case, do you know any reference concerning this?

    Best regards,

    Ebros

  15. #15
    Regular Contributor phoenix__'s Avatar
    Join Date
    Dec 2004
    Posts
    53
    All of the above is based on experience ... but look at the wiki, and the other downloadable docs from forum nokia site.

Page 1 of 2 12 LastLast

Similar Threads

  1. calling midlet from midlet throws SecurityException on 6600
    By brianpegan in forum Mobile Java General
    Replies: 3
    Last Post: 2010-10-25, 05:31
  2. Opening connection to the secure element fails when restarting the midlet.
    By tfroidcoeur in forum Near Field Communication
    Replies: 6
    Last Post: 2007-08-24, 08:38
  3. 技术文档:MIDP 2.0安全机制 与 MIDlet 数字签名
    By wotrust in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 0
    Last Post: 2006-12-30, 07:42
  4. 'Response Unknown' when downloading midlet
    By Weevil in forum Mobile Java General
    Replies: 3
    Last Post: 2004-05-30, 17:01
  5. How to create two instances of midlet
    By marquito99 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-30, 01:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved