When i send an APDU command (case-4 command) to a card that is longer than
255 bytes (then i send two apdu command) the response.sw(), after i send the
last command's packet, is 0x6E00 instead of 0x61LL where LL is the lenght of
response.data().
This error means incorrect CLA parameter but i sure that CLA parameter is
correct.

I create the ExtendedCommandAPDU in this way:


command = new
ExtendedCommandAPDU(APDUBuffer[0],APDUBuffer[1],APDUBuffer[2],APDUBuffer[3],
DataBuffer);

ResponseAPDU response = slotchan.sendAPDU(command);


Please i want to know how i can risolve this problem.

Thanks

Alessandro Matti







---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to