4 command usage, 1 ‘set’command – SENA LS100M-SK User Manual
Page 19
19
2.4 Command Usage
The LS100M provides several simple commands for configuration and control of the LS100M. Table 2-
4 summarizes command set which LS100M supports.
Table 2-4 LS100M command set summary
Command
Description
Result
set group par1 [par2 ...] + <CR>
Set configuration parameters
- group = 'ip', 'host', 'serial' or 'admin'
- par1 ... = configuration parameters. Use * to
keep a parameter's value
If success,
“OK”+ <CR> + <LF>
If error
“ERROR” + <CR> + <LF>
get [group] + <CR>
Get configuration parameter values
- group = 'ip', 'host', 'serial', 'admin' or 'status'
- If group is specified, shows settings of the
group.
- If group is omitted, shows settings of all groups.
Parameter value display
help [group] + <CR>
Shows command usage screen.
- If group is omitted, shows help screen.
- If group is specified, shows 'set' command
usage of the group.
Help message display
factorydefault [option] + <CR>
Restore factory default values
- if option is omitted, all parameters are set with
factory default values.
- if option='-ip', all parameters except IP settings
are set with factory default values.
If success,
“OK”+ <CR> + <LF>
If error
“ERROR” + <CR> + <LF>
save + <CR>
Save changes
If success,
“OK”+ <CR> + <LF>
If error
“ERROR” + <CR> + <LF>
exit + <CR>
Exit without rebooting the device (changes are
not applied)
If success,
“OK”+ <CR> + <LF>
If error
“ERROR” + <CR> + <LF>
reboot + <CR>
Exit and reboot the device
None
2.4.1 ‘set’Command
With ‘set’ command, users can configure parameter values of the LS100M for each environment.
Basic ‘set’command usage is as follows:
set group par1 [par2 ...] + <CR>
where,
group = 'ip','host','serial' or 'admin'
par1 par2 ... = configuration parameters. Use * to keep a parameter's value