Parent Directory | Revision Log | 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 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |