changeset 351:f0e9bb28b4d6

uptools/atcmd/atinterf.c: no target debug mode implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 04 Feb 2018 18:44:41 +0000
parents 9ffaeb6fea1a
children 02d6c8469535
files uptools/atcmd/atinterf.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/uptools/atcmd/atinterf.c	Sun Feb 04 18:41:44 2018 +0000
+++ b/uptools/atcmd/atinterf.c	Sun Feb 04 18:44:41 2018 +0000
@@ -164,6 +164,13 @@
 {
 	char *nl;
 
+	if (no_target_mode) {
+		puts(command);
+		if (message)
+			puts(message);
+		strcpy(at_response, "FOK");
+		return(0);
+	}
 	if (message) {
 		fputs("c+m\n", cpipeF);
 		fprintf(cpipeF, "%s\n", command);