summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2023-01-10 16:40:41 -0600
committerJohn Klug <john.klug@multitech.com>2023-01-10 16:40:41 -0600
commita64a1538c6576eccfb841861cd9acf9b22c732d8 (patch)
tree00031ede7deeb96674eb000a336179f22ad32710 /src/global.h
parentc97e4dad4fa1720cc510d44b404a1727907c22a5 (diff)
parent78a27efb55e1c509604fe9d96f8c421d6b1bda36 (diff)
downloadsms-utils-master.tar.gz
sms-utils-master.tar.bz2
sms-utils-master.zip
Merge branch 'sk/GP-1842/imsi-vzw-detection' into 'master' HEAD1.0.8master
[GP-1842] Update the Cellular code to use SIM IMSI for Verizon detection See merge request !14
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/global.h b/src/global.h
index a6073dd..4b83cb5 100644
--- a/src/global.h
+++ b/src/global.h
@@ -14,6 +14,10 @@
#define ICCID_LEN 23
#define ICCID_SIZE (ICCID_LEN + 1)
+#define IMSI_LEN 15
+#define IMSI_SIZE (IMSI_LEN + 1)
+#define PLMN_ID_LEN_VZW 6
+#define PLMN_ID_SIZE_VZW (PLMN_ID_LEN_VZW + 1)
#define MODEL_LEN 1023
#define MODEL_SIZE (MODEL_LEN + 1)
#define MANUFACTURER_LEN 1023
@@ -37,7 +41,8 @@ struct global_core {
char *msg_store_new;
char *pb_store;
char model[MODEL_SIZE];
- char iccid[ICCID_SIZE]; /* Needed for LNA3/Verizon */
+ char iccid[ICCID_SIZE]; /* Needed for Verizon 3GPP2 SMS format detection */
+ char imsi[IMSI_SIZE]; /* Needed for Verizon 3GPP2 SMS format detection */
char manufacturer[MANUFACTURER_SIZE]; /* Needed to pick proper manufacturer-specific commands */
char *editor;