首先手机与PC都要有蓝牙功能, 将手机与PC的蓝牙功能打开, 让PC找寻蓝牙设备, 手机接受绑定, 密码可以自己设定一个6位以上的数字.
打开"开始"->"附件"->"通信"->"超级终端", 建立一个新连接, 随意起个名字. 在使用连接方式上选择"COM 10"(为刚建立的蓝牙连接),如下图所示:
点击"连接", 使手机与PC通过蓝牙连接上. 在"拨号前终端屏幕"里输入AT 并回车, 返回OK说明连接成功, 此时即可以输入AT Command来控制手机. 如下图所示(手机为摩托罗拉新上市的VE66).
常见的一些AT Command示例(以Motorola手机为例):
1) Unit Identification
When beginning to build a communication link, a general DTE application controlling the ISU should determine
the type of ISU to which it is connected.
AT+CGMI (get manufacturer name)
Motorola
OK
AT+CGMM (get model number)
9500 Satellite Series
OK
AT+CGMR (get revision)
OK
Call processor version: INC0607
DSP version: INC0401,INC0400
NVM version: INC0400
OK
AT+CGSN (get serial number)
901063131000002
OK
2) Originating a Data Call
An example of how to make a data call is given below:
AT+CBST=6,0,1 (asynchronous modem 4800 bps and IRLP)
OK
AT+CR=1 (enable reporting)
OK
ATD1234567890 (dial remote modem)
+CR: REL ASYNC
CONNECT 9600 (call connected at DTE rate of 9600)
3) Answering a Data Call
The ISU is capable of accepting mobile terminated data calls. The following is a sequence of commands that
can be used to establish the connection.
RING (indicates arrival of call request)
ATA (manually answer the call)
CONNECT 9600 (call connected at DTE rate of 9600)
To automatically answer a call, register 0 should be set to a non-zero value.
ATS0=2
RING
CONNECT 9600 (call connected at DTE rate of 9600)
4)Disconnecting a Data Call
AT+CBST=6,0,1 (asynchronous modem 4800 bps and IRLP)
OK
AT+CR=1 (enable reporting)
OK
ATD1234567890 (dial remote modem)
+CR: REL ASYNC
CONNECT 9600 (call connected at DTE rate of 9600)
< ... data transfer ... >
<+++> (send escape sequence)
OK
ATH0 (hangup call)
OK
5) Originating and Disconnecting a Voice Call
An example of how to make and disconnect a voice call is given below:
ATD1234567890; (dial remote phone)
OK (call connected; phone stays in command mode)
< ... conversation ... >
ATH (hangup call)
OK