Smart Machine Smart Decision
SIM800 Series_Bluetooth_Application_V1.02
28
2014-06-30
1 open visibility
0 close visibility
Note
2.29.
AT+BTSPPCFG SPP configuration
AT+BTSPPCFG SPP configuration
Test Command
AT+BTSPPCFG
=?
Response
+BTSPPCFG: (list of supported <btSppCfg>s)
OK
Response
OK
Or
ERROR
Write Command
AT+BTSPPCFG
=<btSppCfg>,<m
ode>
Parameters
<btSppCfg>
“MC” Multi-connection, enable this function to make the
module support to connect double SPP’s client at the same time.
<
mode
> 0 Disable
1 Enable
2 Query
Response
Every SPP’s link has been connected as server,output:
+BTSPPCFG: S,<connectId>,<serverMode>
Every SPP’s link has been connected as client,output:
+BTSPPCFG: C,<connectId>
OK
Read Command
AT+BTSPPCFG
?
Parameters
<connectId>
connection`s ID
<serverMode>
0 AT mode
1 APP mode
Note
In AT mode, module of server can’t execute AT+BTSPPSEND and
AT+BTSPPGET commands.
In APP mode, module of server can execute AT+BTSPPSEND and
AT+BTSPPGET commands.
2.30.
AT+BTPAIRCFG Set BT pairing mode
AT+ BTPAIRCFG Set BT pairing mode
Test Command
AT+BTPAIRCF
Response
+BTPAIRCFG: (
list of supported
<mode>
s
)