Home |
Function USBAX172SendBuffer Function USBAX172AcceptMulticastList |
Function USBAX172SendBufferUSBAX172SendBuffer sends out an Ethernet frame: int USBAX172SendFrame(int DeviceIndex, void * Buffer, const void * Data UINT Len); ParametersDeviceIndexZero-based index of the AX172 interface. BufferPointer to the network stack's buffer control structure. DataPointer to the data to send. LenNumber of bytes to send. return valueRTU_SUCCESS or a negative error code on failure. The function sends asynchronously. When it returns, it is not guaranteed that the data has been sent. Once it has been sent, the driver will call system driver function RTUSYSEthernetFrameBufferSendDone.
|