@CHIP-RTOS C Library V2.00 - Packet Driver API
Set_Multicast
Set ethernet multicast Address unsigned int Set_Multicast( unsigned char *mac_addr, int set ); Parameters
mac_addr
- Pointer to multicast mac address buffer (6 bytes)
set
- 1==set, 0==delete
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.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|