User guide
the lowest significant digit equates to the value stored in S
Register 512 or 555.
Note when n=16, ATI9 will return 1.
I101 The RSSI value in dBm. If a connection does NOT exist then a value of -
32786 is returned.
A value of 0 means the RSSI is within the golden range this is quite a
large band, therefore RSSI is not always a useful indicator. Use ATI111
instead which returns the bit error rate.
I111 Returns LinkQual which in the CSR chipset is defined as BER (bit error
rate). This returns a value which is the number of bits in error out of 1
million. Hence a value of 0 is best, and larger values are worse. As the
value approaches 1000 (BER = 0.1%) it is an indication that the link is
very bad and a large number of Bluetooth packets are being lost.
For recognised values of n. All other values of n will generate an error.
Response: <cr,lf>As Appropriate<cr,lf>OK<cr,lf>
or
Response: <cr,lf>ERROR nn<cr,lf>
2.2.12 ATO {Enter Data Mode} (letter ‘o’)
Return to data mode. Assume that the module is in data mode after OK is received.
Responds with an error if there is no Bluetooth connection.
Response: <cr,lf> CONNECT 123456789012<cr,lf>
or
Response: <cr,lf>ERROR nn<cr,lf>
2.2.13 ATSn=m {Set S Register}
As with modems, the EZURiO Bluetooth module employs a concept of registers which are
used to store parameters, such as escape sequence character, inquiry delay time etc, as
listed in detail below.
The value part ‘m’ can be entered as decimal or hexadecimal. A hexadecimal value is
specified via a ‘$’ leading character. For example $1234 is a hexadecimal number.
When S register values are changed, the changes are not stored in non-volatile memory
UNTIL the AT&W command is used. Note that AT&W does not affect S registers 520 to 525
or 1000 to 1010 as they are updated in non-volatile memory when the command is
received.
Register Default Range Comment
S0 1 -1..15 Number of RING indication before automatically answering an incoming
connection. A value of 0 disables autoanswer. If -1, then autoanswer on
one RING and do NOT send RING/CONNECT response to the host. This
emulates a serial cable replacement situation
Setting values >= 0, resets S Register 504 to 0 and <0 forces 504 to 1.
If S0 <> 0 and S100 <> 0 then S0 must be < S100. If a value is entered
which violates this rule, then ERROR 29 is sent in response.
If S504 =1 then this register will return -1, regardless of the actual value
stored in non-volatile memory.
S2 0x5E 0x20..0x7E Escape sequence character. It is not ‘+’ by default as a Bluetooth serial
link can be used to connect to a mobile phone which exposes an AT
command set, which will in turn use ‘+’ as default. So if both used ‘+’
there will be confusion. 0x5e is the character ‘^’.
S12 100 40..5000 Escape sequence guard time in milliseconds, with a granularity of 20ms.
New values are rounded down to the nearest 20ms multiple
S100 15 0..15 Number of RING indications before an auto disconnection is initiated. A
value of 0 disables this feature.
If S0 <> 0 and S100 <> 0 then S0 must be < S100. If a value is entered
which violates this rule, then ERROR 29 is sent in response.
S101 $1101 0..$ffff UUID of default SPP based profile when not specified explicitly in the ATD
DSH_50003_v1v3 AT Command Reference 9 of 33