
S
AT Command Reference
Release r02
www.stollmann.de
Page 20 of 33
LEROLE
Bluetooth Low Energy Device Role
AT syntax:
AT+LEROLE=<value>
This command configures the Bluetooth Low Energy role of the device.
Value
Description
0
Set device role to “Peripheral”
When set to “Peripheral” (default), the device advertises and accepts incoming BLE
connections. Searching for Bluetooth Low Energy devices with
LESCAN
command
is not possible.
LESLAVELAT
Slave Latency
AT syntax:
AT+LESLAVELAT=<value>
This command configures the slave latency (in connection intervals) for a Bluetooth
Low Energy connection.
Value
Description
n
=0…499
Use a slave latency of
n
connection intervals
0
Use no slave latency
LETIO
Enable Terminal I/O Service
AT syntax:
AT+LETIO=<value>
This command controls the Terminal I/O service. If set to 0 the Terminal I/O service
is disabled. To activate the change, it is necessary to store the settings (
AT&W
) and
perform a reset (
AT+RESET
).
Value
Description
0
Terminal I/O service disabled (no advertising, no characteristics)
1
Terminal I/O service enabled, security is required
2
Terminal I/O service enabled, no security required
The valid sequence to change the setting is:
AT+LETIO=1
AT&W
AT+RESET