# HG changeset patch # User Mychaela Falconia # Date 1549586974 0 # Node ID 10f4062e049b38eff926a75096ee32eac4e703a9 # Parent b5235f8240b99bf0a3193be5d727155b3cede742 fc-shell: unterm command implemented in one-shot mode diff -r b5235f8240b9 -r 10f4062e049b rvinterf/asyncshell/at.c --- a/rvinterf/asyncshell/at.c Thu Feb 07 21:22:27 2019 +0000 +++ b/rvinterf/asyncshell/at.c Fri Feb 08 00:49:34 2019 +0000 @@ -126,6 +126,12 @@ return oneshot_at_command(argv[1]); } +cmd_unterm_oneshot(argc, argv) + char **argv; +{ + return send_unterm_string_to_ati(argv[1]); +} + void oneshot_at_check_response() { diff -r b5235f8240b9 -r 10f4062e049b rvinterf/asyncshell/oneshot.c --- a/rvinterf/asyncshell/oneshot.c Thu Feb 07 21:22:27 2019 +0000 +++ b/rvinterf/asyncshell/oneshot.c Fri Feb 08 00:49:34 2019 +0000 @@ -18,6 +18,7 @@ extern int cmd_str_oneshot(); extern int cmd_tchdl_oneshot(); extern int cmd_tgtreset(); +extern int cmd_unterm_oneshot(); static struct cmdtab { char *cmd; @@ -34,6 +35,7 @@ {"str", 1, 1, cmd_str_oneshot}, {"tch-dl", 1, 1, cmd_tchdl_oneshot}, {"tgtreset", 0, 0, cmd_tgtreset}, + {"unterm", 1, 1, cmd_unterm_oneshot}, {0, 0, 0, 0} };