Each instance of Revision History reflects a change to this document from
its previous version. For more details, refer to the corresponding pages
and appropriate links in the table below.
ZAURA RF Module Shell
User Manual
ii
Date
Sep
2011
Feb
2011
Revision
LevelDescription
02Remote command moved to list of default commands from list
of optional commands. Minor additional updates throughout.
01Original issue.All
Page
No.
8
UM023502-0911Revision History
Safeguards
Caution:
The following precaution must be observed when working with the
devices described in this document.
ZAURA RF Module Shell
User Manual
iii
Always use a grounding strap to prevent damage resulting from electrostatic discharge (ESD).
The ZAURA RF Wireless Module Shell is a command line interpreter
that can be used to control ZAURA RF Wireless nodes over an RS-232
(UART) connection. The Shell is preloaded on the ZAURA RF Wireless
Module when shipped from the factory.
Users interact with the Shell through a terminal emulator, such as HyperTerminal, which should typically be configured with 57600 baud, no parity , 1 stop bit, and no flow control. Users can control remote notes as well,
using the
The Shell is a part of the ZAURA RF Wireless Library and includes
application programming interfaces to implement the different Shell commands. The Shell API provides six mandatory commands that will exist
on all substantiations. The Shell may contain an additional 24 commands
which may be employed either as built-in optional functions or as defined
by your application. For more information about how to implement and
incorporate the Shell into your application, please refer to the ZAURA RF
Wireless Library Reference Manual (RM0060).
ZAURA RF Module Shell
User Manual
1
REMOTE command (similar to telnet).
The following sections cover the usage of each of the commands that are
built into to the Shell. Each command is shown along with a set of mandatory and optional parameters. Parameters are shown in italics, and
optional parameters are enclosed in angular brackets <like this>. Shell
command names are case-insensitive, so the commands
aDDr are equivalent. However, case sensitivity may apply to the parame-
ters. For example, the
string than
tx ff HELLO. Unless stated otherwise, all numeric parame-
tx ff hello command will send a different
Addr, addr and
ters passed to the shell must be specified in hexadecimal format. Similarly, all numeric values returned from the shell are displayed as
hexadecimal values. For example, issuing the command
node address of the ZAURA RF Module to the hexadecimal value
addr 23 sets the
0x23
(35 decimal).
UM023502-0911Shell Overview
ZAURA RF Module Shell
User Manual
Table 1 lists the default ZAURA RF Wireless Module Shell commands
and references the page each is described on in this manual.
The default Shell commands listed in Table 1 are each described in this
section, complete with command syntax and examples. These Shell command descriptions begin on the next page.
Help command displays the list of available shell commands for this
node.
UM023502-0911?
readRead registers
Syntax
read ofs <len>
Example 1
read 10
D6
Example 2
read 10 5
D6 38 28 07 27
ZAURA RF Module Shell
User Manual
5
read command displays a subset of the ZAURA RF Wireless Mod-
The
ule register set. The ofs parameter specifies the zero-based offset of the
first register to read. The optional <len> parameter specifies the number
consecutive registers to read. If <len> is omitted, only the contents of ofs
is displayed. All values must be specified in hexadecimal format.
The ofs parameter must be between
UM023502-0911read
0x00 and 0x1F.
writeWrite registers
Caution:
Syntax
write ofs data
Example
write 16 aabbccdd
AA BB CC DD D6
write command is used to modify one or more ZAURA RF Wire-
The
less Module registers beginning with ofs. If the data parameter specifies a
single 8-bit value, only register ofs is modified. Otherwise, subsequent
data values will be written to sequential registers.
ZAURA RF Module Shell
User Manual
6
Altering the contents of the radio registers can disrupt – or even disable
– all communication within the ZAURA RF Wireless cell and cause the
application to stop working properly. The
The remote command is used to transmit a shell command to the default
ZAURA RF Wireless target address (DST command). The command is
not echoed on the remote terminal. In Example 3 above, the local node
will send a request to the remote node to issue a transmit request of
"Hello" to the broadcast address. The Remote node’s command inter-
preter will process the shell command (
tx ff Hello) and transmit the
packet. When the local node receives the transmitted packet from the
remote node, it displays the received packet from the remote node.
Prior to initiating a remote shell command, the default ZAURA RF Wireless Module target address should be set to a unique address. If the broadcast address (
UM023502-0911remote
ff) is used, the node issuing the remote console command
Loading...
+ 30 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.