summaryrefslogtreecommitdiff
path: root/src/sms_main.c
diff options
context:
space:
mode:
authorJames Maki <jmaki@multitech.com>2010-08-19 16:41:35 -0500
committerJames Maki <jmaki@multitech.com>2010-08-19 16:41:35 -0500
commit93f445716bfa3543fc369b66ab8c3e61df47e1d8 (patch)
treea575e9e99f41f6b4660eec39e31fc452b2e8b70a /src/sms_main.c
parent9ba8adf164b316a3d6914b3b187f371f6e19066d (diff)
downloadsms-utils-93f445716bfa3543fc369b66ab8c3e61df47e1d8.tar.gz
sms-utils-93f445716bfa3543fc369b66ab8c3e61df47e1d8.tar.bz2
sms-utils-93f445716bfa3543fc369b66ab8c3e61df47e1d8.zip
fix AT+CPMS test and write commands.
- check for extra surrounding parentheses on AT+CPMS=? on G2. - set default message store to ME. MT is not a choice on G2.
Diffstat (limited to 'src/sms_main.c')
-rw-r--r--src/sms_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sms_main.c b/src/sms_main.c
index 4a955b8..92c831f 100644
--- a/src/sms_main.c
+++ b/src/sms_main.c
@@ -55,9 +55,9 @@ static int global_init(void)
Global.core.baud_rate = B115200;
Global.core.read_timeout = 5000;
Global.core.device = strdup(DEFAULT_DEVICE);
- Global.core.msg_store_read = strdup("MT");
- Global.core.msg_store_send = strdup("MT");
- Global.core.msg_store_new = strdup("MT");
+ Global.core.msg_store_read = strdup("ME");
+ Global.core.msg_store_send = strdup("ME");
+ Global.core.msg_store_new = strdup("ME");
Global.core.pb_store = strdup("ME");
Global.core.editor = strdup("vi");
Global.core.edit_file = strdup("${HOME}/.smsmsg");