From 4b5c22b5d658982952e0d5c8f00ddbcff9751727 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Thu, 25 Jun 2020 11:40:20 +0300 Subject: [MTX-3489] mPower Oct20: Porting "LNA7 Intermediate Release" changes Ported the Verizon LTE SMS format workaround from LNA7 to L4G1. --- src/atcmd.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/atcmd.c') 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 +} -- cgit v1.2.3