INtime SDK Help
mhpeGetReceiveBuffer
INtime SDK v7.1 > About INtime > Networking and I/O > Multiprocess HPE > mhpeGetReceiveBuffer

Returns a pointer to the next receive buffer which has a fully-received frame in it for the designated queue. The pointer refers to the buffer which is used by the DMA engine, so if the data is required after the next cycle takes place it will need to be copied out of the buffer, or there should be sufficient receive buffers for multiple cycles.
If no buffer is available, the call returns a failing status.

HPESTATUS mhpeGetReceiveBuffer(
    MHPEHANDLE  ephandle,
MHPEBUFFER **buffer_ptr
);

Parameters

ephandle
A handle for an RX endpoint.
buffer_ptr
If non-null, the buffer pointer.

Return Values

A HPESTATUS.

Requirements

Versions Defined in Include Link to
INtime 7.1 intime/rt/include/mhpeif.h mhpeif.h mhpeif.lib
See Also