BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Iso15_TransparentCmdLegacy | ( | brp_protocol | protocol, |
bool | EnRxWait, | ||
bool | EnCRCRX, | ||
bool | EnCRCTX, | ||
unsigned | Len, | ||
unsigned | Timeout, | ||
brp_buf | Data, | ||
unsigned | RxWait, | ||
brp_buf * | LabelData, | ||
size_t * | LabelData_len, | ||
brp_mempool * | mempool | ||
) |
**For new applications please use brp_Iso15_TransparentCmd() as this command is deprecated and may be removed in future.
**
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] | EnRxWait | If true , param RxWait is transmitted to the reader. |
[in] | EnCRCRX | Enable CRC check over received data. |
[in] | EnCRCTX | Enable CRC over transmitted data. |
[in] | Len | Number of bytes to send. |
[in] | Timeout | Timeout in ms between sending last bit to label and receiving first bit from label. |
[in] | Data | Length is greater than 0! It was set to zero to provide length information |
[in] | RxWait | After data transmission to the label, the receiver is delayed for a RxWait time, measured in Rx bitclock steps. After execution of the command, RxWait is reset to the default value. |
[out] | LabelData | |
[out] | LabelData_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 |