| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| commandData | IN | the APDU to send | |
| commandLength | IN | the length of commandData | |
| response | OUT | the command result | |
| responseLength | IN | OUT | the size of response |
commandData is a raw APDU (CLA, INS, P1, P2 [, Length [, data... [, ExpectedLength]]]) of length commandLength.
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 ExpectedLength+2 bytes wide because SW1 and SW2 are also copied.
tlpSuccess
tlpErrUnknownReaderCommand
tlpErrIccUnsupportedProtocol
tlpErrResetUnsupportedProtocol
tlpErrIccParityError
tlpErrIccRemoved
tlpErrIccAbsent
tlpErrIccNok
tlpErrPalmOS
TlpGetLastErr to get the last Palm error code.
tlpErrConversation