In the upper part of the list (up to the ”?” command) there are the main commands for setting of module basic
functions. They are always entered directly after the prompt.
In the bottom part of the list (after the space, starting with ”sys”) there is a list of module subsystems, that have
their own commands. These commands can be displayed by entering the name of the subsystem followed by the
”?” character (no space). Example of displaying commands for the ”ntp” subsystem:
GW33H7-0#ntp?
Help :
rest
: restart
info
: NTP info
ena
: NTP enable
srv1
: NTP server 1
srv2
: NTP server 2
srv3
: NTP server 3
write
: save configuration
deb
: NTP info
?
: show help
The listed ntp-subsystem commands can be used only for NTP subsystem by first entering the subsystem name,
and then the command itself after the space. Example for entering the ”info” command for the ”ntp” subsystem:
GW33H7-0#ntp info
NTP info :
172.16.17.1, status : wait, stratum : 0, reach : 0, delay 0, timeout 1671
* 172.16.16.1, status : wait, stratum : 2, reach : 3, delay 143, timeout 1681
The meaning of individual commands (including subsystem commands) is described below.
3.4.3
Commands of
”
System commands” group for control of module basic functions and diagnostics
This group of commands serves for control and diagnostics of module basic functions. There are following commands:
--- System commands ---
ta
: Show tasks
mb
: Show mail boxes
du addr
: Dump memmory
rb addr
: Read byte from addr
rw addr
: Read word from addr
rd addr
: Read dword from addr
sb addr val
: Set byte on addr
sw addr val
: Set word on addr
sd addr val
: Set dword on addr
port
: Show port [a,b,..]
usb
: Show usb registers
rng
: Show rng number
ov+ˇ
rit
show
: show info
time
: Show or set rtc time, set as BCD : 0x102033 is 10:20:33
date
: Show or set rtc date, set as BCD : 0x171231 is 2017-12-31
uptime
: Show uptime
reset
: Reset device
te
: Test tsSend
fs
: Test FS
ppm
: Set RTC ppm
free
: Show free memmory
users
: Show users
useradd
: create users passwd
userdel
: delete users
userpass
: change user’s password
nepserver
: Default NEP server IP
nepport
: Default NEP server port
WB169-RFG
9