Lantronix SGX 5150 IoT Device Gateway SGX 5150 Command Reference - Page 80

bluetooth serial 4 bluetooth-line:4 level commands, Displays the current configuration.

Page 80 highlights

6: Commands and Levels command mode always Sets the current line to always be in command mode. command mode echo serial Disables user-defined serial boot string to be echoed in the CLI. string disable command mode echo serial Enables user-defined serial boot string to be echoed in the CLI. string enable command mode serial string Enables user to enter a custom string at boot time to enter command mode. command mode serial string Sets a string that can be entered at boot time to enter command mode. = 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 Sets a sign-on message that is sent from the serial port when the device boots and when the line is in command mode. = text with possible binary characters. Within [] use binary decimal up to 255 or hex up to 0xFF. command mode wait time Sets boot-up wait time for command mode serial string. = 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 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 Enters the line level. = number of the line (serial port) to be configured. line mode serial device Sets the line to serial device mode. name 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 signon 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 managed device Applies Managed device protocol on the 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. state disable Disables the line so data cannot be sent/received. state enable Enables the line so data can be sent/received. terminal Enters the configure-terminal level. = number of the terminal line (serial port) to be configured. terminal network Enters the configure-terminal level for the network. threshold Sets the threshold in bytes. After this many bytes are received, they are forwarded without delay. tunnel Enters the tunnel level. = number of the tunnel line (serial port) to be configured. usb Enters the usb level. = number of the line (usb port) to be configured. write Stores the current configuration in permanent memory. bluetooth serial 4 (bluetooth-line:4) level commands auto show statistics Continuously displays line statistics. bluetooth serial Enters the bluetooth serial level. = number of the Bluetooth SPP line to be configured. clear line counters Sets the serial counters to zero. SGX™ 5150 IoT Device Gateway Command Reference 80

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257

6:
Commands and Levels
SGX™ 5150 IoT Device Gateway Command Reference
80
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 signon
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 managed device
Applies Managed device protocol on the 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.
state disable
Disables the line so data cannot be sent/received.
state enable
Enables the line so data can be sent/received.
terminal
<line>
Enters the configure-terminal level. <line> = number of the terminal line (serial port)
to be configured.
terminal network
Enters the configure-terminal level for the network.
threshold
<bytes>
Sets the threshold in bytes. After this many bytes are received, they are forwarded
without delay.
tunnel
<line>
Enters the tunnel level. <line> = number of the tunnel line (serial port) to be
configured.
usb
<line>
Enters the usb level. <line> = number of the line (usb port) to be configured.
write
Stores the current configuration in permanent memory.
bluetooth serial 4 (bluetooth-line:4) level commands
auto show statistics
Continuously displays line statistics.
bluetooth serial
<line>
Enters the bluetooth serial level. <line> = number of the Bluetooth SPP line to be
configured.
clear line counters
Sets the serial counters to zero.