CDC Virtual COM Port

Hello,
I want to use the CDC to communicate between the FEZ Panda III Board and the PC.
I had a look to the Support Pages and this describes only a one way communication from the Board to the PC, and in the metadata of the
CDC Object i can’t find a method to receive datas from the PC to the Board. Does CDC only Supports a one way communication ?

The stream property of the CDC object is your friend.

https://www.ghielectronics.com/downloads/man/Library_Documentation_v4.3/html/T_GHI_Usb_Client_Cdc.htm

https://www.ghielectronics.com/downloads/man/Library_Documentation_v4.3/html/T_GHI_Usb_Client_Cdc_CdcStream.htm

1 Like

Ok
Mike thanks for the answer. I didn’t see the Class CDCStream.
I guess I have to polling to waiting for an answer from the PC, because I didn’t see a Serial Port Data Receiving Event.
Is this right ?

@ CS5798 -

Yes, you have to poll cdc.Stream.BytesToRead.