Appendix A: Command Reference
xPico® Wi-Fi® Embedded Device Server User Guide
72
Navigating the CLI Hierarchy
The CLI is organized into a hierarchy of levels. Each level has a group of commands for a specific
purpose. For example, to view diagnostic or device status, one would navigate to the
status
level
where they could then navigate to
diagnostics
or
device
.
To move to a different level—Enter the name of the level from within its parent level. For
example, to enter the file system level, type
file system
at the enable prompt.
To exit and return to one level higher—Type
exit
and press the
Enter
key.
To view the current configuration, enter the config level by typing
config
.
To view the list of commands available at the current level—Type the question mark
?
. Items
within
< >
(e.g.
<string>
) are required parameters.
To view the available commands and explanations—Type the asterisk (
*
).
To view the list of commands available for a partial command—Type the partial command
followed by the question mark "
?
". For example:
config>?
displays a list of all config
commands at the config level.
To view available commands and their explanations for a partial command—Type an asterisk
(
*
). For example:
config Access Point>*
displays a list of all accesss point commands
and descriptions at the config > access point level.
To view SPI configurations, enter the config level by typing
config
at the root level, and then
the SPI level by typing
SPI
.
To view the tlog, type
tlog
or
t
at the root level.
Using Keyboard Shortcuts and CLI
One useful shortcut built into xPico Wi-Fi embedded device server is that the complete text of a
command does not have to be entered to issue a command. Typing just enough characters to
uniquely identify a command, then hitting enter, can be used as a short cut for a command. For
example, at the enable level, "sh" can be used for the "show" command.
Tab Completion is also available using the
Tab
and
Enter
keys on the keyboard. Typing the first
few characters of a command, then hitting the
Tab
key displays the first command that begins with
those characters. Hitting the
Tab
key again displays the next command that begins with the
original characters typed. You can press
Enter
to execute the command or you can backspace to
edit any parameters.
The following key combinations are allowed when configuring the Pico Wi-Fi embedded device
server using the CLI:
Table A-1 Keyboard Shortcuts
Key Combination
Description
Ctrl + a
Places cursor at the beginning of a line
Ctrl + b
Backspaces one character
Ctrl + d
Deletes one character
Ctrl + e
Places cursor at the end of the line
Ctrl + f
Moves cursor forward one character