DRV_ENCX24J600_PacketRx Function

C

TCPIP_MAC_PACKET* DRV_ENCX24J600_PacketRx(DRV_HANDLE hMac, TCPIP_MAC_RES* pRes, const TCPIP_MAC_PACKET_RX_STAT** ppPktStat); 

Returns

  • Pointer to a valid packet - if successful

  • NULL - if unsuccessful

Description

ENCX24J600 Receive Packet This function retrieves a packet from the driver. The packet needs to be acknowledged with the linked acknowledge function so it can be reused.

Remarks

ppPktStat is ignored in the first release.

Preconditions

The client had to be successfully opened with DRV_ENCX24J600_Open.

Parameters

ParametersDescription
hMacthe successfully opened handle
pResthe result of the operation
ppPktStatpointer to the receive statistics