User's Guide
© Copyright LM Technologies Ltd Page 11 of 70
www.lm-technologies.com
LM074 SPP with GAP Central Application v1.1
3.2 Enable GAP Central functionality:
3.2.1 “AT*ENBGAP”\r\n
i. Query and Set command.
ii. To query settings use the command “AT*ENBGAP=?” \r\n
iii. Response to the query command will be “OK”/”ERR” and report
will be “REP*:GAP_ENABLE=ON” or “REP*:GAP_ENABLE=OFF”
iv. By default, this setting is OFF i.e. the GAP Central role is disabled.
The module is only initialized for the SPP functionality.
v. To enable the GAP Central role, use the command
“AT*ENBGAP=ON”.
vi. The module will respond with OK and display the message
“Module soft-Reset..” to indicate that the module is performing a
soft reset to enable the GAP Central role.
vii. After reset, the module shows the power on sequence
“SPP+GapCentral_Message_Loop”
viii. If the module currently has ENBGAP set to OFF, and command is
issued to turn it OFF, the module shows an ERR response.
Similarly, if the current setting is ON and the command is issued
to turn it ON, the module will output an ERR response.
ix. Response of the “AT*SETTINGS=?” query command depends on
the ENBGAP setting.
x. Response of the AT*SETTINGS=? Command displays the settings
of LESEC, LE-Auto-Scan only if the ENBGAP is ON.
SPP+tral_Message_Loop
at*enbgap=?at*enbgap=?
OK
REP*:GAP_ENABLE=OFF
at*settings=?at*settings=?
OK
NAME=LM074_GAP_Central
ADDR=0002-5b-00a5a5
FLOW=OFF
SPPRole=SLAVE
ACON=OFF
BOND=0000-00-000000
DPIN=OFF
PIN=1234
GAP_ENABLE=OFF
VER=074LM_GAPCEN_01.06
REP*:SETTINGS=END
at*enbgap=offat*enbgap=off