summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-18 17:11:03 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-18 17:42:15 +0300
commita1727baa9c57466517e76b635e7c27bf177acda2 (patch)
treef722d6e3e8e8e76fe9ffc74ab3b694d4741be9ba /src/global.h
parent2267c8ec1d21b8e0367ecdae2cb11b75553088b7 (diff)
downloadsms-utils-a1727baa9c57466517e76b635e7c27bf177acda2.tar.gz
sms-utils-a1727baa9c57466517e76b635e7c27bf177acda2.tar.bz2
sms-utils-a1727baa9c57466517e76b635e7c27bf177acda2.zip
[MTR-MTQ] Quectel support for sms-utils
- Added new "manufacturer" field to the "global_core" structure - Added the "atcmd_plus_gmi_read()" function to fetch manufacturer identification - Added a call to the "atcmd_plus_gmi_read()" in "sms_atcmd_init()" - Added "is_telit_model()" and "is_quectel_model()" functions to pick a proper manufacturer-specific command in "atcmd_plus_iccid_read()" and, possibly, other commands in the future - Tabs VS spaces. This project uses tabs
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/global.h b/src/global.h
index fc8df6f..764cc06 100644
--- a/src/global.h
+++ b/src/global.h
@@ -29,8 +29,9 @@ struct global_core {
char *msg_store_send;
char *msg_store_new;
char *pb_store;
- char *model;
- char *iccid; /* Needed for LNA3/Verizon */
+ char *model;
+ char *iccid; /* Needed for LNA3/Verizon */
+ char *manufacturer; /* Needed to pick proper manufacturer-specific commands */
char *editor;
char *edit_file;