mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
[harness-simulation] add the usage of the CLI command nodeidfilter (#8196)
This commit is contained in:
@@ -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 <nodeid>`: It denies the connection to a specified node.
|
||||
* - `nodeidfilter clear`: It restores the filter state to default.
|
||||
*/
|
||||
{"nodeidfilter", ProcessNodeIdFilter},
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user