BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_DHWCtrl_Ser2WriteRead | ( | brp_protocol | protocol, |
unsigned | MaxReadCount, | ||
unsigned | Timeout, | ||
brp_buf | WriteData, | ||
size_t | WriteData_len, | ||
brp_buf * | ReadData, | ||
size_t * | ReadData_len, | ||
brp_mempool * | mempool | ||
) |
Write/Read data to/from the reader's 2nd UART interface.
[in] | protocol | used to execute the command |
[in] | MaxReadCount | Number of Bytes to read via the reader's 2nd UART interface. |
[in] | Timeout | Number of milliseconds to wait for Bytes. |
[in] | WriteData | Data to write to the reader's 2nd UART interface. |
[in] | WriteData_len | |
[out] | ReadData | Data read from the reader's 2nd UART interface. |
[out] | ReadData_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 |