R308 AT Command Manual - wless.ru
R308 AT Command Manual - wless.ru
R308 AT Command Manual - wless.ru
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>R308</strong> <strong>AT</strong> <strong>Command</strong>s<br />
REMS – Remote S-Register Access<br />
Read <strong>Command</strong><br />
<strong>AT</strong>REMS:,XX[X[x]]<br />
Examples<br />
<strong>AT</strong>REMS:000D6F00000AAC93,00<br />
<strong>AT</strong>REMS:000D6F00000AAC93,0AE<br />
<strong>AT</strong>REMS:000D6F00000AAC93,1812<br />
Where can be the remote node‟s<br />
EUI64, NodeID or address table index and<br />
XX is the S-Register which is to be read. As<br />
an option for all 16 bit registers it is also<br />
possible to address an individual bit only by<br />
specifying the bit number [X]. For all 32 bit<br />
registers it is possible to address an<br />
individual bit by specifying the bit number in<br />
hexadecimal [xx]<br />
The result when reading a single bit will<br />
always be 0 or 1.<br />
Note: Also the local node can be the target of<br />
this command (e.g. use address table entry<br />
FF as the address)<br />
Response<br />
SEQ:XX<br />
OK<br />
or ERROR:<br />
The module asks for the contents of the remote S-<br />
register using a unicast. The sequence number of<br />
the unicast is displayed (an ACK or NACK prompt<br />
will follow). represents the error code<br />
explained in section 3.<br />
Prompt<br />
SREAD:,,,<br />
[=]<br />
Where NodeID is the remote NodeID, EUI64 is the<br />
remote EUI64, Register is the S-Register which<br />
was read and is indicating the<br />
success (00) or failure of the read operation. The<br />
contents of the remote S-Register are following in<br />
case of a successful read only.<br />
Write <strong>Command</strong><br />
<strong>AT</strong>REMS:,XX[x[x]]=<br />
[,]<br />
Examples<br />
<strong>AT</strong>REMS:000D6F0000012345,00=3FFC<br />
<strong>AT</strong>REMS:000D6F0000012345,0AE=1:pass<br />
word<br />
Where can be the remote node‟s<br />
EUI64, NodeID or address table index and<br />
XX is the S-Register which is to be written.<br />
As an option for all 16- and 32-bit registers it<br />
is also possible to address an individual bit<br />
only by specifying the bit number [x[x]].<br />
Response<br />
SEQ:XX<br />
OK<br />
or ERROR:<br />
The data is written to the remote S-register number<br />
XX and if applicable stored in non-volatile memory.<br />
The data format for each individual S Register is<br />
given in the S-Register description.<br />
The sequence number of the unicast is displayed<br />
(an ACK or NACK prompt will follow). <br />
represents the error code explained in section 3.<br />
Prompt<br />
SWRITE:,,<br />
Notes<br />
Some S-Registers require a password for<br />
write access. See S-Register description for<br />
details. The default password for R3xx is<br />
“password”.<br />
Some S-Registers are read-only and will<br />
return an error if you are trying to write to<br />
them.<br />
When writing an individual bit by specifying<br />
[x[x]], can only be either 0 or 1.<br />
Where is the remote NodeID, <br />
is the remote EUI64. Only in case the errorcode is<br />
00 the write operation has been completed<br />
successfully.<br />
SW release R302 ●<br />
©2012 Telegesis (UK) Ltd - 16 - <strong>AT</strong> <strong>Command</strong> <strong>Manual</strong> (Rev 3.08)