Extended configuration for RS233 Connection

Jan 21, 2010 at 6:49 AM

Currently only the COM port identifier can be configured throught the registry key LocalMachine\SOFTWARE\\Microsoft\\GenericSerialDriver

Other properties such as the baud rate are currently hardcoded in the driver. We should also allow configuring them in the registry.

In addition we should consider if driver should support connection to multiple devices - each attached to a different COM port. Or maybe it would be more reasonable to install separate driver instances for each device.

Jan 22, 2010 at 11:05 PM

Good point. (In addition to baud-rate, are there other port settings--parity for example--that we'll want to capture?)

Jan 23, 2010 at 8:11 AM

Brian suggested to create a property window similar to what you see when you go to advanced settings in Windows hardware manager. I think Comm port and Baud Rate will be most essential. Other like ByteSize, Parity or StopBits are not so crucial because I think everyone is using the same default anyway.

Another related question is if we are going to support scenarios when more than one instance of our driver is installed in the system. In this case each driver should be connected to a different COM port and this needs to be somehow represented in configuration as well.