BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_DHWCtrl_NicReceive | ( | brp_protocol | protocol, |
unsigned | Timeout, | ||
brp_buf * | RecvData, | ||
size_t * | RecvData_len, | ||
brp_mempool * | mempool | ||
) |
Receives a frame from the Network Interface.
[in] | protocol | used to execute the command |
[in] | Timeout | Max. time in ms to wait for reception. |
[out] | RecvData | The received frame without ethernet CRC. |
[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 |