From 02d34f9196aa86cef2bc17ebd0ed62da95cb25c5 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Thu, 12 Dec 2019 10:55:56 +0200 Subject: [MTX-3072][GP-359] mPower Edge: LVW3 support on Conduit devices Updated sms-utils to fix the issue with SMS messages on LVW3. --- src/atcmd.c | 3 ++- src/pdu_decode.c | 2 +- 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 { -- cgit v1.2.3