Smart Machine Smart Decision
SIM800 Series_Bluetooth_Application_V1.02
9
2014-06-30
Response
+BTHOST: (
1-18
)
OK
Test command
AT+BTHOST=?
Parameters
See Write Command
Response
+BTHOST: <name>, <address>
OK
Read command
AT+BTHOST?
Parameters
See Write Command
Response
OK
Write command
AT+BTHOST=<
name>
Parameters
<
name
> device name
<
address
> device address
Note
Max length of <name> is 18 bytes,and display in UTF-8 code.
2.2.
AT+BTSTATUS
Inquiry current BT device status
AT+BTSTATUS Inquiry current BT device status
Response
OK
Test Command
AT+BTSTATUS=
?
Parameters
See Read Command
Response
If unpaired before:
+BTSTATUS: <status>
If paired before but unconnected:
+BTSTATUS: <status>
P: <paired id>, <name> <address>
If paired and connected:
+BTSTATUS: <status>
P: <paired id>, <name> <address>
C: <connected id>,<name>,<address>,<profile name>
OK
Read Command
AT+BTSTATUS?
Parameters
<status>
0 Initial
1
Disactivating
2
Activating
5 Idle