如何使用XP自带超级终端及蓝牙方式与手机进行AT Command通信

本文详细介绍了如何通过蓝牙将手机与电脑连接,并提供了AT指令的具体用法,包括设备识别、发起及接听数据呼叫、断开呼叫等操作步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

首先手机与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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值