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

Diff of /smsdaemon/main.cpp

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

revision 157 by torben, Mon Dec 8 21:28:40 2008 UTC revision 168 by torben, Tue Dec 9 21:44:15 2008 UTC
# Line 2  Line 2 
2  #include <stdlib.h>  #include <stdlib.h>
3    
4  #include "daemon.h"  #include "daemon.h"
5  #include "common.h"  #include "Common.h"
6  #include "Logger.h"  #include "Logger.h"
7    
8  #include "ModemTransceiver.h"  #include "ModemTransceiver.h"
# Line 32  void openModemPort() Line 32  void openModemPort()
32          Common* cmn = Common::instance();          Common* cmn = Common::instance();
33          ConfigFile* config = cmn->GetConfigfile();          ConfigFile* config = cmn->GetConfigfile();
34    
35          port = new SerialPort ( config->GetValue("smsdaemon","serialport") );          port = new SerialPort ( config->GetValue("gsmmodem","serialport") );
36          try          try
37          {          {
38                  port->Open( SerialPort::BAUD_9600,                  port->Open( SerialPort::BAUD_9600,

Legend:
Removed from v.157  
changed lines
  Added in v.168

  ViewVC Help
Powered by ViewVC 1.1.20