01.02.2014 Views

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Notes:<br />

• The RSSI value will be +00 if the signal is within the Golden Range.<br />

• The Golden Range min and max value is 1 and 12 respectively for the modules.<br />

• This value is the difference between the measured Received Signal Strength Indication<br />

(RSSI) and the limits of the Golden Receive Power Range (see below for definition). Any<br />

positive RSSI value returned by the Host side indicates how many dB the RSSI is above<br />

the upper limit. Any negative value indicates how many dB the RSSI is below the lower<br />

limit. A value of zero indicates that the RSSI is inside the Golden Receive Power Range.<br />

• How accurate the dB values will be depends on the <strong>Bluetooth</strong> hardware. The only<br />

requirements for the hardware are that the <strong>Bluetooth</strong> device is able to tell whether the<br />

RSSI is inside, above, or below the Golden Device Power Range.<br />

RSSIC Get RSSI Value by Channel<br />

This command gets the RSSI Value by channel number.<br />

Format:<br />

ATRSSIC,<br />

Parameters: Channel Number: 0, 1, 2, 3<br />

Return Parameters: <br />

RSSI Value is in hex, typically from -10 to +31 in integer dB value.<br />

EXAMPLE: TYPE: ATRSSIC,1<br />

REPLY: OK<br />

+00<br />

OR<br />

ERROR<br />

LQ Get Link Quality<br />

This command gets the link quality of the current connection.<br />

Format:<br />

ATLQ<br />

Return Parameters: <br />

Hex value from 0 to 255 decimal, the measure of Bit Error Rate (BER)<br />

EXAMPLE:<br />

TYPE: ATLQ<br />

REPLY: OK<br />

FF<br />

OR<br />

ERROR<br />

Note: Link Quality is a Hex value from 0-255, which represents the quality of the link between<br />

two <strong>Bluetooth</strong> devices. The higher the value, the better the link quality is. Each<br />

<strong>Bluetooth</strong> module vendor will determine how to measure the link quality. In the case for<br />

CSR, this value is a measure of BER.<br />

LQC Get Link Quality by Channel<br />

This command gets the Link Quality by channel number.<br />

Format:<br />

ATLQC,<br />

Parameters: Channel Number: 0, 1, 2, 3<br />

Return Parameters: <br />

Hex value from 0 to 255 decimal, the measure of Bit Error Rate (BER)<br />

EXAMPLE:<br />

TYPE: ATLQ,1<br />

REPLY: OK<br />

FF<br />

OR<br />

ERROR<br />

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

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

Saved successfully!

Ooh no, something went wrong!