diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-06-25 11:40:20 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-06-25 11:40:20 +0300 |
commit | 4b5c22b5d658982952e0d5c8f00ddbcff9751727 (patch) | |
tree | 2ad2da8b9405314d31f83432bb9a4294623ad84d /src/atcmd.c | |
parent | ce6d446011db06ed756b8abcdb78952241138425 (diff) | |
download | sms-utils-4b5c22b5d658982952e0d5c8f00ddbcff9751727.tar.gz sms-utils-4b5c22b5d658982952e0d5c8f00ddbcff9751727.tar.bz2 sms-utils-4b5c22b5d658982952e0d5c8f00ddbcff9751727.zip |
[MTX-3489] mPower Oct20: Porting "LNA7 Intermediate Release" changes
Ported the Verizon LTE SMS format workaround from LNA7 to L4G1.
Diffstat (limited to 'src/atcmd.c')
-rw-r--r-- | src/atcmd.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/atcmd.c b/src/atcmd.c index 4eecb50..1fd3452 100644 --- a/src/atcmd.c +++ b/src/atcmd.c @@ -1553,11 +1553,13 @@ int is_vzw_lte(void) !strncmp(Global.core.model, "LE910-SV1", MODEL_LEN)); } -/* Detect LNA7 radio with Verizon SIM */ -int is_vzw_lna7(void) +/* Detect LNA7/L4G1 radio with Verizon SIM */ +int is_quectel_dual_sms_format(void) { - if (!strncmp(Global.core.model, "EG95", MODEL_LEN)) { - log_debug("Found EG95"); + if (!strncmp(Global.core.model, "EG95", MODEL_LEN) || + !strncmp(Global.core.model, "EG25", MODEL_LEN)) + { + log_debug("Found Quectel radio with dual SMS format support"); /* Verizon Wireless SIM */ if (strncmp(Global.core.iccid,"891480",6) == 0) { log_debug("Found VZW SIM"); @@ -1595,4 +1597,4 @@ int is_quectel_model() } return 0; -}
\ No newline at end of file +} |