
Originally Posted by
raphaelspreitzer
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

Originally Posted by
raphaelspreitzer
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?