From bcf9d8058ec1452ee574817604d1d33afcd290b1 Mon Sep 17 00:00:00 2001 From: Jiachen Dong Date: Sat, 24 Sep 2022 03:20:05 +0800 Subject: [PATCH] [harness-simulation] add the usage of the CLI command `nodeidfilter` (#8196) --- examples/apps/cli/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/apps/cli/main.c b/examples/apps/cli/main.c index 62b65105d..63d2bf984 100644 --- a/examples/apps/cli/main.c +++ b/examples/apps/cli/main.c @@ -83,6 +83,12 @@ extern otError ProcessNodeIdFilter(void *aContext, uint8_t aArgsLength, char *aA static const otCliCommand kCommands[] = { {"exit", ProcessExit}, #if OPENTHREAD_EXAMPLES_SIMULATION + /* + * The CLI command `nodeidfilter` only works for simulation in real time. + * The usage of the command `nodeidfilter`: + * - `nodeidfilter deny `: It denies the connection to a specified node. + * - `nodeidfilter clear`: It restores the filter state to default. + */ {"nodeidfilter", ProcessNodeIdFilter}, #endif };