Page 1 of 1

Get Response in one step

Posted: Wed Sep 21, 2016 11:27 pm
by Matte
Sometimes when I sent an APDU command to card, it responded 61 XX which meant there were a response with XX length and I should send another APDU command to get it.

My question is, how can I get the response immediately? Or how can I get it by one step? Thanks a lot for any help.

Re: Get Response in one step

Posted: Thu Sep 22, 2016 5:16 am
by wumindejia
you can send command of the "get response",the format of the command is 00C00000XX,XX is length.

Re: Get Response in one step

Posted: Thu Sep 22, 2016 10:23 pm
by Matte
wumindejia wrote:you can send command of the "get response",the format of the command is 00C00000XX,XX is length.



Thanks for your help, wumindejia.

But what can I do to avoid this way(2 steps) to get response? I want to get the response at once(1 step).

Re: Get Response in one step

Posted: Fri Sep 23, 2016 1:24 am
by wumindejia
The most tools of script can offer this funtion of auto-response,you can configue it.

Re: Get Response in one step

Posted: Fri Sep 23, 2016 3:33 am
by mose05
Did your card support T=1 protocol? You can connect your card via T=1, this case doesn't need you to send get response command.