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

Diff of /smsdaemon/ModemTransceiver.cpp

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

revision 105 by torben, Tue Jun 17 17:47:37 2008 UTC revision 135 by torben, Sun Dec 7 08:58:15 2008 UTC
# Line 8  Line 8 
8  #include <time.h>  #include <time.h>
9    
10    
11  #include "SerialPort.h"  #include "serialport/SerialPort.h"
12    
13  #include "GsmModem.h"  #include "GsmModem.h"
14    
# Line 148  void GsmModem::SendSms(string to, string Line 148  void GsmModem::SendSms(string to, string
148          if (to.at(0) == '+')          if (to.at(0) == '+')
149                  to.erase(0,0);                  to.erase(0,0);
150    
151          vector<PduInfo> pdu_vec = SmsPdu::CreateSmsPdu(to, message, allowMultipart);          vector<PduInfo> pdu_vec = SmsPdu::CreateSmsPdu(to, Util::str_latin2gsm(message), allowMultipart);
152    
153          for (unsigned i=0; i<pdu_vec.size(); ++i)          for (unsigned i=0; i<pdu_vec.size(); ++i)
154          {          {

Legend:
Removed from v.105  
changed lines
  Added in v.135

  ViewVC Help
Powered by ViewVC 1.1.20