| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| commandData | IN | the APDU to send | |
| response | OUT | the command result | |
| responseLength | IN | OUT | the size of response |
commandData is a raw APDU (CLA, INS, P1, P2, Length [,data...]). whose length is detemined by looking at the fifth byte.
response is filled with the card response up to responseLength bytes, and responseLength is adjusted to the number of bytes written. This response is expected to be 2 bytes wide since it only contains SW1 and SW2.
response can be NULL to discard the ICC response.
tlpSuccess
tlpErrUnknownReaderCommand
tlpErrIccUnsupportedProtocol
tlpErrResetUnsupportedProtocol
tlpErrIccParityError
tlpErrIccRemoved
tlpErrIccAbsent
tlpErrIccNok
tlpErrPalmOS
TlpGetLastErr to get the last Palm error code.
tlpErrConversation