--- smsdaemon/tester.cpp 2008/12/07 00:59:05 132 +++ smsdaemon/tester.cpp 2008/12/07 15:51:02 142 @@ -17,7 +17,7 @@ #include "SmsPdu.h" using namespace std; - +using namespace Util; void test_sms(GsmModem& modem, int len) { @@ -51,11 +51,21 @@ cout << end << endl; return 0; */ + string start = "hej æøåÆØÅ"; + string mid = str_latin2gsm(start); + string final = str_gsm2latin(mid); + + str_dump (start); + str_dump(mid); + str_dump(final); + + + return 0; DebugGsmModem modem(true); SMS sms; - sms.sender="1234"; - sms.message="status"; + sms.SetSender("1234"); + sms.SetMessage("status"); StatusPlugin status; status.Execute(modem,sms);