diff options
author | Brandon Bayer <bbayer@multitech.com> | 2015-10-26 14:58:43 -0500 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2015-11-06 13:49:06 -0600 |
commit | be01eb8a87f1582b1c15ec4e09a9a66770da87c5 (patch) | |
tree | d2044a650d334dca4aa2efb2521e3ecf887ac86b /src/pdu_encode.h | |
parent | ab80a82e2e0f5ea7cdef0394f80e69b377fab779 (diff) | |
download | sms-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_encode.h')
-rw-r--r-- | src/pdu_encode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pdu_encode.h b/src/pdu_encode.h index 246ea3d..8ff79a3 100644 --- a/src/pdu_encode.h +++ b/src/pdu_encode.h @@ -5,8 +5,9 @@ int pdu_encode_timestamp(char *pdu_str, size_t len, struct tm *tm); int pdu_encode_addr(char *pdu_str, size_t len, struct pdu_addr *addr, int smsc); -int pdu_encode_user_data(char *pdu_str, size_t len, struct pdu_info *pdu); +int pdu_encode_user_data(char *pdu_str, size_t len, struct pdu_info *pdu, int *nr_octets); int pdu_encode(char *pdu_str, size_t len, struct pdu_info *pdu); +int pdu_encode_cdma(char *pdu_str, size_t len, struct pdu_info *pdu); #endif /* ~__PDU_ENCODE_H */ |