rptun: add rptun ping support

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2022-03-03 18:05:48 +08:00
committed by Xiang Xiao
parent 622784be89
commit f5d2c64556
2 changed files with 19 additions and 3 deletions

View File

@@ -470,8 +470,8 @@ static const struct cmdmap_s g_cmdmap[] =
#endif
#if defined(CONFIG_RPTUN) && !defined(CONFIG_NSH_DISABLE_RPTUN)
{ "rptun", cmd_rptun, 2, 4,
"start|stop|reset|panic|dump [dev-path] [value]" },
{ "rptun", cmd_rptun, 2, 6,
"start|stop|reset|panic|dump|ping [dev-path] [value|times length ack]" },
#endif
#ifndef CONFIG_NSH_DISABLE_SET