Hi Teckna,
I'm not USB expert at all (can spell it and plug mouse/keyboard/USB_Stick in).
Have you looked at the MQX example and its _README.pdf?
C:\Freescale\Freescale MQX 3.8b1\usb\device\examples\cdc\virtual_com
Page 6 has:
The USB_Notif_Callback, which is part of the callbacks initialized by
TestApp_Init is a callback function that the CDC class code uses to
signal to the user that a CDC event has happened. The four conditions
it handles are DTE activation and deactivation (for compatibility with
hardware flow control as in traditional UARTs), data received, and send
complete. The DTE conditions set and clear the start_transactions
variable which is tested in receive and send condition checks to make
sure data can be sent or received.
Hope this helps.
Regards,
David