C API for BALTECH SDK

§ brp_Iso14b_TransparentCmd()

brp_errcode brp_Iso14b_TransparentCmd ( brp_protocol  protocol,
unsigned  EnCRCRX,
unsigned  EnCRCTX,
unsigned  SendDataLen,
unsigned  Timeout,
brp_DivisorInteger  DSI,
brp_DivisorInteger  DRI,
brp_buf  SendData,
size_t  SendData_len,
brp_buf RecvData,
size_t *  RecvData_len,
brp_mempool mempool 
)

This command sends a data stream to a card and returns the communication status and the received card data stream to the host.

Parameters
[in]protocolused to execute the command
[in]EnCRCRXEnable CRC check over received data.
[in]EnCRCTXEnable CRC over transmitted data.
[in]SendDataLenNumber of bytes to send.
[in]TimeoutTimeout in ms between sending the last bit to the card and receiving the first bit from the card.
[in]DSIDivisor Send/Receive Integer (DSI/DRI) This parameter is mapped to the Divisor Send/Receive (DS/DI) value, which determines bit rate for sending data from PICC to PCD. The possible DS/DR values (mapped to the DSI/DRI index) are listed below.
[in]DRIDivisor Send/Receive Integer (DSI/DRI) This parameter is mapped to the Divisor Send/Receive (DS/DI) value, which determines bit rate for sending data from PICC to PCD. The possible DS/DR values (mapped to the DSI/DRI index) are listed below.
[in]SendDataData to transmit. Bits will always be transferred LSB first.
[in]SendData_len
[out]RecvDataReturned 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