Parent Directory | Revision Log
First take at multi-part/concatenated SMS pdu's - doesn't work yet!
1 | torben | 59 | |
2 | |||
3 | #include <string> | ||
4 | #include <vector> | ||
5 | |||
6 | torben | 60 | struct PduInfo |
7 | { | ||
8 | std::string pdu; | ||
9 | int len; | ||
10 | }; | ||
11 | |||
12 | torben | 59 | namespace SmsPdu |
13 | { | ||
14 | std::vector<unsigned char> BcdEncode(std::string input); | ||
15 | |||
16 | std::string HexformatVector(std::vector<unsigned char> vec); | ||
17 | |||
18 | std::vector<unsigned char> Encode7to8bit(std::string str); | ||
19 | |||
20 | torben | 60 | std::vector<PduInfo> CreateSmsPdu(std::string to, std::string message, bool allowMultipart); |
21 | |||
22 | torben | 59 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |