The
”squeue”
command can be used for display of queue of messages, that are waiting for transmission to the
terminal devices through the ”reverse channel”. The reverse channel works in such principle that the central
application sends a message to the gateway for a specific terminal, and this message waits in the queue for sending
until the device ”rings”. Immediately after receiving the message from the terminal device, the gateway sends back
a reverse channel message. Each terminal that supports the reverse channel waits immediately after sending its
message with the receiver open for a possible return message.
Reverse channel queue can be checked following way:
GW33H7-0#gw squeue
GW send queue table, size 0 :
By using of
”send”
command a test radio-message in Wireless M-Bus format can be transmitted. Its header
address contains gateway ID (according to settings, default ”12345678”), manufacturer’s code ”SFT”, medium ”15”
and version ”1”. The data content of the message contains processor temperature and supply voltage values. The
test message can be used to verify the range of the reverse channel, or for transmission power measurement.
By using of
”gw write”
command all possible changes in the ”gw” subsystem can be saved.
By using of
”gw deb”
command the required level of debug statements of the subsystem can be set.
3.4.7
Commands of
”
Utils” group for setting of communication
This group of commands is intended for checking and setting of the basic functions of module operating system, as
well as the basic communication functions of the module. There are following commands:
--- Utils ---
loca
: location (0-63 chars)
ekey
: Set encrypt key, point ’.’ no encrypt
serialkey
: Set index for serial key, 0 - disabled
nepkey
: Set index for nep key, 0 - disabled
write
: Write configuration to flash
cread
: Read configuration from flash
clear
: Clear configuration and load defaults
ping
: Send ICMP ping to address
sens
: show sensors values
deb
: set debug
ls
: show all config file names
rm
: delete file
mkdir
: create dir
cat file
: show config file
mount
: mount sd
unmount
: unmount sd
?
: Show this help
By using of the
”loca”
command the individual designation of the module (e.g. its location) can be preset. Up to
63 alphanumeric characters can be entered. Example of setting an individual module designation:
GW33H7-0#loca unhost
Change location from : ’’ to : ’unhost’
GW33H7-0#
The parameter
”
Encryption key”
is used for setting of the encryption key for an encryption of transmitted
messages by using of AES-128 key. Up to 4 encryption keys can be added to the table and by using of other
commands (as ”serialkey”, ”nepkey”) assigned to individual communication channels. The encryption key of 16
bytes length is entered by using of
”
ekey”
command, followed by the string of 16 bytes that can be entered in a
decimal or hexadecimal format (see examples).
An example of insertion of the encryption key in hexadecimal format:
GW33H7-0#ekey 3 0x2a 0x35 0x9f 0xbc 0xff 0x8a 0xf1 0xca 0x88 0x15 0x62 0x93 0xeb 0x0f 0x91 0x88
New key[3] :2a359fbcff8af1ca88156293eb0f9188
GW33H7-0#
WB169-RFG
18