5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference 363
Shows the current configuration.
Displays the last 20 commands entered during the current CLI session.
Stores the current configuration in permanent memory.
usb 1 (usb-line:1) level commands
Continuously displays line statistics.
baud rate <bits per sec-
ond>
Sets the line speed. <bits per second> = the speed. Standard speeds include 1200, 2400,
4800, 9600, 19200, and so on.
Enters the bluetooth serial level. <line> = number of the line (bluetooth serial port) to be
configured.
Sets the serial counters to zero.
Sets the current line to always be in command mode.
command mode echo
serial string disable
Disables user-defined serial boot string to be echoed in the CLI.
command mode echo
serial string enable
Enables user-defined serial boot string to be echoed in the CLI.
command mode serial
string
Enables user to enter a custom string at boot time to enter command mode.
command mode serial
string <string>
Sets a string that can be entered at boot time to enter command mode. <string> = text with
possible binary characters. Within [] use binary decimal up to 255 or hex up to 0xFF. Within
{} specify decimal milliseconds time delay.
command mode signon
message <string>
Sets a sign-on message that is sent from the serial port when the device boots and when
the line is in command mode. <string> = text with possible binary characters. Within [] use
binary decimal up to 255 or hex up to 0xFF.
command mode wait
time <milliseconds>
Sets boot-up wait time for command mode serial string. <milliseconds> = wait time.
Uses seven bits for data on the line.
Uses eight bits for data on the line.
Restores the default speed of 115200 bits per second.
Restores the default of eight data bits.
Restores the default of hardware (RTS/CTS) flow control.
Restores the default usb line mode.
Restores the default of no parity.
Restores the default of one stop bit.
Restores the factory default threshold.
Restores the default xoff character on this line.
Restores the default xon character on this line.
Exits to the enable level
Uses hardware (RTS/CTS) flow control on the line.
Does not provide flow control on the line.
Uses software (xon/xoff characters) flow control on the line.
Sets the gap timer in milliseconds. If some data has been received, it will be forwarded
after this time since the last character.
Sets the usb line interface to USB-CDC-ACM.
Kills command mode session on the Line
Enters the line level. <line> = number of the line (serial port) to be configured.
Sets the usb line to ethernet device mode.