--- smsdaemon/tester.cpp 2008/06/16 16:41:18 101 +++ smsdaemon/tester.cpp 2008/12/07 13:28:52 141 @@ -6,18 +6,18 @@ #include #include #include -#include "SerialPort.h" +#include "serialport/SerialPort.h" #include "GsmModem.h" #include "Sms.h" -#include "TogPlugin.h" -#include "TrainInfo.h" +#include "plugins/TogPlugin.h" +#include "plugins/TrainInfo.h" #include "util.h" -#include "StatusPlugin.h" +#include "plugins/StatusPlugin.h" #include "SmsPdu.h" using namespace std; - +using namespace Util; void test_sms(GsmModem& modem, int len) { @@ -51,6 +51,16 @@ 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;