BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Iso15_TransparentCmd | ( | brp_protocol | protocol, |
brp_buf | SendData, | ||
size_t | SendData_len, | ||
unsigned | Timeout, | ||
bool | EnCrcRx, | ||
bool | EnCrcTx, | ||
unsigned | RxWait, | ||
brp_buf * | RecvData, | ||
size_t * | RecvData_len, | ||
brp_mempool * | mempool | ||
) |
This command sends a data stream to a label and returns the communication status and the received label data stream to the host.
If no bytes are sent and the CRC check is disabled, only an EOF is sent to the label. After execution of this command, the Mode parameter is reset to default.
Please be aware that the flag Byte (see theISO 15693-3 specification , 2001 p.9) is not generated by the reader. This flag has to be transmitted as part of the data string.
[in] | protocol | used to execute the command |
[in] | SendData | |
[in] | SendData_len | |
[in] | Timeout | Timeout in ms between sending last bit to label and receiving first bit from label. |
[in] | EnCrcRx | Check CRC on RecvData and remove it before returning it. |
[in] | EnCrcTx | Add CRC to SendData before transmitting it to card. |
[in] | RxWait | After data transmission to the label, the receiver is delayed for a RxWait time, measured in Rx bitclock steps. If this value is 0, no delay is added. |
[out] | RecvData | |
[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 |