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 |
|
|
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 |
|
|