@CHIP-RTOS C Library V2.06 - Packet Driver API
Send_Packet
Sends an Ethernet Packet unsigned char Send_Packet ( const unsigned char *buffer,
unsigned int len ); Parameters
buffer
- Pointer to packet buffer
len
- Length of packet buffer
Return Value
- 0 on Success
else error code:
0x00 NO_ERROR
0x01 BAD_HANDLE // invalid handle number
0x05 BAD_TYPE // Bad packet type specified
0x09 NO_SPACE // operation failed because of insufficient space
0x0A TYPE_INUSE // the type had previously been accessed and not released
0x0B BAD_COMMAND // the command was out of range, or not implemented
0x0C CANT_SEND // the packet couldn't be sent (usually a hardware error)
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | n/a | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|