--- smsdaemon/tester.cpp 2008/06/11 19:42:24 59 +++ smsdaemon/tester.cpp 2008/06/11 21:18:04 60 @@ -19,6 +19,26 @@ using namespace std; +void test_sms(GsmModem& modem, int len) +{ + cout << "----- test_sms( " << len << " ) ------- " << endl; + + string msg = Util::str_formatint(len); + msg.append(len - msg.length(), '-'); + + vector pdu = SmsPdu::CreateSmsPdu("4522337617", msg, true); + + for (unsigned int i=0; i