3 The `chip-shell` firmware exposes configuration and management APIs via a
4 command line interface (CLI). Use the shell CLI to experiment with CHIP
5 interactively, which can also be used with additional application code. The CHIP
6 functional test scripts use the shell CLI to execute test cases.
8 ## Separator and escaping characters
10 The whitespace character (`' '`) is used to delimit the command name and the
11 different arguments, together with tab (`'\t'`) and new line characters (`'\r'`,
14 Some arguments might require to accept whitespaces on them. For those cases the
15 backslash character (`'\'`) can be used to escape separators or the backslash
21 > networkname Test\ Network
29 ## CHIP Shell Command List
31 - [base64](#base64-decode-b64_string)
32 - [device](README_DEVICE.md)
33 - [echo](#echo-string)
36 - [otcli](README_OTCLI.md)
41 ## CHIP Shell Command Details
45 Display a list of all top-level commands supported and a brief description.
49 echo Echo back provided inputs
51 rand Random number utilities
52 base64 Base64 encode / decode utilities
53 device Device Layer commands
54 otcli Dispatch OpenThread CLI command
55 ping Using Echo Protocol to measure packet loss across network paths
56 exit Exit the shell application
57 help List out all top level commands
58 version Output the software version
62 ### base64 decode \<b64_string\>
64 Decode the given base64 string into hex.
72 ### base64 encode \<hex_string\>
74 Decode the given hex string into base64.
84 Echo back the provided string to the terminal.
94 Exit the shell terminal. On an embedded system this may trigger a watchdog
104 Output a single byte random number.
114 Output the version of the CHIP stack.
118 CHIP 0.0.g54591338-dirty