/[projects]/smsdaemon/main.cpp
ViewVC logotype

Diff of /smsdaemon/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by torben, Mon Jun 9 21:56:47 2008 UTC revision 33 by torben, Tue Jun 10 12:58:30 2008 UTC
# Line 104  int main(int argc, char* argv[]) Line 104  int main(int argc, char* argv[])
104          SerialPort port("/dev/ttyS1" );          SerialPort port("/dev/ttyS1" );
105          try          try
106          {          {
107                  port.Open( SerialPort::BAUD_9600 );                  port.Open( SerialPort::BAUD_9600,
108                                       SerialPort::CHAR_SIZE_8,
109                                       SerialPort::PARITY_NONE,
110                                       SerialPort::STOP_BITS_1,
111                                       SerialPort::FLOW_CONTROL_HARD );
112          }          }
113          catch(std::exception &e)          catch(std::exception &e)
114          {          {

Legend:
Removed from v.32  
changed lines
  Added in v.33

  ViewVC Help
Powered by ViewVC 1.1.20