1 Reply Latest reply: Jun 27, 2013 1:42 AM by SergeyMikhaylov RSS

    PRO_CMD_PROVIDE_LOCAL_INFORMATION doesn't work on real card

    SergeyMikhaylov

      I'm trying to get some local information, then i do it on Gemalto Emulator, this code work's correctly

      proHdlr.init(PRO_CMD_PROVIDE_LOCAL_INFORMATION, (byte)0x0E, DEV_ID_TERMINAL);
        proHdlr.send();
        Util.arrayFillNonAtomic(tempBuffer, OFFSET_LOCATION_INFO, LENGTH_LOCATION_INFO, (byte) 0x00); 
        rspHdlr.findAndCopyValue(TAG_LOCATION_INFORMATION, tempBuffer, OFFSET_LOCATION_INFO);
      

       

      When i run it on real phone and real card, program crashes and returns to menu, and i can't catch any exceptions. What i doing wrong?

      I'am using: USIM from Gematlo, Gemalto Developer Enterprise Kit.

      Thanks for any help.