--- smsdaemon/tester.cpp 2008/06/12 11:05:18 61 +++ smsdaemon/tester.cpp 2008/06/14 08:39:40 78 @@ -24,9 +24,10 @@ cout << "----- test_sms( " << len << " ) ------- " << endl; string msg = Util::str_formatint(len); + msg.append(1, ' '); msg.append(len - msg.length(), 'a'); - vector pdu = SmsPdu::CreateSmsPdu("4522337617", msg, true); + vector pdu = SmsPdu::CreateSmsPdu("22337617", msg, true); for (unsigned int i=0; i res = modem.ReadSms(true); + + for (unsigned int i = 0; i" << sms.message << "<" << endl; + cout << "Cmd: >" << cmd << "<" << endl; + cout << "Data >" << data << "<" << endl; + + Util::str_dump(sms.message); + //modem.SendSms(sms.sender, sms.message, false); + + } + + /* vector pdu = SmsPdu::CreateSmsPdu("4522337617", "Hej med dig, igen", true); cout << "Len: " << pdu[0].len << endl;