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

Disables Bluetooth.

Page 77 highlights

6: Commands and Levels wlan0 link state change write Enters the wlan0 link state change alarm level. Stores the current configuration in permanent memory. applications (config-applications) level commands clrscrn Clears the screen. exit Returns to the config level. no reserved ports Restores the default reserved ports. no reserved start port Clears the reserved start port. python Enters the next lower level. Specify the instance for the next lower level. python install Install a python package = path of package to install. python kill Kill a python script = PID of running script or 'all' for all scripts. python remove all Uninstall python package and all installed packages. python run Runs a python script = index of the script to be executed. python show installed Show installed python packages. python show status Show running python scripts. python uninstall Uninstall a python package = path of package to uninstall. = file to uninstall (from list of installed packages). reserved ports Sets the number of reserved ports. reserved start port Sets the reserved start port. = start port number. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. arp (config-arp) level commands add Adds an entry to the ARP table, mapping an IP address to a MAC address. = IP address to be mapped. = MAC address in colonseparated form. = Interface name clrscrn Clears the screen. exit Exits to the configuration level. remove all Removes all entries from the ARP cache. remove ip Removes an entry from the ARP cache. = address of the entry being removed. = Interface name show cache Displays the ARP cache table. show history Displays the last 20 commands entered during the current CLI session. write Stores the current configuration in permanent memory. bluetooth (config-bluetooth) level commands clrscrn Clears the screen. exit Returns to the config level. show Displays the current configuration. show history Displays the last 20 commands entered during the current CLI session. show statistics Displays the Bluetooth statistics. 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 Enters the bluetooth serial level. = number of the Bluetooth SPP line 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 Disables user-defined serial boot string to be echoed in the CLI. string disable SGX™ 5150 IoT Device Gateway Command Reference 77

  • 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
77
wlan0 link state change
Enters the wlan0 link state change alarm level.
write
Stores the current configuration in permanent memory.
applications (config-applications) level commands
clrscrn
Clears the screen.
exit
Returns to the config level.
no reserved ports
Restores the default reserved ports.
no reserved start port
Clears the reserved start port.
python
<instance>
Enters the next lower level. Specify the instance for the next lower level.
python install
<zip|tar.gz file>
Install a python package <zip | tar.gz file> = path of package to install.
python kill
<pid>
Kill a python script <pid> = PID of running script or 'all' for all scripts.
python remove all
Uninstall python package and all installed packages.
python run
<instance>
Runs a python script <instance> = index of the script to be executed.
python show installed
Show installed python packages.
python show status
Show running python scripts.
python uninstall
<zip|tar.gz
file|File>
Uninstall a python package <zip | tar.gz file> = path of package to uninstall. <File> =
file to uninstall (from list of installed packages).
reserved ports
<number>
Sets the number of reserved ports.
reserved start port
<number>
Sets the reserved start port. <number> = start port number.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
write
Stores the current configuration in permanent memory.
arp (config-arp) level commands
add
<IP address>
<MAC
address>
<Interface name>
Adds an entry to the ARP table, mapping an IP address to a MAC address. <ip
address> = IP address to be mapped. <mac address> = MAC address in colon-
separated form. <interface name> = Interface name
clrscrn
Clears the screen.
exit
Exits to the configuration level.
remove all
Removes all entries from the ARP cache.
remove ip
<IP address>
<Interface name>
Removes an entry from the ARP cache. <ip address> = address of the entry being
removed. <interface name> = Interface name
show cache
Displays the ARP cache table.
show history
Displays the last 20 commands entered during the current CLI session.
write
Stores the current configuration in permanent memory.
bluetooth (config-bluetooth) level commands
clrscrn
Clears the screen.
exit
Returns to the config level.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current CLI session.
show statistics
Displays the Bluetooth statistics.
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 Bluetooth SPP line 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.