diff options
author | John Klug <john.klug@multitech.com> | 2023-01-10 16:40:41 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2023-01-10 16:40:41 -0600 |
commit | a64a1538c6576eccfb841861cd9acf9b22c732d8 (patch) | |
tree | 00031ede7deeb96674eb000a336179f22ad32710 /src/global.h | |
parent | c97e4dad4fa1720cc510d44b404a1727907c22a5 (diff) | |
parent | 78a27efb55e1c509604fe9d96f8c421d6b1bda36 (diff) | |
download | sms-utils-a64a1538c6576eccfb841861cd9acf9b22c732d8.tar.gz sms-utils-a64a1538c6576eccfb841861cd9acf9b22c732d8.tar.bz2 sms-utils-a64a1538c6576eccfb841861cd9acf9b22c732d8.zip |
[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.h | 7 |
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; |