This discussion is archived
3 Replies Latest reply: Apr 2, 2012 6:59 AM by 801926 RSS

Ext.length response to non-extLength command request

925183 Newbie
Currently Being Moderated
i have a problem with sending an extended length apdu
the command is 00 B0 00 00 00
which means READBINARY with Le = 00
Referring to ISO7816-4 this means:
"If the Le field contains only bytes set to '00', then all the bytes until the end of the file should be read within the limit of 256 for a short Le field, or 65 536 for an extended Le field. "
So the command requests 256 bytes of data.
As i need to wrap the data in SecureMessaging i need more than 256 bytes of data
problem occurs with apdu.setOutgoingLength() > 256 if receive 6F00
any ideas?
Thanks in advance, Paul


  • Correct Answers - 10 points
  • Helpful Answers - 5 points