
R305 AT Commands
©2011 Telegesis (UK) Ltd
- 16 -
AT Command Manual (Rev 3.05)
REMS
– Remote S-Register Access
Read Command
ATREMS:<address>,XX[X[x]]?
Examples
ATREMS:000D6F00000AAC93,00?
ATREMS:000D6F00000AAC93,0AE?
ATREMS:000D6F00000AAC93,1812?
Where <a
ddress> can be the remote node‟s
EUI64, NodeID 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.
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:<NodeID>,<EUI64>,<Register>,
<errorcode>[=<Data>]
Where NodeID is the remote NodeID, 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:passw
ord
Where <address> can be the remote node‟s
EUI64, NodeID 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:<NodeID>,<EUI64>,<errorcode >
Where <NodeID> is the remote NodeID, <EUI64>
is the remote EUI64. Only in case the errorcode is
00 the write operation has been completed
successfully.
SW release
R302