BALTECH SDK wrapper functions reference

§ brp_Iso14b_TransparentCmd()

brp_errcode brp_Iso14b_TransparentCmd ( brp_Iso14b_TransparentCmd_t  params)

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]paramsStruct with the following fields:
  • protocol used to execute the command
  • EnCRCRX (in) Enable CRC check over received data.
  • EnCRCTX (in) Enable CRC over transmitted data.
  • SendDataLen (in) Number of bytes to send.
  • Timeout (in) Timeout in ms between sending the last bit to the card and receiving the first bit from the card.
  • DSI (in) Divisor 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.
  • DRI (in) Divisor 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.
  • SendData (in) Data to transmit. Bits will always be transferred LSB first.
  • SendData_len (in) Length of SendData (in bytes).
  • RecvData (out) Returned data.
  • RecvData_len (out) Length of RecvData (in bytes).
  • mempool (in) 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