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

Diff of /smsdaemon/main.cpp

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

revision 88 by torben, Mon Jun 16 09:04:05 2008 UTC revision 132 by torben, Sun Dec 7 00:59:05 2008 UTC
# Line 1  Line 1 
1  #include <string>  #include <string>
2    #include <stdlib.h>
3    
4  #include "daemon.h"  #include "daemon.h"
5  #include "common.h"  #include "common.h"
6    
7  #include "GsmModem.h"  #include "GsmModem.h"
8  #include "SerialPort.h"  #include "serialport/SerialPort.h"
9  #include "SmsDaemon.h"  #include "SmsDaemon.h"
10    
11    
# Line 44  int main(int argc, char* argv[]) Line 45  int main(int argc, char* argv[])
45                  daemonize();                  daemonize();
46    
47                    
48          SerialPort port("/dev/ttyS1" );          SerialPort port("/dev/ttyUSB0" );
49          try          try
50          {          {
51                  port.Open( SerialPort::BAUD_9600,                  port.Open( SerialPort::BAUD_9600,

Legend:
Removed from v.88  
changed lines
  Added in v.132

  ViewVC Help
Powered by ViewVC 1.1.20