KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Transmit packet API for the BBA More...
Topics | |
Return Values | |
Return values for bba_tx() | |
Wait Modes | |
Wait modes for bba_tx() | |
Functions | |
int | bba_tx (const uint8 *pkt, int len, int wait) |
Transmit a single packet. | |
Transmit packet API for the BBA
int bba_tx | ( | const uint8 * | pkt, |
int | len, | ||
int | wait ) |
Transmit a single packet.
This function transmits a single packet on the bba, waiting for the link to become stable, if requested.
pkt | The packet to transmit. |
len | The length of the packet, in bytes. |
wait | BBA_TX_WAIT if you don't mind blocking for the all clear to transmit, BBA_TX_NOWAIT otherwise. |
BBA_TX_OK | On success. |
BBA_TX_ERROR | If there was an error transmitting the packet. |
BBA_TX_AGAIN | If BBA_TX_NOWAIT was specified and it is not ok to transmit right now. |