diff uptools/atcmd/smdump.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 3bcc56883b17
children b88a37d4f148
line wrap: on
line diff
--- a/uptools/atcmd/smdump.c	Mon Mar 05 02:58:13 2018 +0000
+++ b/uptools/atcmd/smdump.c	Thu Mar 08 00:20:42 2018 +0000
@@ -179,6 +179,8 @@
 		exit(ERROR_USAGE);
 	}
 	atinterf_init();
+	/* enable verbose error messages */
+	atinterf_exec_cmd_needok("AT+CMEE=2", 0, 0);
 	/* put the 07.05 modem in PDU mode */
 	atinterf_exec_cmd_needok("AT+CMGF=0", 0, 0);
 	/* HEX charset for phonebook names */