Jump to main content

##

# DRV_ENCX24J600_PacketTx Function

## C

    TCPIP_MAC_RES DRV_ENCX24J600_PacketTx(DRV_HANDLE hMac, TCPIP_MAC_PACKET * ptrPacket);

## Returns

- TCPIP_MAC_RES_OP_ERR - if the client handle is invalid
- TCPIP_MAC_RES_IS_BUSY - if the driver is not in the run state
- TCPIP_MAC_RES_QUEUE_TX_FULL - if there are no free descriptors
- TCPIP_MAC_RES_OK - on successful queuing of the packet

## Description

ENCX24J600 Packet Transmit This function will take a packet and add it to the queue for transmission. When the packet has finished transmitting the driver will call the packets acknowledge function. When that acknowledge function is complete the driver will forget about the packet.

## Preconditions

The client had to be successfully opened with DRV_ENCX24J600_Open.

## Parameters

Parameters | Description
--- | ---
hMac | the successfully opened handle
ptrPacket | pointer to the packet