Serial Framework C++ Edition

◆ OnError()

__event void OnError ( void *  Sender,
const wclSerialErrors Errors,
const wclSerialCommunicationStates States 
)

The event fires when a error occurred during communication.

Parameters
SenderThe object initiates the event.
ErrorsThe set of the detected errors.
StatesThe set of flags describes the current serial device communication state.
See also
wclSerialErrors, wclSerialCommunicationStates