--- smsdaemon/tester.cpp 2008/12/12 14:06:11 184 +++ smsdaemon/tester.cpp 2008/12/15 09:10:05 185 @@ -10,6 +10,7 @@ #include "DebugTransceiver.h" #include "SmsToolTransceiver.h" +#include "plugins/HostStatusPlugin.h" #include "Sms.h" #include "plugins/TogPlugin.h" #include "plugins/TrainInfo.h" @@ -53,9 +54,15 @@ return 0; */ - SmsToolTransceiver trans; - trans.ReadSms(); + DebugTransceiver trans(true); + HostStatusPlugin pl; + + SMS sms; + + pl.Execute(trans,sms); + + return 0; string start = "hej ������"; @@ -69,14 +76,6 @@ return 0; - DebugTransceiver modem(true); - SMS sms; - sms.SetSender("1234"); - sms.SetMessage("status"); - StatusPlugin status; - status.Execute(modem,sms); - - return 0; /* SerialPort port("/dev/ttyS1" ); port.Open( SerialPort::BAUD_9600,