Click or drag to resize

wclClientDataConnectionHalWrite Method

Implements a hardware-dependent code that sends data to the connected device.

Namespace: wclCommunication
Assembly: wclCommunication (in wclCommunication.dll) Version: 7.8.3.0 (7.8.3.0)
Syntax
protected abstract int HalWrite(
	byte[] Data,
	out uint Written
)

Parameters

Data  Byte
The pointer to the data buffer that should be sent to the connected device.
Written  UInt32
The amount of bytes actually written to the device.

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
A derived class must override this method to implement a hardware-dependent code that sends data to the connected device. The method executes in the main thread and must be synchronous.
See Also