EasyManua.ls Logo

Telegesis ETRX357-LR - Page 19

Telegesis ETRX357-LR
121 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
R309 AT Commands
©2015 Telegesis (UK) Ltd - 19 - AT Command Manual (Rev 3.09)
Read Command
ATREMS:<address>,XX[X[x]]?
Examples
ATREMS:000D6F00000AAC93,00?
ATREMS:000D6F00000AAC93,0AE?
ATREMS:000D6F00000AAC93,1812?
Where <address> can be the remote node’s
EUI64, Network address or address table index
and XX is the S-Register which is to be read. As
an option for all 16 bit registers it is also possible
to address an individual bit only by specifying
the bit number [X]. For all 32 bit registers it is
possible to address an individual bit by
specifying the bit number in hexadecimal [xx]
The result when reading a single bit will always
be 0 or 1.
Note
Also the local node can be the target of this
command (e.g. use address table entry FF as
the address)
Response
SEQ:XX
OK
or ERROR:<errorcode>
The module asks for the contents of the remote
S-register using a unicast. The sequence
number of the unicast is displayed (an ACK or
NACK prompt will follow). <errorcode>
represents the error code explained in section 3.
Prompt
SREAD:<Network
address>,<EUI64>,<Register>,
<errorcode>[=<Data>]
Where Network address is the remote Network
address, EUI64 is the remote EUI64, Register is
the S-Register which was read and <errorcode>
is indicating the success (00) or failure of the
read operation. The contents of the remote S-
Register are following in case of a successful
read only.
Write Command
ATREMS:<address>,XX[x[x]]=<data>
[,<password>]
Examples
ATREMS:000D6F0000012345,00=3FFC
ATREMS:000D6F0000012345,0AE=1:passwor
d
Where <address> can be the remote node’s
EUI64, Network address or address table index
and XX is the S-Register which is to be written.
As an option for all 16- and 32-bit registers it is
also possible to address an individual bit only by
specifying the bit number [x[x]].
Notes
Some S-Registers require a password for write
access. See S-Register description for details.
The default password for R3xx is
“password”.
Some S-Registers are read-only and will return
an error if you are trying to write to them.
When writing an individual bit by specifying
[x[x]], <data> can only be either 0 or 1.
Response
SEQ:XX
OK
or ERROR:<errorcode>
The data is written to the remote S-register
number XX and if applicable stored in non-
volatile memory. The data format for each
individual S-register is given in the S-Register
description.
The sequence number of the unicast is
displayed (an ACK or NACK prompt will follow).
<errorcode> represents the error code explained
in section 3.
Prompt
SWRITE:<Network
address>,<EUI64>,<errorcode >
Where <Network address> is the remote
Network address, <EUI64> is the remote EUI64.
Only in case the errorcode is 00 the write
operation has been completed successfully.
SW release
R302