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

Diff of /smsdaemon/GsmModem.cpp

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

revision 48 by torben, Tue Jun 10 15:34:19 2008 UTC revision 49 by torben, Wed Jun 11 10:21:47 2008 UTC
# Line 135  void GsmModem::SendSms(string to, string Line 135  void GsmModem::SendSms(string to, string
135    
136          message.append("\032"); // \032 == Ctrl+Z          message.append("\032"); // \032 == Ctrl+Z
137    
138          Command(message);          Command( message.substr(0,160) ); //In textmode limit to 160 bytes
139    
140    
141          Util::Sleep(50); //Give the modem some time to send the sms and be ready again          Util::Sleep(50); //Give the modem some time to send the sms and be ready again
142          Common::instance()->smsCounter.outgoing++;          Common::instance()->smsCounter.outgoing++;
143  }  }

Legend:
Removed from v.48  
changed lines
  Added in v.49

  ViewVC Help
Powered by ViewVC 1.1.20