C API for BALTECH SDK

§ brp_DHWCtrl_NicReceive()

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.

Parameters
[in]protocolused to execute the command
[in]TimeoutMax. time in ms to wait for reception.
[out]RecvDataThe received frame without ethernet CRC.
[out]RecvData_len
[in]mempoolis 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