LM Technologies LM961 LM961 Bluetooth v4.1 Dual Mode Module User Manual

LM Technologies Ltd. LM961 Bluetooth v4.1 Dual Mode Module

Contents

15_LM961-0650 UserMan part2

Download: LM Technologies LM961 LM961 Bluetooth v4.1 Dual Mode Module User Manual
Mirror Download [FCC.gov]LM Technologies LM961 LM961 Bluetooth v4.1 Dual Mode Module User Manual
Document ID3890249
Application IDmlJ/fyFqm4ud886Nroxyug==
Document Description15_LM961-0650 UserMan part2
Short Term ConfidentialNo
Permanent ConfidentialNo
SupercedeNo
Document TypeUser Manual
Display FormatAdobe Acrobat PDF - pdf
Filesize324.36kB (4054456 bits)
Date Submitted2018-06-15 00:00:00
Date Available2018-06-15 00:00:00
Creation Date2018-06-14 09:07:02
Producing SoftwareAcrobat Distiller 9.3.2 (Windows)
Document Lastmod2018-06-14 09:11:58
Document Titleuntitled
Document CreatorMicrosoft® Word 2016
Document Author: Tom Cruise

TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
4.2 Module Settings commands:
4.2.1 "AT‘ADDR'MH
‘. Query only command
Address query: “AT'ADDR:?‘\r\n
iii. Address query report: “REP':ADDR=0002 5b00a5a5"
4.2.2 "AT‘NAME'Mn
i. Query and set command
Name query “AT'NAME=?'\r\n
Name query report: “REP‘:NAME=LM961_2_DelauIt“
Iv. Name set command: “AT'NAME=testname"
v. Default name: (Depends on firmware versron number)
4.2.3 "AT‘ECHO'MH
. Query and set command
Echo querw “AT'ECHO:?‘\r'\n
Echo query report; "REP':ECHO:ON" or "REP':F_CHO=OFF"
. Echo enable command: “AT'echo:on‘
v. Echo disable command:“AT'echo=oft'
vi. Default Echo: “ON"
4.2.4 "AT'RESP'MII
i. Query and set command
" Response query: “AT'RESP=?“\r\n
Response query report: “REP':RESP=ON“ or ‘REP':RESP=OFF"
Iv. Response enable command: “AT'RESP:on"
v. Response disable command: "AT'RESP=off"
vi. Default Response: “ON"
vii. When response ls ON. the module responds as “OK" or “ERR” to
every command string before sending report/response of the
command.
viii. When response is OFF. the module will not provide “OK" or "ERR”
reply to any AT command. This might not be helpful to users as the
user will not get any response if incorrect AT command strings are
entered.
ix. Below is the sequence of messages when ECHO and RESP are ON.
at'echo=?at’echo:?
OK
REP':ECHO=ON
at'resp:?at'resp:?
OK
REP'1RESP:ON
at'nanie:?at'namez?
OK
REP'2NAME2068LM_SPP_0104
© Copyright LM Technologies Ltd Page 31 of 62
www.lrn-technologies.com
TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
x. Below is the sequence of messages when ECHO ls OFF and RESP
is ON.
at'echo=offat‘echo=oit
OK
at'echo=?OK
REP':ECHO=OFF
at‘resp=?0|(
REP‘1RESP:ON
at'name=?OK
REP':NAME=068LM_SPP_O104
xi. Below is the sequence of messages when ECHO and RESP are
both off. The module will show only reports for the query
commands. The module will not show any indication messages for
connect or disconnect. This Is to ensure backwards compatibility
with LM048/LM058/LM072 module firmware.
at'resp27REP‘:RESP=OFF
at'echo:?REP‘:ECHO=OFF
at'name=?REP':NAME=068LMASPP40104
4.2.5 'ArDCOV'WAn
i Query and set command
Dlscoverable query “AT'DCOV:?"\r\n
iii. Discoverable query report: “REP':DCOV=ON" (Module
discoverable for dasslc role) or “REP':DCOV=OFF" (Module non
discoverable for classic role)
iv. Module make discoverable command: “AT'DCOV=ON"
v. Module make nondiscoverable command: "AT‘DCOV=OFF"
vi. Default discoverability : "ON"
vii. Enabling discoverability may generate further events oi incoming
pairing/connection requests.
4.2.6 "AT‘PAIR'MH
i. Query and set command
Pairable query: “AT‘PAIR=?‘\r\n
. Pairable query report: “REP':PAIR:0N" (Module is in pairable state
and will give indications to host of any incoming pairing requests)
iv. Pairdale query report: “REP':PAlR=OFF" (Module is in non-pairable
state will reject pairing request internally)
v. Module make pairable command: "AT'PAlR=ON”
vi. Module make non-pairable command: “AT'PAIR=OFF“
vii. Default Pairable: ON
viii. Enabling pair-ability may generate iurther events of incoming
pairing/connection requests.
ix. Module displays the message “lND‘:PAlR:00126i3S7215" to
indicate that the device with BT-address 00126857215 is
requesting to pair.
x. To accept the pairing request the user should respond as
"AT‘PAIR=OO126f357215.accept"\f\n.
© Copyright LM Technologies Ltd Page 32 of 62
www.lrn-technologies.com
TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
xi. To reject the pairing request user should respond as
"AT'PAIR:00126f357215.reject"\r\n.
xii. After pairing procedure is complete, module shows indication
message for success or failure of pairing
"IND‘:PAlRZOKDOlZGlBSDlS" or ‘lND‘:PAIR=ERR,00126l357215” .
4.2.7 "AT‘STATE’Mm
i. Query only command
Module state query. “AT’STATE=?”\:’\n
. Module state query report: “REP‘:STATE-DP=ON.ON" (“STATE-DP”
indicates states as D-dlscoverable ls 0N and P-Pairable is ON)
iv. Module state query report: “REP‘:STATE-DP=ON.OFF" ("STATE-DP”
indicates states as D-dlscoverable ls 0N and P-Pairable is OFF)
4.2.8 ‘AT'VER'Mn
i. Query only command
Firmware version query “AT'VER=?'\r\n
III. Firmware version query report: “REP':VER=961LM_GAPCEN_01.02'
(current firmware version major number 1. minor number 04) string
“961LM_GAPCEN" shows it is lirrnware on LM068 device with SPF
profile.
4.2.9 "AT'RESET'Mn
i. Execution only command. LM951/LM961 supports execution of two
"Reset" levels
ii. "AT'RESET=1‘\I’\n
1. Module applies soft reset, starts execution as if applied
power on—off.
2. Retains all user modified settings
3. Causes disconnection for Bluetooth connections
iii. "AT'RESETz2'\r\n
4. Module applies hard reset
5. Loads default settings for all setting types
6. Causes disconnection for Bluetooth connections
7. Deletes all the paired devices and corresponding data
4.2.10 “AT'SETTINGS'MH
i. Query only command
Module settings query. "AT'SETTlNGS=?”\r’\n
. Report for “AT'SETTINGS:?“ command is multiple line, at the end
of the report a message "REP'SETTINGS: END“ is delivered.
iv. Module settings query report varies according to DPIN setting. If
DPIN is OFF i.e. supporting to BT10. Module PIN is displayed. If
© Copyright LM Technologies Ltd Page 33 of 62
www.lm-technologies.com
TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
DPI Is ON, Le. support to BT11. then settings for Io-capablllty, MITM
are displayed.
at‘settings=?al'settlngs=?
OK
NAME=LM96LSPP+GAPCEN
-o102
ADDR=0002»5b-00a5a5
PAIR=0N
DCOV=ON
BAUD=19200(2)
STOP:Stop_One(O)
PARlTY=None(0)
FLOW=OFF
SPPRoIe=SLAVE ACON20FF
BOND=000000000000
DPIN=OFF
PIN=1234
GAP_ENABLE=OFF
VER=961LM_GAPCEN_O1,01
REP‘:5ETTINGS=END
OR
at‘settings=7at'settings=?
OK
NAME=LM96LSPP+GAPCEN
-0102
ADDR=0002»5b-00a5a5
PAIR=0N
DCOV=ON
BAUD=19200(2)
STOP=Slop~One(O)
PARlTY=None(0)
FLOW=OFF
SPPRoIe=SLAVE
ACON=OFF
BOND=OOOO»OOOOOOOO
DPIN=OFF
PIN=1234
GAP-ENABLE=ON
LE_SEC=OFF
LE_AUTO_SCAN=ON
VER=961LM_GAPCEN_01,02
REP‘:SETTINGS=END
at'settings=?at'settings=?
OK
NAME=LM96LSPP+GAPCEN
-o102
ADDR=0002»5b-00a5a5
PAIR=0N
DCOV=ON
BAUD=19200(2)
STOP:Stop_One(O)
PARITY=None(0)
FLOW=OFF
SPPRoIe=SLAVE
ACON=OFF
BOND=0000-00»000000
DPIN=ON
MlTM=OFF
IOTYPEzNOJnOul
GAP_ENABLE=OFF
VER=961LM_GAPCEN_01.01
REP':SETTINGS=END
OR
at'settings:?at‘seltings=?
O K
NAME=LM96LSPP+GAPCEN
-o102
ADDR:0002-Sb-00a5a5
PA|R=0N
DCOV=ON
BAUD=19200(2)
STOP:Stop_One(O)
PARlTY=None(O)
FLOW=OFF
SPPRcIe:SLAVE ACON=OFF
BOND=0000-00»000000
DPIN=ON
MlTM:OFF
IOTYPE=NO_|nOul
GAP_ENABLE=ON
LE_SEC=OFF
LE_AUTO_SCAN=ON
VER=961LM_GAPCEN_01.02
REP‘:5ETTINGS=END
v. Also. Module response depends on ENBGAP settings Refer
section 1.2 “Enable GAP Central role” for more details.
© Copyright LM Technologies Ltd
www‘Im-technologiescom
Page 34 of 62
TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
vi.
vii.
Actual values of PIN, MITM. lOTYPE are displayed as per the
current settings of device.
Response to the settings command varies as per the device. e.g.
for LM068/LM074 modules it includes MODEM command.
4.3 UART Settings commands:
4.3.1
iv.
vi.
“AT'BAUD‘\I’\I1
‘. Query and set command
Baud rate query: "AT'BAUD:?"\r\n
. Baud rate query report: "REP'.BAUD:19200(2)". Number in curly
brackets shows the serial number as per below table.
Baud rate set command: "AY'BAUD:3" (Set Module baud rate as
38400 bps)
Module need to not to perform power-on-off after change at baud
rate setting.
Refer below table for baud rate settings:
1 9600 1 “REP'.BAUD:9600(1)"
2 19200 2 — Default baud “REP' BAUD=19200(2)"
rate
3 38400 3 “REP'IBAUD:38400l3) ”
4 57600 4 “REP'.BAUD:57600(4)“
5 115200 5 “REP':BAUD:115200(5)"
6 230400 6 “REP'BAU Dt230400l6)“
7 460800 7 “REP':8AUD:460800(7)“
8 921600 8 “REP':BAUD:921600(8)“
9 1382400 9 "REP' BAUDt1382400(9)'
© Copyright LM Technologies Ltd Page 35 of 62
www.|m«technologies.com
TECHNOLOGIES LM961 SPP with GAP Central Application v1.1
432 “AT‘PAR"\r\n
'. Query and set command
Parity query command: "AT‘PAP:?"\r\n
. Parity query report: “REP':PARITV:None(O)" (Module uses default
parity , parity = none). Number in curly brackets shows the serial
number as per below table.
iv. Parity set command: “AT'PAR:1" (Set Module parity as odd)
v. Module need to not to perform power-on-off after change of parity
setting.
vi. Refer below table for parity settings:
1 Parity None 0 — default parity “REP':PARlTY:None(O)"
2 Parity odd 1 “REP'PARITVlOddllr
3 Parity even 2 “REP'1PARlTY:Even[2)"
4.3.3 “AT'STOP”\r\n
i. Query and set command
“ Stop bit query command: "AT'STOP:?”\r\n
iii. Stop bit query report: "REP‘.STOP:Stop,Onr_-(O)” (module uses
default stop blt as = one). Number in curly brackets shows the serial
number as per below table.
iv. Stop bit set command: “A1 ‘STOP:1" (Set module stop bit as two)
v. Module need not to perform power-on-off after change of parity
setting.
vi. Refer below table for stop blt settings:
1 Stop bit One 0 — default stop “REP':STOP:Stop,Onc-(0)"
bit
2 Stop hit two 1 “REP'STOP:Stop_Two(1J"
4.3.4 “AT'FLOW"\r\n
i. Query and set command
“ Flow control query command: "AT'FLOW:?'\r\n
iii. Flow control query report: "REP' FLOW:OFF” (module uses default
flow control OFF)
iv. Flow control set command: “AT'FLOW:ON" (Set module flow
control ON)
v, If the Lser is changing the flow control of device, after accepting
command with OK response. module shows report as
"REP'FLOW7CHANGEr IN, Progress"
vi. Module will perform reboot in changed flow control mode
© Copyright LM Technologies Ltd Page 36 of 62
www.lm«technologies.com
TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
vii. If module is in flow control OFF mode and user gives command to
make the flow control OFF, then module will respond as OK but
shall not perform reboot. Similar applies to flow control OFF setting.
4.3.5 'AT‘CTS'\I\n:
i. Query command
CTS query command: “AT'CTS:?"\I\n
III. CTS query report: module will report the actual status of CTS line
e.g. “REP':CTS:OFF" or "REP‘LCTS:OFF".
iv. CTS line cannot be set/reset.
v. This command is applicable for LM074 module and LM068 adapter.
4.3.6 'AT'DSR“\r\n:
i. Query command
DSR query command: "AT'DSRfl‘Mn
III. DSR query report: module will report the actual status of DSR line
e.g. “REP':DSR:OFF” or "REP‘:DSR:OFF".
iv. DSR line cannot be set/reset.
v. This command is applicable for LM074 module and LM068 adapter.
4.3.7 'AT'RTS“\1\n:
i. Set only command
ii. RTS line set/reset command: “AT‘RTS:ON'\r\n or
"AT‘RTS:OFF"\r\n.
RTS line cannot be querled.
IV. This command is applicable lor LM074 module and LM068 adapter.
4.3.8 "AT‘DTR’mn:
i. Set only command
ii. DTR line setlreset command: “AT’DTR:ON"\r\n or
‘AT‘DTR=OFF"\r\n.
iii. DTR line cannot be queried.
iv. This command is applicable for LM074 module and LM068 adapter,
4.3.9 “AT‘MODEM’Mn:
i. Query and set command
MODEM query command: “AT'MODEM:?”\r\n
III. MODEM query report: "R'EFWMODEMWONE~ (module uses default
MODEM settings as “none')
iv. MODEM set command: ‘AT'MODEM=LOCAL' or
"AT'MODEM=Remote".
v. Refer below table for MODEM settings:
1 None Default setting
© Copyright LM Technologies Ltd Page 37 of 62
www.lm«technologies.com
[M TECHNOLOGIES LM961 spp with GAP Central Application v1.1
2 Local LMOGB/LM074 uses RTSICTS
and DTR/DSR in Ioopback mode
3 Remote When LMOSBILMO74 is
connected to remote devlce,
LM068/LM074 sends RTS IDTR
line status to remote device and
receives CTSIDSR line status
from remote device
vi. Modem settings LOCAL and REMOTE are followed when Flow-
control is off.
vii. MODEM command is applicable for LM074 module and LM068
adapter.
4.4 Bluemoottr Security Settings commands:
4.4.1 “AT‘PINWAn
‘. Query and set command
PIN query command: “AT'PIN=?"\r\n
. PIN query report: “REP':PIN:1234" (module uses default PIN as
1234)
iv. PIN set command: "AT'PIN200112233‘ or “AT'PlN=Abcd”,
v. Maximum PIN length supported is as per BT2.‘I standard Le. 16
bytes. PIN string can be numeric only, alpha only. or alpha numeric.
vi. Examples for valid PIN set commands:
"AT'PIN100112233445566778“ or "AT‘PIN:001122aaBBchDeef‘
4.4.2 'AY‘DPIN'Mn
i. Query and set command
Dynamic PIN query command: "AT'DPIN=?"\r\n
. Dynamic PIN query report: “REP',DP|N=OFF" (module uses default
DPIN as off)
iv. Dynamic PIN set enable or disable command: “AT'DPIN:ON" or
"AT'DPIN20it"
v. When module has DPIN setting as OFF, Module uses a fixed PIN
provided default as 1234,
vi. When module has DPIN setting as ON, module expects the
dynamic PIN from customer as per the MITM and IQType settings.
vii. For further on BT2.1 pairing and MITM, DPIN, PASSKEY messages
refer 'LM951/LM961 Pairing document".
4.4.3 'AY‘MI'I’M'VW
i. Query and set command
(Man IN The Middle) MITM query command:“AT'M|TM=?'\r\n
. MITM query report: “REP':MI‘M=OFF" (module uses default MITM
as off)
© Copyright LM Technologies Ltd Page 38 of 62
wwwtlm-technologiescom
TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
iv. MITM set enable or disable command: "AT‘MITM=ON" or
“AT'MITMIOW'.
4.4.4 “AT'IOTYPE"\r\n
i. Query and set command
ii. (Input Output type for Dynamic PIN) lOTYPE query command:
“AT'iOTYPE:?”\r\n
iii. IOTYPE query report: “REP':IOTYPE:NO_InOut” (module uses
default iOTYPE as “no input output")
iv. IOTYPE modify command: “AT‘IOTYPEKB, ONLY" or
"AT‘IOTYPE:kB,OnLy".
v, Following lO-types are supported:
1 No input NO_anut at'lotype=no_inout REP':IOTYPE=NO_InOut
output
2 Key Board KB_0nly at'lotype=Kb_0nLy REP':IOTYPE=KB_Only
only
3 Displayonly Disp_Only at'iotwe=DlSP_only REP':IOTYPE= isp_0nlL
4 Displayand Disp_YN at'iotype=DlSP_YN REP':IOTYPE=Disp_YN
confirmation
forYes/No
4.4.5 “AT'DEL'Mn
. Execution only command.
User issues this command to delete the device from its paired list.
DEL command: "AT'del¢00126l357215"\r\n
‘ . “OK" response will be provided if the string entered has valid BT
address. Module deletes the device from its pairing list.
v, “Err“ response will be provided if invalid BT address. invalid length
of address is provided.
vi. ll device is deleted form the pairing list, Module will follow pairing
procedure before getting connected with the device.
4.4.6 “AY'PASSKEYWfln
i. Execution only command.
ii. When the module has DPIN=ON. MITM=0N and IOTYPE as
Keyboard Only, in pairing procedure module gives indication
“lND‘:PASSK:?".
iii. User shall provide the pass key in following format:
"AT‘PASSKEY:1234"\r\n .
© Copyright LM Technologies Ltd Page 39 of 62
www.lm«technologies.com
TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
iv. Any integer within the range uint32 ls considered as valid Passkey.
4.4.7 'AT'PASSCFM'Mn
i. Execution only command.
ii. When the module has DPIN=ON. MITM=0N and IOTYPE as
DISPLAY continuation Yes/No, in pairing procedure module gives
indication “IND‘:PASSK:xxxxxx“.
iii. User shall provide the confirmation for pass key in following format:
"at'passclm200126i357215.Yes“\r\n or
"at'passclm200126i357215.no'\r\n
4.4.8 'AT'STOPPNR'Mn
'. Execution only command.
Used to stop the pairing procedure for a device.
. Once the module starts pairing procedure, the stack completes the
procedure within maximum 90 seconds. User can stop the pairing
procedure within this time.
iv. Issue command to stop the pairing procedure with the BT address
of the peer device eg. “AT'stoppair:001261357215"
4.4.9 'AT'PARUST'M'I
‘. Query only command.
Pairlist query command: “AT'PAIRLIST=?"\r\n
. Pairlist report may be multiple line it module is paired with more
than one device. Paired devices report is shown in following format
“REP‘:PAIRLIST=00126t357201,
REP"PAIRLIST:00126l357215.
REP“PA|RL|ST=END"
iv. Pairlist report can be multiple line, to indicate end of the report
“REP'PAIRLISTrEND” is displayed at end.
4.5 SPF Related commands:
4.5.1 "AT'FIND'MII
Execution only command.
Used to start the discovery of Bluetooth devices nearby.
Start discovery command format is "AT'FIND>ON"\r\n
. Stop discovery of Bluetooth devices by command
"AT'FIND=Oil"\r\n.
v. Module shows discovered devices with their name and addresses.
Each device ls reported as soon as it is discovered.
vi. Report for each device is sent with new line. To indicate the end of
the discovery report, “REP':FIND=END" message Is shown.
vii. Ii module did not get reply to nam query of remote device it will
display NULL in name string (e.g. row 3 in below report).
viii. Example report for discovery
"at'lind:onat‘lind:on
© Copyright LM Technologies Ltd Page 40 of 62
wwam-technologiescom
TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
OK
REP"FIND:Stan..
:10002A5bAOOaSaS Serial Adapter
2 0026-48-819172 LMLll
: 3 4426-607da6c58 NULL
: 4 4c49A03A68b246 Redminote
REP':F|ND_END: 4 dewces found.“
4.5.2 “AT'ROLE"\r\n
i. Query and Set command.
Query command = "AT'ROLE:?“\i\n
. Report for SPP role query is “REP'.SPPRoIe:SLAVE‘\r\n .Delault
role is Slave mode supporting SPP incoming connections.
1 Dual role At‘role=dual REP':SPPRoIe=DUAL
( SPP Slave and
SPP master role )
2 SPP Slave Only At'role=slave REP':SPPRoIe=SLAVE
3 SPP Master only At'role=master REP':SPPRoIe=MASTER
iv. When the module is in Dual mode. it can accept incoming SPP
connection as well as initiate outgoing SPP connection whereas
module cannot accept or initiate new connection when it is already
connected to any remote device. 59. it module has established an
outgoing connection. then after terminating the outgoing
connection it can accept incoming connection.
v. In slaveonly role
1. BOND=Valld—SD-address. (e.g. BOND=0012-61-357215)
. Module will accept connection request only from bonded
device. Connection requests from other devices will be
rejected by module.
2.BOND=OOOO-OO-000000.
. Module will accept connection request from ay device.
vi. In master-only role, Refer ACON and BOND command for more
details.
vii. In any role (dual. Slave only or Master only role) module can
support only one connection at an instance.
4.5.3 “AT'ACON“\r\n
i. Query and set command.
This setting is applicable for Master only role.
Auto connect query command: "AT'ACON:?"\r\n
iv. Auto connect query report: “REP'.ACON:OFF”
v. Command to set ACON as 0N is “C\T'ACON:ON\r\n
vi. When the module is in Master-only role and ACON setting is ON,
1. BOND=VaIid-BD-address. (e.g. BOND=0012—6!—357215)
© Copyright LM Technologies Ltd Page 41 of 62
www.lm«technologies.com
TECHNOLOGIES' LM961 SPP with GAP Central Application v1.1
. If device has valid address for BOND. it keeps issuing
connection request to that device till the connection is
established,
2.BOND=OOOO—OO-000000.
- If device has BOND address as Zero, it will start discovery
of nearby Bluetooth devices and issues connection
request to first found device.
vii. When module is in Master-only role and ACON setting is OFF.
module will wait for AT command from user to initiate the
connection request (module will not accept any incoming
connection request).
4.5.4 "AT‘BOND'Mn
i. Query and set command.
ii. Set command: 'AT'BOND=00126f357215”\nn. Device will establish
connection only with remote device having BD address as
001267357215.
iii. Set command: 'AT‘BOND=OOOOOOOOOOOO”\f\n. Device will
establish connection with any device.
IV.
v. This setting is applicable for Master-only, slave-only role. When
Bond Address setting holds a valid Bluetooth address then
LMO68/LM074/LM961 will establish connection only with that
device.
vi. LM068/LM074/LM961 can be paired with maximum 8 devices and
stores the device addresses in its permanent memory (this is called
as TDL-Trusted_Devices_List or PDL-Paired_Devices_List) whereas
it can be bonded to only one device at a time whose address is
mentioned in BOND command setting.
vii. Bond device address query command:“AT'BOND:?"\r\n.
viii. Default settings is: “REP':BOND:OOOO-OO»OOOOOO".
ix. Setting for default bond device address is Zero i.e. device is not
bonded to any remote device and can accept or Issue connection
request to any remote device.
x. Command to set ACON as ON is “AT'ACONIONMn.
xi. When the module is in Master only role and ACON setting is ON.
module performs the discovery of nearby devices and tries to
connect with the first found device for SPP connection.
4.5.5 "AT‘CONN'Vin
i. Execution only command.
Supported in SPP Master-only and Dual mode.
. If module is MASTER role and ACON setting is ON, the module will
always respond to this command as "ERR” as it only issues a
© Copyright LM Technologies Ltd Page 42 of 62
wwwtim-technologiescom
TECHNOLOGIES. LM961 SPP with GAP Central Application v1.1
iv.
VI.
vii.
viii.
connection request to BOND device. or it performs discovery on its
own and attempts to connect to first device found.
User can start to initiate outgoing SPP connection.
Outgoing connection command: "AT‘conn:00126l357215“\r\n
“OK“ response will be provided if the string entered has valid BT
address, module is not connected to any device.
“Err" response will be provided if invalid BT address. invalid length
of address is provided or if the module is already in connected
state.
After module gives OK response to at+conn command. it starts the
connection procedure. Result of connection procedure is indicated
as indication message.
1. “IND':CONN_FAILURE:OO126f35721S" message is shown
to indicate the failure in connection with ED address 0012-
6f-357215.
2. “IND‘:CONNECTED:00126i3S7215" message is shown to
indicate the SPP connection is successfully established and
the devices are in connected state.
3. Once the devices are connected. LM951/LM961 is in SPF-
connected-online-data mode. Every string entered by host
on UART is treated as data and is transmitted to connected
device.
4. User can come out of this mode by entering the Escape
sequence.
4.5.6 Escap- aoqu-nco “M'
‘. Execution only command/sequence.
. Supported only in SPP-connected-online-data mode.
User issues this command to enter in SPF-connected-online-
V.
command mode.
If the user issues scape sequence in SPP-connected-onlinedata
when LED D10 is Blinking, OK response is given by module and
module enters in SPF-connected—online-command mode.
Once the module enters in SPP-connected—online-command mode.
any strings entered on UART are considered as AT commands and
are processed by module (still the module is in connected state).
In SPF-connected—online-command mode, users can query/update
module settings and start the disconnection by issuing at'drop
command.
4.5.7 "A‘I‘AUTO'Mn
iv.
Execution only command/sequence.
Supported only in SPP—connected-online—command mode.
User issues this command to enter back in SPP—connected-online—
data mode.
After entering in SPF-connected—online-data mode. any data
entered on UART is transmitted to the remote device over
Bluetooth.
© Copyright LM Technologies Ltd Page 43 of 62
www.lm-technologies.com
TECHNOLOGIES' LM961 SPP with GAP Central Application v1.1
4.5.8 'AT’DROP'Nfin
i. Execution only command.
Supported in all SPP roles (dual. master-only or slave-onM.
III. User Issues this command in SPP-connected-online
Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.6
Linearized                      : No
Author                          : Tom Cruise
Create Date                     : 2018:06:14 09:07:02+08:00
Modify Date                     : 2018:06:14 09:11:58+08:00
Has XFA                         : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:08:04
Producer                        : Acrobat Distiller 9.3.2 (Windows)
Creator Tool                    : Microsoft® Word 2016
Metadata Date                   : 2018:06:14 09:11:58+08:00
Document ID                     : uuid:70F7CC99-ACE6-4686-B0FE-18D0098B5F81
Instance ID                     : uuid:a1e046d0-6c43-4c8f-9af4-d10b7be255a9
Format                          : application/pdf
Creator                         : Tom Cruise
Title                           : untitled
Page Count                      : 32
EXIF Metadata provided by EXIF.tools
FCC ID Filing: VVXLM961

Navigation menu