diff rvinterf/asyncshell/pktsort.c @ 75:bbc41034f14c

fc-shell: added support for AT commands in one-shot mode
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 27 Oct 2016 02:13:38 +0000
parents d43d82cbfb85
children 31a36b400cdf
line wrap: on
line diff
--- a/rvinterf/asyncshell/pktsort.c	Thu Oct 27 00:18:49 2016 +0000
+++ b/rvinterf/asyncshell/pktsort.c	Thu Oct 27 02:13:38 2016 +0000
@@ -15,6 +15,7 @@
 
 extern u_char rvi_msg[];
 extern int rvi_msg_len;
+extern int oneshot_mode;
 
 static void
 process_rvt()
@@ -57,6 +58,8 @@
 	strcpy(buf, "ATI: ");
 	safe_print_trace(rvi_msg + 2, rvi_msg_len - 2, buf + 5);
 	async_msg_output(buf);
+	if (oneshot_mode)
+		oneshot_at_check_response();
 }
 
 void