Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2008

    PUT/GET data from NFC SE

    Hi there,
    How can one store a 16byte value on the SE?. Is there any code examples here ?. I saw many examples to store a single byte called value and inc/dec that one. But I want to store a 16digit number, read and write the same from a midlet and the applet. I tried the examples at http://www.wrankl.de/Javacard/PGDATAJava.txt it works for me on the simulated card. But if I try to do the same on the NFC, I am able to store the data, but when I read it, I get the error 6703 - wrong length.
    APDU used:
    send_apdu -sc 0 -APDU 00DA004003313233 // To put data
    send_apdu -sc 0 -APDU 00CA00400003; // to get data
    the error I get is,
    Response <-- 6700
    send_APDU() returns 0x80206700 (6700: Wrong length.)
    the above works fine when simulated. How can I read what I stored and how can I update what I stored !?!
    Would be grateful for a reply

  2. #2
    Registered User
    Join Date
    Sep 2008

    Re: PUT/GET data from NFC SE

    Got it working..that was a wrong APDU to get data...the right one was
    thanks for stopping by

Similar Threads

  1. SIP calls over Packet data
    By thefamilyman in forum VoIP
    Replies: 8
    Last Post: 2010-04-27, 06:12
  2. Replies: 3
    Last Post: 2008-09-09, 04:53
  3. Nokia 6131 NFC SDK v. 1.1 has been released!
    By Raluca_ in forum Near Field Communication
    Replies: 8
    Last Post: 2008-05-29, 13:54
  4. Nokia 6131 NFC SDK 1.0 has been released
    By Nokia Ron in forum Near Field Communication
    Replies: 0
    Last Post: 2007-03-26, 22:28
  5. Replies: 2
    Last Post: 2006-08-11, 20:51

Posting Permissions

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