Hi, I'm using GemXpresso211 and I get the following problem: My application send a CommandAPDU with the field Le null (=0 as described in JavaCard Specification - Developer's guide p44) because I don't know the real size of expected data. When testing under the GSE simulator, everything works fine, but when using the JavaCard, the following exception is thrown: opencard.core.terminal.CardTerminalException: com.gemplus.opencard.terminal.GemcoreFamilyException: no response from smartcard Here is a piece of my oncard code: byte[] myBuffer = ...; short leOffset = responseAPDU.setOutgoing(); responseAPDU.setOutgoingLength((short)myBuffer.length); responseAPDU.sendBytesLong(myBuffer, (short)0, (short)myBuffer.length); myBuffer is an array managed by the applet and differs from the responseAPDU one. The problem is solved when the Le field has any value (eg 128) big enough to copy myBuffer. Any help would be appreciated, Regards, Fabrice --- > 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.
