BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Iso78_ExchangeApduLegacy | ( | brp_protocol | protocol, |
brp_buf | SendData, | ||
size_t | SendData_len, | ||
brp_buf * | RecvData, | ||
size_t * | RecvData_len, | ||
brp_mempool * | mempool | ||
) |
This command sends an APDU command on the currently selected and opened SAM.
Please note that the complete APDU command including the CLA, INS, P1, P2, Lc and Le values need part of the SendData parameter.
[in] | protocol | used to execute the command |
[in] | SendData | APDU command data including CLA, INS, P1, P2, Lc and Le. |
[in] | SendData_len | |
[out] | RecvData | APDU response data. |
[out] | RecvData_len | |
[in] | mempool | is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool |