TCPIP_IPV6_Get Function

C

uint8_t TCPIP_IPV6_Get(
    TCPIP_MAC_PACKET* pRxPkt, 
    uint8_t* pData
);

Description

This function is used to read the next byte of data from a packet.

Preconditions

TCPIP_IPV6_Initialize() should be called. TCPIP_IPV6_InterfaceIsReady should be true.

Parameters

ParametersDescription
pRxPktThe MAC RX packet to read data from.
pDataByte data to be read.

Returns

  • 1 - On successful read.

  • 0 - No byte is available to read.

Remarks

None.