C API for BALTECH SDK

§ brp_Iso78_ExchangeApduLegacy()

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.

Parameters
[in]protocolused to execute the command
[in]SendDataAPDU command data including CLA, INS, P1, P2, Lc and Le.
[in]SendData_len
[out]RecvDataAPDU response data.
[out]RecvData_len
[in]mempoolis 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
Deprecated:
This command may be removed in future!