BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Iso14a_TransparentCmdBitlen | ( | brp_protocol | protocol, |
bool | EnHighBaudOld, | ||
bool | EnParTx, | ||
unsigned | SendDataLen, | ||
unsigned | Timeout, | ||
brp_DivisorInteger | DSI, | ||
brp_DivisorInteger | DRI, | ||
brp_buf | SendData, | ||
size_t | SendData_len, | ||
unsigned * | RecvDataLen, | ||
unsigned * | CollisionPosition, | ||
brp_buf * | RecvData, | ||
size_t * | RecvData_len, | ||
brp_mempool * | mempool | ||
) |
This command is similar to Iso14a.TransparentCmd.
The difference is that the length of data to send is given in bits instead of bytes.
[in] | protocol | used to execute the command |
[in] | EnHighBaudOld | Use high bit rates type A as specified in ISO 14443-2 Amendment Part 2. |
[in] | EnParTx | If this bit is set in combination with EnBitMode , parity generation in Tx direction (PCD to PICC) will be done by the PCD. |
[in] | SendDataLen | Number of bits to send |
[in] | Timeout | Timeout in ms between sending the last bit to the card and receiving the first bit from the card. |
[in] | DSI | 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. |
[in] | DRI | 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. |
[in] | SendData | Data to send Bits will always be transferred LSB first. |
[in] | SendData_len | |
[out] | RecvDataLen | Returned data length in bit. |
[out] | CollisionPosition | Position of bit where first collision occurred. |
[out] | RecvData | Data to send Bits will always be transferred LSB first. |
[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 |