FreeCalypso > hg > freecalypso-tools
comparison rvinterf/asyncshell/at.c @ 451:10f4062e049b
fc-shell: unterm command implemented in one-shot mode
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 08 Feb 2019 00:49:34 +0000 |
parents | e13f60d4f8dd |
children |
comparison
equal
deleted
inserted
replaced
450:b5235f8240b9 | 451:10f4062e049b |
---|---|
124 char **argv; | 124 char **argv; |
125 { | 125 { |
126 return oneshot_at_command(argv[1]); | 126 return oneshot_at_command(argv[1]); |
127 } | 127 } |
128 | 128 |
129 cmd_unterm_oneshot(argc, argv) | |
130 char **argv; | |
131 { | |
132 return send_unterm_string_to_ati(argv[1]); | |
133 } | |
134 | |
129 void | 135 void |
130 oneshot_at_check_response() | 136 oneshot_at_check_response() |
131 { | 137 { |
132 if (rvi_msg_len == 4 && !strncmp(rvi_msg + 2, "OK", 2)) | 138 if (rvi_msg_len == 4 && !strncmp(rvi_msg + 2, "OK", 2)) |
133 exit(0); | 139 exit(0); |