diff options
author | Jeff Hatch <jhatch@multitech.com> | 2019-12-16 09:03:16 -0600 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2019-12-16 09:03:16 -0600 |
commit | 3d3c735f3bbd269f97bd59a246d5f18b010eda2b (patch) | |
tree | 27dac2df5b3eb57cb80cc5c1cf89a0b3a29142c1 /src/pdu.h | |
parent | af7a724169f29385ec10233e03086f10a00d457e (diff) | |
parent | 1fe79e42c3403ee873ff5cc2db170b3dfb4acafe (diff) | |
download | sms-utils-3d3c735f3bbd269f97bd59a246d5f18b010eda2b.tar.gz sms-utils-3d3c735f3bbd269f97bd59a246d5f18b010eda2b.tar.bz2 sms-utils-3d3c735f3bbd269f97bd59a246d5f18b010eda2b.zip |
Merge branch 'MTX-3102-lvw3-sms-fix' into 'master'
1.0.7
[MTX-3102] mPower Feb20: IN:3899 MTCDT-LVW3 fails SMS with GUI
See merge request !2
Diffstat (limited to 'src/pdu.h')
-rw-r--r-- | src/pdu.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -60,6 +60,21 @@ enum { PDU_ALPHABET_DEFAULT_MULTI = 9,//no GSM, LVW2 7-bit, multi-part }; +// CDMA Teleservice Identifiers (what type of message is received in CDMA network) +// All such identifiers are described in 3GPP2 X.S0004-550-E, section 2.256 SMS_TeleserviceIdentifier +enum { + PDU_TELE_ID_UNUSED = 0, // Not used. + // 1 - Reserved for maintenance. + // 2 through 4095 - Reserved for assignment by MAP. + // ... + PDU_TELE_ID_CDMA_PAGE = 4097, // CDMA Cellular Paging Teleservice. + PDU_TELE_ID_CDMA_MSG = 4098, // CDMA Cellular Messaging Teleservices. + PDU_TELE_ID_CDMA_VOICE_MSG_NOTIF = 4099, // CDMA Voice Mail Notification + // ... + PDU_TELE_ID_CDMA_WEMT = 4101 // CDMA Wireless Enhanced Messaging Teleservice (WEMT). + // ... +}; + struct pdu_info { int msg_len; struct pdu_addr smsc_addr; @@ -77,6 +92,7 @@ struct pdu_info { } type; uint8_t msg_reference; uint8_t protocol_id; + uint16_t teleservice_id; // CDMA-specific, see 3GPP2 X.S0004-550-E for details union { uint8_t data_coding; struct { |