From 32b2e93f5ad06a4ae63e6135892e6ec747ff7d24 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Thu, 14 Jun 2007 10:04:33 +0000 Subject: [PATCH] set some more serial port parameters --- campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx b/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx index 24f58d47a..e4e267328 100644 --- a/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx +++ b/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx @@ -417,6 +417,10 @@ GLiveSupport :: configure(const xmlpp::Element & element) // configure the serial port // TODO: make this configurable serialStream->SetBaudRate(LibSerial::SerialStreamBuf::BAUD_2400); + serialStream->SetCharSize(LibSerial::SerialStreamBuf::CHAR_SIZE_8); + serialStream->SetNumOfStopBits(1); + serialStream->SetParity(LibSerial::SerialStreamBuf::PARITY_NONE); + serialStream->SetFlowControl(LibSerial::SerialStreamBuf::FLOW_CONTROL_NONE); }