TCPIP_IPV6_ArrayGet Function
C
uint8_t TCPIP_IPV6_ArrayGet(
TCPIP_MAC_PACKET* pRxPkt,
uint8_t * val,
uint16_t len
);
Description
Reads a characer of data from a packet.
Preconditions
TCPIP_IPV6_Initialize() should be called. TCPIP_IPV6_InterfaceIsReady should be true.
Parameters
Parameters | Description |
---|---|
pRxPkt | The MAC RX packet to read data from. |
val | The buffer to store the data. |
len | The amount of data to read. |
Returns
> 0 - The number of bytes read.
0 - No byte is available to read.
Remarks
None.