Iam not able to receive the LE byte. But in the ISO7816 this case (LC and LE not null) is one of the four cases which has to work with every card. Whats my fault ? :(
byte buffer = apdu.getBuffer(); short length = apdu.setIncomingAndReceive(); // length = 4, thats right . . . short expectedOutput = apdu.setOutgoing(); // expectedOutput = 256, why ???