/[projects]/smsdaemon/ModemTransceiver.h
ViewVC logotype

Diff of /smsdaemon/ModemTransceiver.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 149 by torben, Sun Dec 7 20:58:41 2008 UTC revision 196 by torben, Thu Dec 18 06:53:29 2008 UTC
# Line 22  public: Line 22  public:
22          void Init();          void Init();
23    
24          virtual void SendSms(std::string to, std::string message, bool allowMultipart);          virtual void SendSms(std::string to, std::string message, bool allowMultipart);
25          void SendSmsPdu(std::string pdu, int len);          void SendSmsPdu(std::string pdu, int len);
26    
27          virtual std::vector<SMS> ReadSms(bool readAll=false);          virtual std::vector<SMS> ReadSms(bool readAll=false);
28    
# Line 32  private: Line 32  private:
32          std::string GetResponse();          std::string GetResponse();
33          std::string Command(std::string command, std::string term = "OK\r\n");          std::string Command(std::string command, std::string term = "OK\r\n");
34    
35            //decode an CMGF=1 text string
36            SMS FromRawString(const std::string& input);
37            SMS FromPduString(const std::string& input);
38    
39          void HandlePincode();          void HandlePincode();
40          void WaitForSimcard();          void WaitForSimcard();
41    

Legend:
Removed from v.149  
changed lines
  Added in v.196

  ViewVC Help
Powered by ViewVC 1.1.20