01.02.2014 Views

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

Bluetooth Commands - 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.

Chapter 2 – AT <strong>Commands</strong><br />

Link Supervisory Timeout Command<br />

LSTO Link Supervisory Timeout<br />

The command tells the device to drop the connection if the units cannot handshake for x amount of<br />

time in seconds.<br />

Format:<br />

ATLSTO,<br />

Parameters: Time: Integer value from 2 to 41<br />

Factory Default: 4 seconds<br />

Example:<br />

Type: ATLSTO,20 // Sets timeout to approx. 20 seconds<br />

Reply: OK<br />

or<br />

ERROR<br />

Read Using; ATSI,18<br />

Note:<br />

If timeout is set to a duration that is too short, you may inadvertently drop the connection<br />

prematurely if the RF link margin is poor.<br />

Variable Storage <strong>Commands</strong><br />

STORE Store Variable<br />

This command allows user to permanently store data – ID’s, addresses, etc.<br />

Format:<br />

ATSTORE,,<br />

Parameters:<br />

Index:<br />

0 = Location 0<br />

1 = Location 1<br />

String:<br />

16 alphanumeric characters MAX<br />

EXAMPLE:<br />

TYPE: ATSTORE,0,1234567890123456<br />

REPLY: OK<br />

OR<br />

ERROR<br />

READ Read Variable<br />

This command allows user to read a stored variable.<br />

Format:<br />

ATREAD,<br />

Parameters:<br />

Index:<br />

0 = Location 0<br />

1 = Location 1<br />

Return Parameters: <br />

EXAMPLE:<br />

TYPE: ATREAD,0<br />

REPLY: OK<br />

1234567890123456<br />

Note: Nothing stored will return blank<br />

Multi-Tech Systems, Inc. SocketWireless <strong>Bluetooth</strong> AT <strong>Commands</strong> (S000360G) 47

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

Saved successfully!

Ooh no, something went wrong!