Hi Joerg,
I made something similar with CW10.6 and MQX4.2. I took data from USB using CDC and forwarded data through TCP socket. The steps I followed where the following:
- I cloned virtual_com example form MQx installation path (C:\Freescale\Freescale_MQX_4_2\usb\device\examples\cdc)
- Then I added to the project settings the RTCS library, the required paths and preprocessor definitios required form an RTCS application. I copied these settings form and example application. E.g. httpsrv (C:\Freescale\Freescale_MQX_4_2\rtcs\examples\httpsrv)
- Then I just modified the application to get data from CDC and forward through TCP socket.
I hope this helps.
Best regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------