--- smsdaemon/GsmModem.cpp 2008/06/12 12:43:29 63 +++ smsdaemon/GsmModem.cpp 2008/06/13 08:37:19 72 @@ -74,6 +74,7 @@ if ( (now-start) > 10 ) { Common::instance()->logMessage( string("GsmModem::Command time out --") + command); + Common::instance()->logMessage( string("Modem responded: ") + Util::str_trim(response) ); _timeout = true; break; } @@ -202,3 +203,21 @@ } + + +void DebugGsmModem::SendSms(std::string to, std::string message, bool allowMultipart) +{ + _to=to; + _message = message; + _multipart = allowMultipart; + + if (_print) + { + cout << "DebugGsmModem::SendSms --------------" << endl; + cout << "To: " << to << endl;; + cout << "Message: " << message << endl; + cout << "Multipart: " << allowMultipart << endl; + + } +} +