<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Bluetooth_SIMCOM</id>
	<title>Bluetooth SIMCOM - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Bluetooth_SIMCOM"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Bluetooth_SIMCOM&amp;action=history"/>
	<updated>2026-06-04T22:43:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=Bluetooth_SIMCOM&amp;diff=20662&amp;oldid=prev</id>
		<title>Chao: /* Other Commands */</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Bluetooth_SIMCOM&amp;diff=20662&amp;oldid=prev"/>
		<updated>2018-09-16T05:56:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Other Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Bluetooth Commands ===&lt;br /&gt;
====Slave mode ====&lt;br /&gt;
[[File:2018-01-26 212825.png|400px|thumbnail|right]]&lt;br /&gt;
* 1, AT + BTPOWER = 1 / / open the Bluetooth power supply&lt;br /&gt;
Normal return &amp;quot;OK&amp;quot;, if the module Bluetooth power has been turned on, it will return ERROR.&lt;br /&gt;
* 2, AT + BTHOST? / / Query module name and address&lt;br /&gt;
return:&lt;br /&gt;
AT + BTHOST?&lt;br /&gt;
+ BTHOST: SIM800C, 38: 1c: 4a: ae: 5e: 56&lt;br /&gt;
OK&lt;br /&gt;
You can also modify the Bluetooth device name using this command&lt;br /&gt;
* 3, the phone open Bluetooth assistant APP, click on &amp;quot;connect device&amp;quot;;&lt;br /&gt;
* 4, click &amp;quot;scan new equipment&amp;quot;, wait for scanning to SIM800C;&lt;br /&gt;
* 5, click &amp;quot;SIM800C&amp;quot;, and confirm pairing;&lt;br /&gt;
* 6, the computer will receive the request of the PC serial port matching information&lt;br /&gt;
+ BTPAIRING: &amp;quot;MEIZU MX3&amp;quot;, 22: 22: f1: 6a: b7: 12,263153&lt;br /&gt;
* 7, send AT + BTPAIR = 1,1, to allow mobile phone pairing&lt;br /&gt;
Back&lt;br /&gt;
AT + BTPAIR = 1,1&lt;br /&gt;
OK&lt;br /&gt;
* 8, after the receipt of APP's successful matching and request link service&lt;br /&gt;
+ BTPAIR: 1, &amp;quot;MEIZU MX3&amp;quot;, 22: 22: f1: 6a: b7: 12&lt;br /&gt;
+ BTCONNECTING: &amp;quot;22: 22: f1: 6a: b7: 12&amp;quot;, &amp;quot;SPP&amp;quot;&lt;br /&gt;
* 9, confirm the link AT + BTACPT = 1 / / confirmation and APP to establish SPP link&lt;br /&gt;
return&lt;br /&gt;
AT + BTACPT = 1&lt;br /&gt;
OK&lt;br /&gt;
* 10, AT + BTSPPSEND / / send data&lt;br /&gt;
There are two ways to send data, fixed length and non-fixed length&lt;br /&gt;
Fixed-length mode:&lt;br /&gt;
AT + BTSPPSEND = 5 // Send 5 bytes of data&lt;br /&gt;
After receiving the symbol '&amp;gt;', enter 5 bytes of data, more than 5 bytes will be lost behind the data, only send the first 5 bytes&lt;br /&gt;
return:&lt;br /&gt;
AT + BTSPPSEND = 5&lt;br /&gt;
&amp;gt; 12345&lt;br /&gt;
SEND OK&lt;br /&gt;
Non-fixed-length mode:&lt;br /&gt;
AT + BTSPPSEND / / send data commands sent, without length&lt;br /&gt;
After receiving the symbol '&amp;gt;', enter the data you want to send, such as &amp;quot;1234567890&amp;quot;&lt;br /&gt;
After sending the data, switch to the hexadecimal send mode, send hexadecimal 1A;&lt;br /&gt;
AT + BTSPPSEND&lt;br /&gt;
&amp;gt; 1234567890&lt;br /&gt;
SEND OK&lt;br /&gt;
* 11, receive data, received the data sent to the phone module, the module will automatically report the received data, the format is as follows&lt;br /&gt;
+ BTSPPDATA: 1,5, electrodragon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Master mode: The SIM800C has only slave mode====&lt;br /&gt;
* 1, AT + BTPOWER = 1 / / open the Bluetooth power supply&lt;br /&gt;
Normal return &amp;quot;OK&amp;quot;, if the module Bluetooth power has been turned on, it will return ERROR.&lt;br /&gt;
* 2, AT + BTHOST? / / Query module name and address&lt;br /&gt;
return:&lt;br /&gt;
AT + BTHOST?&lt;br /&gt;
+ BTHOST: electrodragon, 27: a7: 2c: 90: 62: 60&lt;br /&gt;
OK&lt;br /&gt;
You can also modify the Bluetooth device name using this command&lt;br /&gt;
&lt;br /&gt;
* 3, AT + BTSCAN = 1,10 / / Bluetooth cable accessories, cable time 10S&lt;br /&gt;
return:&lt;br /&gt;
AT + BTSCAN = 1,10&lt;br /&gt;
OK&lt;br /&gt;
+ BTSCAN: 0,1, &amp;quot;MEIZU MX3&amp;quot;, 22: 22: 4e: 73: 13: 84, -45 // The retrieved device, device ID: 1&lt;br /&gt;
+ BTSCAN: 1 // Closing ends&lt;br /&gt;
Note: Here you need to wait for the return + BTSCAN: 1 to represent the end of the cable.&lt;br /&gt;
&lt;br /&gt;
* 4, AT + BTPAIR = 0,1 // active request matching set ID: 1 Bluetooth settings&lt;br /&gt;
AT + BTPAIR = 0,1&lt;br /&gt;
OK&lt;br /&gt;
+ BTPAIRING: &amp;quot;MEIZU MX3&amp;quot;, 22: 22: 4e: 73: 13: 84,573342&lt;br /&gt;
Note: when the phone will receive the matching request submitted by the module, the phone can be confirmed pairing&lt;br /&gt;
&lt;br /&gt;
* 5, AT + BTPAIR = 1,1 // response to the connection request&lt;br /&gt;
AT + BTPAIR = 1,1&lt;br /&gt;
OK&lt;br /&gt;
+ BTPAIR: 1, &amp;quot;MEIZU MX3&amp;quot;, 22: 22: 4e: 73: 13: 84&lt;br /&gt;
&lt;br /&gt;
* 6, AT + BTGETPROF = 1 / / access to paired Bluetooth devices provide services&lt;br /&gt;
return:&lt;br /&gt;
AT + BTGETPROF = 1&lt;br /&gt;
AT + BTGETPROF = 1 + BTGETPROF: 10, &amp;quot;PBAP&amp;quot;&lt;br /&gt;
+ BTGETPROF: 1, &amp;quot;A2DP (Source)&amp;quot;&lt;br /&gt;
+ BTGETPROF: 2, &amp;quot;HFP (AG)&amp;quot;&lt;br /&gt;
+ BTGETPROF: 8, &amp;quot;AVRCP (Target)&amp;quot;&lt;br /&gt;
OK&lt;br /&gt;
Note: There is no SPP service we need in the service list. To do this, first turn on the Bluetooth serial assistant of the mobile phone, open the Bluetooth assistant and retrieve the service again.&lt;br /&gt;
return:&lt;br /&gt;
AT + BTGETPROF = 1 + BTGETPROF: 10, &amp;quot;PBAP&amp;quot;&lt;br /&gt;
+ BTGETPROF: 1, &amp;quot;A2DP (Source)&amp;quot;&lt;br /&gt;
+ BTGETPROF: 2, &amp;quot;HFP (AG)&amp;quot;&lt;br /&gt;
+ BTGETPROF: 8, &amp;quot;AVRCP (Target)&amp;quot;&lt;br /&gt;
+ BTGETPROF: 4, &amp;quot;SPP&amp;quot; / / You can see the new SPP service&lt;br /&gt;
OK&lt;br /&gt;
* 7, AT + BTCONNECT = 1, 4 // the service that connects the bluetooth apparatus automatically, bluetooth ID: 1, serve 4 &amp;quot;SPP&amp;quot;&lt;br /&gt;
return:&lt;br /&gt;
AT + BTCONNECT = 1,4&lt;br /&gt;
OK&lt;br /&gt;
+ BTCONNECT: 1, &amp;quot;MEIZU MX3&amp;quot;, 22: 22: 4e: 73: 13: 84, &amp;quot;SPP&amp;quot;&lt;br /&gt;
* 8, AT + BTSPPSEND / / send data&lt;br /&gt;
There are two ways to send data, fixed length and non-fixed length&lt;br /&gt;
Fixed-length mode:&lt;br /&gt;
AT + BTSPPSEND = 5 // Send 5 bytes of data&lt;br /&gt;
After receiving the symbol '&amp;gt;', enter 5 bytes of data, more than 5 bytes will be lost behind the data, only send the first 5 bytes&lt;br /&gt;
return:&lt;br /&gt;
AT + BTSPPSEND = 5&lt;br /&gt;
&amp;gt; 12345&lt;br /&gt;
SEND OK&lt;br /&gt;
Non-fixed-length mode:&lt;br /&gt;
AT + BTSPPSEND / / send data commands sent, without length&lt;br /&gt;
After receiving the symbol '&amp;gt;', enter the data you want to send, such as &amp;quot;1234567890&amp;quot;&lt;br /&gt;
After sending the data, switch to the hexadecimal send mode, send hexadecimal 1A;&lt;br /&gt;
AT + BTSPPSEND&lt;br /&gt;
&amp;gt; 1234567890&lt;br /&gt;
SEND OK&lt;br /&gt;
&lt;br /&gt;
* 9, receive data, received the data sent to the phone module, the module will automatically report the received data, the format is as follows&lt;br /&gt;
+ BTSPPDATA: 1,5, electrodragon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category: SIMCOM]]&lt;br /&gt;
&lt;br /&gt;
[[category: Bluetooth]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>