summaryrefslogtreecommitdiff
path: root/src/pdu_decode.h
diff options
context:
space:
mode:
authorBrandon Bayer <bbayer@multitech.com>2015-10-26 14:58:43 -0500
committerBrandon Bayer <bbayer@multitech.com>2015-11-06 13:49:06 -0600
commitbe01eb8a87f1582b1c15ec4e09a9a66770da87c5 (patch)
treed2044a650d334dca4aa2efb2521e3ecf887ac86b /src/pdu_decode.h
parentab80a82e2e0f5ea7cdef0394f80e69b377fab779 (diff)
downloadsms-utils-be01eb8a87f1582b1c15ec4e09a9a66770da87c5.tar.gz
sms-utils-be01eb8a87f1582b1c15ec4e09a9a66770da87c5.tar.bz2
sms-utils-be01eb8a87f1582b1c15ec4e09a9a66770da87c5.zip
feat: sms support for CE910-DUAL, DE910-DUAL, LE910-SVG0.0.8
- PDU is used for everything except LE910-SVG sending - a bug in radio requires radio reboot to send more than 1 PDU sms
Diffstat (limited to 'src/pdu_decode.h')
-rw-r--r--src/pdu_decode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pdu_decode.h b/src/pdu_decode.h
index 004c8ad..c39f232 100644
--- a/src/pdu_decode.h
+++ b/src/pdu_decode.h
@@ -4,9 +4,11 @@
#include "pdu.h"
int pdu_decode_timestamp(const char *pdu_str, struct tm *tm);
+int pdu_decode_cdma_timestamp(const char *pdu_str, struct tm *tm);
int pdu_decode_addr(const char *pdu_str, struct pdu_addr *addr, int smsc);
-int pdu_decode_user_data(const char *pdu_str, struct pdu_info *pdu);
+int pdu_decode_user_data(const char *pdu_str, struct pdu_info *pdu, int *nr_octets);
int pdu_decode(const char *pdu_str, struct pdu_info *pdu);
+int pdu_decode_cdma(const char *pdu_str, struct pdu_info *pdu);
#endif /* ~__PDU_DECODE_H */