summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-12-12 10:55:56 +0200
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-12-12 10:55:56 +0200
commit02d34f9196aa86cef2bc17ebd0ed62da95cb25c5 (patch)
tree2416137b345c550b98c1c473e6fda18dddc45ab6
parentaf7a724169f29385ec10233e03086f10a00d457e (diff)
downloadsms-utils-02d34f9196aa86cef2bc17ebd0ed62da95cb25c5.tar.gz
sms-utils-02d34f9196aa86cef2bc17ebd0ed62da95cb25c5.tar.bz2
sms-utils-02d34f9196aa86cef2bc17ebd0ed62da95cb25c5.zip
[MTX-3072][GP-359] mPower Edge: LVW3 support on Conduit devices
Updated sms-utils to fix the issue with SMS messages on LVW3.
-rw-r--r--src/atcmd.c3
-rw-r--r--src/pdu_decode.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/atcmd.c b/src/atcmd.c
index a216ab6..4192558 100644
--- a/src/atcmd.c
+++ b/src/atcmd.c
@@ -1538,7 +1538,8 @@ is_vzw_lte(void)
}
}
- return (!strcmp(Global.core.model, "LE910-SVG"));
+ return (!strcmp(Global.core.model, "LE910-SVG") ||
+ !strcmp(Global.core.model, "LE910-SV1"));
}
int isCdmaTypeModel()
diff --git a/src/pdu_decode.c b/src/pdu_decode.c
index 62b60ba..d67d5c3 100644
--- a/src/pdu_decode.c
+++ b/src/pdu_decode.c
@@ -239,7 +239,7 @@ int pdu_decode_user_data(const char *pdu_str, struct pdu_info *pdu, int *nr_octe
} else if (pdu->data_coding.general.alphabet == PDU_ALPHABET_CDMA_DEFAULT) {
if (is_vzw_lte()) {
// LE910-SVG stores data length as # of septets
- log_debug("counting PDU length byte as number of septets (LE910-SVG/LE910-NA1/VZW)");
+ log_debug("counting PDU length byte as number of septets (LE910-SVG/LE910-SV1/LE910-NA1/VZW)");
*nr_octets = octets_from_septets(pdu->user_data_len);
}
else {