wcl |
The wclSerialErrors type exposes the following members.
| Name | Description | |
|---|---|---|
| WCL_E_SERIAL_ALLOCATE_MASTER_PORT_FAILED | Unable to allocate the device enumeration port. | |
| WCL_E_SERIAL_CLEAR_COMM_BREAK_FAILED | The ClearCommBreak method failed. | |
| WCL_E_SERIAL_CLIENT_BUSY | A serial client connection is busy by connection or disconnecting. | |
| WCL_E_SERIAL_CLIENT_CONNECTED | A serial client is already connected. | |
| WCL_E_SERIAL_CLIENT_NOT_CONNECTED | A serial client is not connected. | |
| WCL_E_SERIAL_CONNECTION_TERMINATE | A connection to a serial device was terminated by unknown reason. | |
| WCL_E_SERIAL_CREATE_DEVICES_FILTER_FAILED | Unable to create a device's enumeration filter. | |
| WCL_E_SERIAL_CREATE_READ_EVENT_FAILED | Create read event failed. | |
| WCL_E_SERIAL_CREATE_RESTART_EVENT_FAILED | Create communication restart event failed. | |
| WCL_E_SERIAL_CREATE_WRITE_EVENT_FAILED | Create write event failed. | |
| WCL_E_SERIAL_DEVICE_CLASS_NOT_FOUND | A device class was not found. | |
| WCL_E_SERIAL_DEVICE_REMOVED | A serial device has been removed. | |
| WCL_E_SERIAL_DEVICE_SWITCH_FAILED | Unable to switch (disable or enable) the specified USB devices. | |
| WCL_E_SERIAL_DEVICE_WRITE_TIMEOUT | Write operation was timed out on wait. Probably device is disconnected or not available. | |
| WCL_E_SERIAL_ESCAPE_COMM_FUNCTION_FAILED | The EscapeCommFunction has been failed. | |
| WCL_E_SERIAL_FEATURE_NOT_SUPPORTED | The requested feature is not supported on this platform. | |
| WCL_E_SERIAL_FLUSH_BUFFERS_FAILED | The FlushBuffers method failed. | |
| WCL_E_SERIAL_GET_COMM_CONFIGURATION_FAILED | Read COM port configuration failed. | |
| WCL_E_SERIAL_GET_COMM_FEATURES_FAILED | COM features read failed. | |
| WCL_E_SERIAL_GET_COMM_TIMEOUTS_FAILED | Read COM port timeouts failed. | |
| WCL_E_SERIAL_GET_MODEM_STATUS_FAILED | The GetCommStatus method failed. | |
| WCL_E_SERIAL_GET_READ_BUFFER_SIZE_FAILED | Get read buffer size failed. | |
| WCL_E_SERIAL_GET_WRITE_BUFFER_SIZE_FAILED | Get write buffer size failed. | |
| WCL_E_SERIAL_IO_SERVICES_NOT_FOUND | Unable to enumerate devices with given class. | |
| WCL_E_SERIAL_MASTER_PORT_NOT_ALLOCATED | The device's enuemration port was not allocated. | |
| WCL_E_SERIAL_MONITORING_NOT_RUNNING | Serial devices monitoring is not running. | |
| WCL_E_SERIAL_MONITORING_RUNNING | Serial devices monitoring is running. | |
| WCL_E_SERIAL_OPEN_PORT_FAILED | Open the specified serial port failed. | |
| WCL_E_SERIAL_PURGE_COMM_FAILED | The PurgeComm method failed. | |
| WCL_E_SERIAL_READ_ERROR | Reading from COM port failed. | |
| WCL_E_SERIAL_SET_COMM_BREAK_FAILED | The SetCommBreak method failed. | |
| WCL_E_SERIAL_SET_COMM_CONFIGURATION_FAILED | Write COM port configuration failed. | |
| WCL_E_SERIAL_SET_COMM_TIMEOUTS_FAILED | Write COM port timeouts failed. | |
| WCL_E_SERIAL_SET_EVENTS_MASK_FAILED | Set COM potr events mask failed. | |
| WCL_E_SERIAL_SET_READ_BUFFER_SIZE_FILED | Set read buffer size failed. | |
| WCL_E_SERIAL_SET_WRITE_BUFFER_SIZE_FAILED | Set write buffer size failed. | |
| WCL_E_SERIAL_TRANSMIT_COMM_CHAR_FAILED | The TransmitCommChar method failed. | |
| WCL_E_SERIAL_UNABLE_GET_DEVICE_NODE | Unable to locate specified device's node. | |
| WCL_E_SERIAL_WRITE_FAILED | Write data to the serial port was failed. | |
| WCL_E_SERIAL_WRITE_TIMEOUT | Timeout appeared during write operation. That does not mean real error. That just means that some bytes were sent but time out appeared before all bytes are sent. You can retry to send remaining bytes or terminate connection. |