Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User hvuoltee's Avatar
    Join Date
    Mar 2003
    Posts
    12
    Hi,

    I'm working on a project that tries to use Nokia 6131NFC with a custom ISO14443 'smart card'. We've managed to get communication working between the phone and smart card, but there seems to be somekind of limit to request and response sizes. Especially for responses the limit seems to be low, around 180 bytes. When going over this, the phone generates the following error: "Com error 0x0f".

    Any ideas? Is it possible to use longer responses? Is this a known issue?

    -H-

  2. #2
    Hi,

    I just found out that the exact length of maximum response bytes is 253. Up until now I could not figure out what causes this limit.

    A possible workaround to use longer responses: Limit the length of transmitted data from the applet (smart card) to 253 bytes and use the GET RESPONSE
    command to retrieve all parts until you receive statusword 9000.

    Raphael

  3. #3
    Regular Contributor npr.novo's Avatar
    Join Date
    Mar 2003
    Posts
    57
    I have also seen the 253 bytes limit for ISO14443A-4. You need to limit your "Read Binary" to ~250 bytes and then execute multiple "Read Binary" until you have the amount of bytes you want from the smart card.

    There are also different limits for NDEF records depending on if you are using a 6131 or a 6212 and if you are using auto launch or manuel start of an application. See this post:
    http://discussion.forum.nokia.com/fo...ghlight=buffer

  4. #4
    Nokia Developer Champion traud's Avatar
    Join Date
    Mar 2003
    Posts
    3,863
    Quote Originally Posted by raphaelspreitzer View Post
    I just found out that the exact length of maximum response bytes is 253.
    Same here, see me list of max size for the response bytes in R-APDU (max Le) (without the two status words SW1-SW2):
    Code:
    0x03e Nokia Symbian
    		Nokia 808 PureView Firmware 113.010 aka Belle Feature Pack 2
    		java.io.Exception:  Exchange Data failed, Error Code: -9
    		-9 = KErrOverflow: buffer has over-filled without being emptied soon enough.
    0x0fd Nokia Series 40
    		Nokia 6212 classic Firmware 06.20
    		java.io.IOException: Communication error (0x0f)
    		hangs complete NFC stack
    0x105 Samsung Handset Platform
    		Samsung S5230N Firmware JF3
    		java.io.IOException: some other kind of I/O error occurs
    		hangs complete NFC stack
    0x0f7 Samsung bada 2
    		Samsung S5380 aka Wave Y Firmware KK4
    		java.io.InterruptedIOException: The connection to the smart card was lost
    		java.lang.Runtime: Unknown result of the exchange procedure
    		hangs complete NFC stack
    Quote Originally Posted by raphaelspreitzer View Post
    A possible workaround: Limit the length of transmitted data from the applet (smart card) to 253 bytes and use GET RESPONSE to retrieve all parts until you receive status word 9000.
    My target does not support the instruction GET RESPONSE nor does it listen to Le.

    @All: Does anyone have an idea?

Similar Threads

  1. what is the maximum amount of stack size ?
    By oncer in forum Symbian C++
    Replies: 7
    Last Post: 2007-02-02, 15:57
  2. what is the maximum size we can post or retrieve through midp2.0 like nokia 6235
    By Basu in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-12-26, 12:24
  3. Maximum size we can post through 6235
    By Basu in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-12-19, 07:40
  4. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15
  5. Maximum size for DRM content ?
    By evgeni_popov in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2004-08-13, 09:27

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