Rewriting usbserial client from netmf 4.2 to netmf 4.3

a lot changed in the dll s from netmf 4.2 to 4.3

i am rewriting a program on the fez spider 1 from netmf 4.2 to 4.3

i have a usbserial client module 1.3 legacy
the new class is this.usbSerial = new GTM.GHIElectronics.USBSerial(8); but it hasnt an open function ? the old one had

i have a usbhost module which i used to make a serial port.

i used USBH_SerialUSB in net mf4.2 gadgeteer

now it is Gadgeteer.Modules.GHIElectronics.USBHost, how to implement serial on this.

https://www.ghielectronics.com/docs/297/transitioning-from-4.2-to-4.3 is going to help. You can see USB Host underwent implementation changes. Then go to .NET Micro Framework – GHI Electronics and read the specific pages for the bits you need (in the GHI doco, AND in the SDK doco)

FYI USBH_SerialUSB is not Gadgeteer.Modules.GHIElectronics.USBHost… the latter is the USB host module connected to a Gadgeteer app - you didn’t say you were or were not using Gadgeteer, so if not you can ignore the latter

Hi, the USB Serial Module in 4.3 works like this:


private Gadgeteer.Modules.GHIElectronics.USBSerial usbSerial;
.......
private void InitializeModules() 
{ 
     this.usbSerial = new GTM.GHIElectronics.USBSerial(1);
}
........
usbSerial.Configure(9600, GTI.SerialParity.None, GTI.SerialStopBits.One, 8, GTI.HardwareFlowControl.NotRequired);
if (!usbSerial.Port.IsOpen)
{
      usbSerial.Port.Open();
}