4 Replies Latest reply: Apr 24, 2013 8:25 AM by PavolAlcohol RSS

    GPShell: 0x80100008 (The data buffer to receive returned data... )

    PavolAlcohol
      Hi all,

      My test applet generate response of zero bytes of length based in Le field in APDU command. When I require up to 256 bytes, responses are OK.

      Problem occurs when I expect e.g. 257B (Le = 0x000101), in this case I've got following error:
      send_APDU() returns 0x80100008 (The data buffer to receive returned data is too small for the returned data.

      Here is my script:
      mode_211
      establish_context
      enable_trace
      enable_timer
      card_connect
      select -AID 4269426F4170706C6574
      send_apdu_nostop -sc 0 -APDU 80070000000101
      card_disconnect
      release_context

      I note that when I run it via JCShell everything works fine.


      Can somebody help me to solve my problem? Any ideas?