TwclSerialDeviceErrorEvent Delegate

The OnError event handler prototype.

Namespace: wclSerialClients
type
 TwclSerialDeviceErrorEvent = procedure(Sender: TObject;
 const Errors: TwclSerialErrors;
 const States: TwclSerialCommunicationStates) of object;

Parameters

Sender

The object initiates the event.

Errors

The set of the detected errors.

States

The set of flags describes the current serial device communication state.