e...@thyrsus.com said: > More suggestions like this, please. bps may not be enough. There is also the parity and stop bits, but I don't think they are fiddled much.
The HP driver uses one mode bit to switch from whatever the default is to a different baud rate and parity. It may be simpler to use a device-type keyword rather than require the user to know about bps and such. The NMEA driver uses a chunk of the mode field to select the type of sentence to use. Something symbolic would be nicer. The palisade driver has an option that selects from several modes. There are probably others. It's probably worth a pass through the code and/or documentation before you do anything. -- These are my opinions. I hate spam. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel