USB Libraries Help > USB Host Libraries > USB CDC Host Library > Library Interface > d) Data Types and Constants > USB_HOST_CDC_EVENT_SERIAL_STATE_NOTIFICATION_RECEIVED_DATA Structure
MPLAB Harmony USB Stack
USB_HOST_CDC_EVENT_SERIAL_STATE_NOTIFICATION_RECEIVED_DATA Structure

USB Host CDC Client Driver Event Data. 

This data type defines the data structure returned by the driver along with the following events: USB_HOST_CDC_EVENT_READ_COMPLETE_DATA, USB_HOST_CDC_EVENT_WRITE_COMPLETE_DATA,

C
typedef struct {
  USB_HOST_CDC_TRANSFER_HANDLE transferHandle;
  USB_HOST_CDC_RESULT result;
  size_t length;
} USB_HOST_CDC_EVENT_SERIAL_STATE_NOTIFICATION_RECEIVED_DATA, USB_HOST_CDC_EVENT_READ_COMPLETE_DATA, USB_HOST_CDC_EVENT_WRITE_COMPLETE_DATA;
Members
Members 
Description 
USB_HOST_CDC_TRANSFER_HANDLE transferHandle; 
Transfer handle of this transfer 
USB_HOST_CDC_RESULT result; 
Termination transfer status 
size_t length; 
Size of the data transferred in the request 
Remarks

None.