5: Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
76
state disable
Disables Bluetooth.
state enable
Enables Bluetooth.
write
Stores the current configuration in permanent memory.
Bluetooth serial 1 (bluetooth-line:1) level commands
auto show statistics
Continuously displays line statistics.
bluetooth serial
<line>
Enters the bluetooth serial level. <line> = number of the line (bluetooth serial port) to be
configured.
clear line counters
Sets the serial counters to zero.
clrscrn
Clears the screen.
command mode always 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.
default line mode
Restores the default line mode.
default threshold
Restores the factory default threshold.
exit
Exits to the enable level
gap timer
<milliseconds>
Sets the gap timer in milliseconds. If some data has been received, it will be forwarded
after this time since the last character.
interface bluetooth-
rfcomm
Sets the line interface to bluetooth-rfcomm.
kill session
Kills command mode session on the Line
line
<line>
Enters the line level. <line> = number of the line (serial port) to be configured.
line mode serial device
Sets the line to serial device mode.
name
<text>
Sets the name for this line.
no clear line counters
Restores the serial counters to the aggregate values.
no command mode
Disables command mode for the current line.
no command mode si-
gnon message
Clears the signon message displayed at boot time and when entering command mode.
no gap timer
Removes the gap timer, so forwarding depends on the line speed.
no name
Removes the name of this line.
protocol none
Uses no protocol on the line.
protocol tunnel
Applies tunnel protocol on the line.
show
Displays the current status.
show bluetooth line
Displays the current configuration.
show command mode
Shows the command mode settings for the current line.
show history
Displays the last 20 commands entered during the current CLI session.
show statistics
Shows the line statistics.