Skip to content

Commit

Permalink
[TE1]: Provide test interface in chip-shell to test CRMP. (#5228)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored Mar 11, 2021
1 parent e6e4d67 commit d8a2d1f
Show file tree
Hide file tree
Showing 11 changed files with 522 additions and 6 deletions.
2 changes: 2 additions & 0 deletions examples/shell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Done
- [exit](#exit)
- [help](#help)
- [otcli](README_OTCLI.md)
- [ping](#ping)
- [rand](#rand)
- [version](#version)

Expand All @@ -51,6 +52,7 @@ Display a list of all top-level commands supported and a brief description.
base64 Base64 encode / decode utilities
device Device Layer commands
otcli Dispatch OpenThread CLI command
ping Using Echo Protocol to measure packet loss across network paths
exit Exit the shell application
help List out all top level commands
version Output the software version
Expand Down
2 changes: 2 additions & 0 deletions examples/shell/nrfconnect/CHIPProjectConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@

// Enable support functions for parsing command-line arguments
#define CHIP_CONFIG_ENABLE_ARG_PARSER 1

#define CHIP_DEVICE_CONFIG_DISABLE_SHELL_PING 1
6 changes: 6 additions & 0 deletions examples/shell/shell_common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,18 @@ static_library("shell_common") {
"cmd_device.cpp",
"cmd_misc.cpp",
"cmd_otcli.cpp",
"cmd_ping.cpp",
]

public_deps = [
"${chip_root}/src/lib",
"${chip_root}/src/lib/core",
"${chip_root}/src/lib/shell",
"${chip_root}/src/lib/support",
"${chip_root}/src/platform",
"${chip_root}/src/protocols",
"${chip_root}/src/setup_payload",
"${chip_root}/src/system",
]

if (chip_enable_openthread &&
Expand Down
Loading

0 comments on commit d8a2d1f

Please sign in to comment.