Alex Tsitsiura ccc27ed033 [Telink] RAM/ROM optimization & Update Telink image to 12 (#29373) 2 jaren geleden
..
cc13x2x7_26x2x7 caf66ecd79 Remove some unused defines from project configs. (#28906) 2 jaren geleden
cc13x4_26x4 caf66ecd79 Remove some unused defines from project configs. (#28906) 2 jaren geleden
esp32 4ac93047a5 [ESP32] Update esp-idf to v5.1 release (#28326) 2 jaren geleden
genio caf66ecd79 Remove some unused defines from project configs. (#28906) 2 jaren geleden
mbed 89c6fb677e Add compile-time code generation using zap for app-templates (#23962) 3 jaren geleden
nrfconnect ba05087325 Update more build configs to c++17. (#28296) 2 jaren geleden
nxp caf66ecd79 Remove some unused defines from project configs. (#28906) 2 jaren geleden
openiotsdk fb9287317d [OIS] TF-M and kv store improvements (#27481) 2 jaren geleden
qpg d417c07452 EventManagement reenabled with buffers trimmed (#25944) 2 jaren geleden
shell_common b15a6e6184 Make constexpr constants in headers inline constexpr (#29279) 2 jaren geleden
standalone 012ec2ea99 Remove shell cmd_ping/cmd_send that were obsolete (#19987) 3 jaren geleden
telink ccc27ed033 [Telink] RAM/ROM optimization & Update Telink image to 12 (#29373) 2 jaren geleden
README.md e7347ea115 Add Sphinx documentation framework (#24185) 3 jaren geleden
README_DEVICE.md ec95ba7988 Use serial number and manufacturing date in Basic Cluster (#10706) 4 jaren geleden
README_OTCLI.md bae3e7daf5 docs: update chip name to Matter and misc edits (#10561) 4 jaren geleden
README_SERVER.md e7347ea115 Add Sphinx documentation framework (#24185) 3 jaren geleden

README.md

Matter Shell Reference

The chip-shell firmware exposes configuration and management APIs via a command line interface (CLI). Use the shell CLI to experiment with Matter interactively, which can also be used with additional application code. The Matter functional test scripts use the shell CLI to execute test cases.

Separator and escaping characters

The whitespace character (' ') is used to delimit the command name and the different arguments, together with tab ('\t') and new line characters ('\r', '\n').

Some arguments might require to accept whitespaces on them. For those cases the backslash character ('\') can be used to escape separators or the backslash itself.

Example:

> networkname Test\ Network
Done
> networkname
Test Network
Done
>

Matter Shell Command List

Matter Shell Command Details

help

Display a list of all top-level commands supported and a brief description.

> help
  echo            Echo back provided inputs
  log             Logging utilities
  rand            Random number utilities
  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
Done

base64 decode <b64_string>

Decode the given base64 string into hex.

> base64 decode EjQ=
1234
Done

base64 encode <hex_string>

Decode the given hex string into base64.

> base64 encode 1234
EjQ=
Done

echo <string>

Echo back the provided string to the terminal.

> echo hello
hello
Done

exit

Exit the shell terminal. On an embedded system this may trigger a watchdog reset.

> exit
Goodbye

rand

Output a single byte random number.

> rand
103
Done

version

Output the version of the Matter stack.

> version
CHIP 0.0.g54591338-dirty
Done