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
Thanks in advance, Paul
If you want to get an extended length response you need an extended length command as stated by lexdabear. You could send 00 B0 00 00 *00 00* which will ask for up to 65,536 bytes. It is the extended length equivalent Le = 0 in standard length APDU's.