diff uptools/atcmd/smsend_basic.c @ 364:ac311a48630e

fcup-smdump & fcup-smsend: send AT+CMEE=2 first
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Mar 2018 00:20:42 +0000
parents 89fe66cb60f6
children 4378d70b146b
line wrap: on
line diff
--- a/uptools/atcmd/smsend_basic.c	Mon Mar 05 02:58:13 2018 +0000
+++ b/uptools/atcmd/smsend_basic.c	Thu Mar 08 00:20:42 2018 +0000
@@ -118,6 +118,8 @@
 	}
 	/* get to work */
 	atinterf_init();
+	/* enable verbose error messages */
+	atinterf_exec_cmd_needok("AT+CMEE=2", 0, 0);
 	if (text_mode) {
 		prep_for_text_mode();
 		send_in_text_mode(dest_addr, msgtext);