From e8b95d56ac9e06c3dc55f2c6fc3b2e177f9b10b0 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Fri, 6 Jan 2023 17:52:09 +0200 Subject: [GP-1842] Refactoring - Renamed Verizon 3GPP2 detection functions Renamed the functions to better represent their behavior and purpose. --- src/atcmd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/atcmd.h') diff --git a/src/atcmd.h b/src/atcmd.h index 28bc384..1f15e62 100644 --- a/src/atcmd.h +++ b/src/atcmd.h @@ -72,7 +72,7 @@ int atcmd_plus_cmgd_write(int fd, int index); int atcmd_plus_qcfg_write(int fd, int sms_format); -int isCdmaTypeModel(); +int is_telit_3gpp2_format(); #define STORE_NAME_LEN 2 #define STORE_NAME_SIZE (STORE_NAME_LEN + 1) @@ -121,8 +121,8 @@ int atcmd_plus_gmi_read(int fd); int atcmd_init(int fd, int read_timeout); int sms_device_close(int fd); int sms_device_open(void); -int is_vzw_lte(void); -int is_quectel_dual_sms_format(void); +int is_telit_lte_vzw_3gpp2_format(void); +int is_quectel_dual_format(void); int is_telit_model(void); int is_quectel_model(void); -- cgit v1.2.3 From 78a27efb55e1c509604fe9d96f8c421d6b1bda36 Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Fri, 6 Jan 2023 18:48:25 +0200 Subject: [GP-1842] Update the Cellular code to use SIM IMSI for Verizon detection The certifications lab uses special SIM cards with non-Verizon ICCID numbers and Verizon IMSI numbers (MCC/MNC prefixes or PLMN IDs). Update the code to detect Verizon properly for such "special" SIM cards. --- src/atcmd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/atcmd.h') diff --git a/src/atcmd.h b/src/atcmd.h index 1f15e62..bbab2d7 100644 --- a/src/atcmd.h +++ b/src/atcmd.h @@ -117,6 +117,8 @@ int atcmd_plus_cpbr_test(int fd, struct phonebook_store *store); int atcmd_plus_gmm_read(int fd); int atcmd_plus_gmi_read(int fd); +int atcmd_plus_iccid_read(int fd); +int atcmd_plus_imsi_read(int fd); int atcmd_init(int fd, int read_timeout); int sms_device_close(int fd); -- cgit v1.2.3