17.01.2015 Views

R308 AT Command Manual - wless.ru

R308 AT Command Manual - wless.ru

R308 AT Command Manual - wless.ru

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>R308</strong> <strong>AT</strong> <strong>Command</strong>s<br />

S – S-Register Access<br />

Read <strong>Command</strong><br />

<strong>AT</strong>SXX[x[x]]<br />

Examples<br />

<strong>AT</strong>S00<br />

<strong>AT</strong>S0AE<br />

<strong>AT</strong>S1812<br />

XX is the S-Register which is to be read.<br />

As 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 />

Write <strong>Command</strong><br />

<strong>AT</strong>SXX[x[x]]=[,]<br />

Response<br />

<br />

OK<br />

or ERROR:<br />

The module displays the contents of S-register xx<br />

or an error message, where <br />

represents the error code explained in section 3.<br />

All 16- and 32-bit registers can also be accessed<br />

bit by bit. In order to do this [x[x]] may specify the<br />

bit which is to be read. The result when reading a<br />

single bit will always be 0 or 1.<br />

Response<br />

OK or ERROR:<br />

Examples<br />

<strong>AT</strong>S00=3FFC<br />

<strong>AT</strong>S0AE=1:password<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 />

The data is written to S-register number XX and if<br />

applicable stored in non-volatile memory. The data<br />

format for each individual S Register is given in the<br />

S-Register description.<br />

represents the error code explained in<br />

section 3.<br />

For all 16- and 32-bit registers individual bits can<br />

also be set or cleared by specifying the bit using<br />

hexadecimal [x[x]] and setting it to either 0 or 1.<br />

SW release R300 ●<br />

©2012 Telegesis (UK) Ltd - 15 - <strong>AT</strong> <strong>Command</strong> <strong>Manual</strong> (Rev 3.08)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!