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

Contents of /smsdaemon/SmsPdu.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 60 - (show annotations) (download)
Wed Jun 11 21:18:04 2008 UTC (15 years, 11 months ago) by torben
File MIME type: text/plain
File size: 387 byte(s)
First take at multi-part/concatenated SMS pdu's - doesn't work yet!

1
2
3 #include <string>
4 #include <vector>
5
6 struct PduInfo
7 {
8 std::string pdu;
9 int len;
10 };
11
12 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 std::vector<PduInfo> CreateSmsPdu(std::string to, std::string message, bool allowMultipart);
21
22 }

  ViewVC Help
Powered by ViewVC 1.1.20