Click or drag to resize

wclWiiRemoteClientConnectionHalWrite Method

Implements a hardware-dependent code that writes data report to the connected Wii Remote controller.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
protected abstract int HalWrite(
	byte[] Report
)

Parameters

Report  Byte
The pointer to the report data buffer.

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.

A derived implementation must always call this method in case of the derived HalConnect failed.

See Also