IrDA Framework C++ Edition

◆ HalWrite()

virtual int HalWrite ( const void *const  Data,
const unsigned long  Size,
unsigned long &  Written 
)
overrideprotectedvirtual

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

Parameters
DataThe pointer to the data buffer that should be sent to the connected device.
SizeThe data buffer size.
WrittenThe amount of bytes actually written to the device.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Implements CwclServerClientDataConnection.