Parent Directory | Revision Log | Patch
revision 29 by torben, Mon Jun 9 21:36:39 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 | { | { |
# | Line 123 int main(int argc, char* argv[]) | Line 127 int main(int argc, char* argv[]) |
127 | ||
128 | main_loop(modem); | main_loop(modem); |
129 | ||
130 | if (cmn->isDaemon) | |
131 | daemonCleanup(); | |
132 | ||
133 | return 0; | |
134 | } | } |
135 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |