This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 1 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 2 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 3 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 4 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 5 / 122
PIML-900/1800_R01.06 Jun.2005
1 介绍
本手册描述了 TechFaith Wireless ATP 模块的硬件接口特性、应用开发参考设计、简
要 AT 命令集。
通过阅读本手册,用户可以开发自己的应用系统。
1.1 范围
请注意本手册适用于 PIML-900/1800 模块的以下软硬件版本:
硬件:P6
软件:PIML-900/1800_R01.12
1.2 参考标准和资料
[1] PIML-900/1800_R01.03 PIML-900/1800 AT Command Interface Guide
[2] ITU-T Draft new
recommendation V.25ter:
[3] GSM 07.07: Digital cellular telecommunications (Phase 2+); AT
Serial asynchronous automatic dialling and control
command set for GSM Mobile Equipment (ME)
[4] GSM 07.05: Digital cellular telecommunications (Phase 2+); Use of
Data Terminal Equipment – Data Circuit terminating
Equipment (DTE – DCE) interface for Short Message
Service (SMS) and Cell Broadcast Service (CBS)
[5] GSM 11.14: Digital cellular telecommunications system (Phase 2+);
Specification of the SIM Application Toolkit for the
Subscriber Identity Module – Mobile Equipment (SIM
– ME) interface
[6] GSM 11.11: Digital cellular telecommunications system (Phase 2+);
Specification of the Subscriber Identity Module –
Mobile Equipment (SIM – ME) interface
[7] GSM 03.38: Digital cellular telecommunications system (Phase 2+);
Alphabets and language-specific information
[8] GSM 11.10
Digital cellular telecommunications system (Phase 2);
Mobile Station (MS) conformance specification; Part
1: Conformance specification
[9] YDN 055-1997
数字蜂窝移动通信网移动台设备技术规范 YDN
055-1997 900/1800MHz TDMA
[10] YD 1032-2000
数字蜂窝通信系统电磁兼容性限值和测量方法 第
一部分:移动台及其辅助设备 YD 1032-2000
900/1800MHz TDMA
[11] GB15842-1995
移动通信设备安全要求和试验方法 GB15842-1995
[12] GB/T 15844.2-1995
移动通信调频无线电话机环境要求和试验方法
GB/T 15844.2-1995
[13] GB/T 15844.3-1995
移动通信调频无线电话机可靠性要求及试验方法
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 6 / 122
发射功率:Class 4 (2W)/(EGSM), Class 1(1W)/(1800MHz);
电源电压范围: 3.4~4.2VDC
3V SIM 卡,外部天线;
实时实钟和日历
回声消除和降噪功能
电池充电接口功能
全屏蔽
全面的外部接口
· 电源接口
· 串行口
· 两路音频接口
· SIM 卡接口
· 键盘接口
· LCD 显示器接口(不支持 AT 命令)
FR/EFR/AMR);
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 7 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 9 / 122
Power consumption in EGSM/GPRS 900 MHz mode class 10
Conditions
I
NOM
I
MAX
VBATT+ During TX bursts @ PCL5* 1.7A peak 2.0A peak
VBATT+ During RX bursts 75mA peak 80mA peak
VBATT+ Average 1RX/1TX@PCL5* 270mA 320mA
VBATT+ Average 1RX/1TX@PCL8* 180mA 200mA
VBATT+ Average GPRS Cl 10 (3Rx/2Tx) @Pcl5 540mA 640mA
VBATT+ Average GPRS Cl 10(3Rx/2Tx) @Pcl8 360mA 400mA
VBATT+
Average Idle mode 2.2mA 3mA
(*) : PCL : Power Control Level. PCL 5: 2W emission requested (Max power) PCL 8: 0.5W emission requested
Power consumption in GSM/GPRS 1800 MHz mode class 10
Conditions
I
NOM
I
MAX
VBATT+ During TX bursts @ PCL0* 1.3A peak 1.7A peak
VBATT+ During RX bursts 75mA peak 80mA peak
VBATT+ Average 1RX/1TX@PCL0* 240mA 270mA
VBATT+ Average 1RX/1TX@PCL3* 150mA 180mA
VBATT+ Average GPRS Cl 10 (3Rx/2Tx) @PCL0480mA 540mA
VBATT+ Average GPRS Cl 10 (3Rx/2Tx) @Pcl3 300mA 360mA
VBATT+ Average Idle mode 2mA 3mA
(*) : PCL : Power Control Level. PCL0 = 1W typ. PCL3 = 0.25W typ.
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 10 / 122
PIML-900/1800_R01.06 Jun.2005
3.3 串行口
PIML-900/1800 提供标准的 RS-232 串行接口,用户可以通过串行口使用 AT 命令完成
对模块的操作。串行口部分针定义具体接口线的引脚定义如下:
表 5 系统连接器上的串行口针定义
针编号 针名 针名
51 CT109/DCD1 Data Carrier
I/O
O
功能
载波监测输出
Detection
34 CT108-2/DTR1/
HOST_STAT
Data T erm inal
Ready
I
数据终端准备好
/主机状态,如指示 PDA 未启动,AT 控
制连接未激活
32 CT104/RXD1 Receive Data O
39 CT103/TXD1 Transmit Data I
数据接收
数据发送
30 CT105/RTS1 Request to SendI
37 CT106/CTS1 Clear to Send O
54 CT125/RI1 Ring Indicator O
36 CT107/DSR1 Data set ready O
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 11 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 12 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 13 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 14 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 15 / 122
PIML-900/1800_R01.06 Jun.2005
带连接器两种,长度可定做)连接到应用主板。
2.直接在 MODULE 上连接天线.
通过 MODULE 上的焊盘 Antenna Pad 连接天线。天线的匹配电路为:
3.通过电缆焊接到其他应用电路上.
将射频电缆芯焊接到 Sold Pad 上,地焊接到 GND Pad 上,也可实现 MODULE 与应用
电路的连接。
Antenna
Pad
Sold
Pad
GND Pad
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 16 / 122
PIML-900/1800_R01.06 Jun.2005
为了尽量减少射频信号在射频连接线上的损耗,必须谨慎选择射频连线。射频连接线
的插入损耗应符合以下要求:
GSM900:小于 0.5dB
DCS1800:小于 0.8dB
射频输出口的阻抗为 50 欧姆。
模块支持 GPRS Class 10 中的多时隙发射和接收要求:
最多 4 个连续接收时隙
最多 2 个连续发射时隙
一帧中最多可以同时使用 5 个时隙
表 7 模块输出功率
:
频段 最大输出功率 最小输出功率
GSM900
DCS1800
33dBm±2dB 5dBm±5dB
30dBm±2dB 0dBm±5dB
表 8 模块接收灵敏度
:
频段 最小值 典型值 最大值 单位
GSM900 -104 -106
DCS1800 -102 -104
dBm
dBm
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 17 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 18 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 19 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 20 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 21 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 22 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 23 / 122
PIML-900/1800_R01.06 Jun.2005
超级终端配置方法
可在 Windows 操作系统环境下通过超级终端用 AT 命令控制 PIML-900/1800 模块。以
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 24 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 25 / 122
PIML-900/1800_R01.06 Jun.2005
选择“确定”之后即可通过 AT 命令对模块进行控制。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 26 / 122
PIML-900/1800_R01.06 Jun.2005
4 常用 AT 命令集
为了便于用户开发,我们提供了一份常用 AT 命令集。PIML-900/1800 模块的 AT 命令
全集请参考《PIML-900/1800 AT command interface guide》。
AT 命令格式:AT 命令作首,字符<CR>结束;命令“A/”与“+++”除外。
例:AT+CGMR<CR>。
AT 命令响应:响应数据包在<CR>、<LF>中。
AT 命令执行成功,返回“OK”字符串。
AT 命令执行失败或语法错误,返回“ERROR”字符串。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 27 / 122
PIML-900/1800_R01.06 Jun.2005
Execute command
AT+GMI
Note:获得生产厂商标示。
Defined values :
Reference
GSM 07.07
4.1.3 生产厂商标示:+CGMI
描述:命令是给出生产厂商标示;
命令形式:AT+CGMI
Test command
AT+CGMI=?
Execute command
AT+CGMI
Note:获得生产厂商标示。
Defined values :
Reference
GSM 07.07
4.1.4 产品型号标识:+GMM
Possible Responses
CENTEL MODEM
OK
Note:TA 返回生产厂商标示。
Parameter
No parameter
Possible Responses
OK
Possible Responses
CENTEL MODEM
OK
Note:TA 返回生产厂商标示。
Parameter
No parameter
描述:命令用于得到支持的频段。多波段模块响应一个复合波段。
命令形式:AT+GMM
Test command
AT+GMM=?
Execute command
AT+GMM
Note:获得硬件版本
Defined values :
Reference
GSM 07.07
Possible Responses
OK
Possible Responses
MULTIBAND 900E 1800
OK
Note:TA 返回产品型号标识。
Parameter
No parameter
4.1.5 产品型号标识:+CGMM
描述:命令用于得到支持的频段。多波段产品响应一个复合波段。
命令形式:AT+CGMM
Test command
AT+CGMM=?
Execute command
AT+CGMM
Note:获得硬件版本
Defined values :
Reference
GSM 07.07
Possible Responses
OK
Possible Responses
MULTIBAND 900E 1800
OK
Note:TA 返回产品型号标识。
Parameter
No parameter
4.1.6 软件版本标识:+GMR
描述:命令用于得到修订软件版本。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 28 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 29 / 122
4.1.11 时钟管理:+CCLK
描述:命令用于对 ME 的即时时钟进行设置或获取当前的日期与时间。
命令形式:AT+ CCLK=<date and time string>
Test command
AT+ CCLK =?
Set command
AT+CCLK = "05/05/19,15:50:00"
Note:设置日期“2005-5-19”与时间
Possible Responses
OK
Possible Responses
OK
Note:日期与时间存储成功。
“15:50:00”。
Read command
AT+ CCLK?
Note:获得当前的日期与时间
Defined values :
Possible Responses
+CCLK: "05/05/19,15:50:06"
OK
Note: 当前日期是 2005-5-19;
当前时间是下午 3:50:06。
Parameter
<date and time string>:
日期与时间的字符串的形式:
“yy/MM/dd,hh:mm:ss”.
默认的日期与时间是"00/01/01,00:00:00"
Note:“ss”,“秒”只设置为“00”或不用设置。
Reference
GSM 07.07
4.1.12 重复最后的命令:A/
描述:命令是重复上一次的命令操作,且不需要回车。
命令形式:A/
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 30 / 122
PIML-900/1800_R01.06 Jun.2005
Test command
A/
Note:重复上次命令操作。
Defined values :
Reference
V.25ter
Possible Responses
OK
Parameter
No parameter
Note
4.1.13 产品序列号:+CGSN
描述:命令允许使用者获取产品的 IMEI 号(15 位)。
命令形式:AT+CGSN
Test command
AT+CGSN=?
Execute command
AT+CGSN
Note:获取 IMEI 号
AT+CGSN
Note:获取 IMEI 号
Defined values :
Reference
GSM 07.07
Possible Responses
OK
Possible Responses
012345678901234
OK
Note:从 EEPROM 中读取 IMEI 号
+CME ERROR: 22
Note:没有从 EEPROM 中发现 IMEI 号
Parameter
No parameter
4.1.14 读取电池电量:+CBC
描述:读取当前的电池电量参数。
命令形式:AT+CBC
Test command
AT+CBC=?
Read command
AT+CBC
Note:读取电池电量。
Defined values :
Reference
Possible Responses
+CBC: (0,3), (0-100)
OK
Note:电池电量支持列表。
///+CBC:显示列表(<bcs>s,< bcl>s)
Possible Responses
+CBC: 0,100
OK
Note:电池供电,电量充满。
///+CBC: <bcs>,< bcl>
Parameter
<bcs>:电池状态。
0:充电器没有插入,由电池供电。
1:充电器插入,有充电器供电。
2:有充电器但没有充电。
<bcl>:电池电量。
0:电池已没电,或 ME 未装电池。
1..100:电池电量的百分数。
Note
4.1.15 设置地址类型:+CSTA
描述:设置整型的地址类型。
命令形式:AT+CSTA=<address type value>
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 31 / 122
PIML-900/1800_R01.06 Jun.2005
Test command
AT+CSTA=?
Read command
AT+CSTA?
Note :查询当前地址类型。
Set command
AT+CSTA=145
Note :设置国际标识地址类型。
Defined values :
Reference
4.1.16 命令模式:+CMOD
描述:用于设置呼叫模式。
命令形式:AT+CMOD=<mode value>
Test command
AT+CMOD =?
Read command
AT+CMOD?
Note:读取当前的命令模式。
Set command
AT+CMOD=0
Note:设置命令模式。
Defined values :
Reference
Possible Responses
+CSTA: (129,145)
OK
Note :支持类型列表。
///+CSTA: (address type list)
Possible Responses
+CSTA: 129
OK
Possible Responses
OK
Parameter
<address type value>:
129:国内地址标识。
145:国际地址标识(号码前加“+”)。
Note
Possible Responses
+CMOD: (0)
OK
Note:支持的命令模式列表。
Possible Responses
+CMOD: 0
OK
Possible Responses
OK
Parameter
<mode value>:0 ;
Note
当前支持的命令模式值只能为 0。
4.1.17 挂断数据模式电话:+CHUP
描述:用于挂断交互数据模式的电话。
命令形式:AT+CHUP
Action command
AT+CHUP
Note:挂断电话。
Reference
Possible Responses
OK
Note
4.1.18 卡标识:+CCID
描述:命令模块读取 SIM 卡中有效的卡的标识。
命令形式:AT+CCID
Action command
AT+CCID
Note:获取卡的 ID。
Possible Responses
+CCID: “123456789AB111213141”
OK
Note:当前有效的卡的标识,是十六进制的。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 32 / 122
位
PIML-900/1800_R01.06 Jun.2005
AT+CCID?
Note:获取当前值。
Defined values :
Reference
+CCID: “123456789AB111213141”
OK
Note:结果同命令+CCID 一样。
Parameter
No parameter
Note
4.1.19 性能列表:+GCAP
描述:命令用于获取全部的性能列表。
命令形式:AT+GCAP
Action command
AT+GCAP
Note:取得性能列表
Defined values :
Reference
Possible Responses
+GCAP: +CGSM
OK
Note:支持 GSM 命令。
Parameter
No parameter
Note
4.1.20 闹钟管理:+CALA
描述:命令用于在 ME 中设置闹钟的日期与时间。
命令形式:AT+ CALA=<date and time string> (设置闹钟)
AT+CALA=“”(删除闹钟)
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 33 / 122
TA 尝试建立呼叫,如果没有检测到对方震铃:
NO CARRIER
如果已经建立连接但对方没有应答:
NO ANSWER
如果对方在通话或者对方挂断电话:
BUSY
如果无法建立连接:
NO CARRIER
当连接成功:
OK
OK
Note:电话接通。
Note:是 ATD[<nb>],此业务数据通话。
如果连接成功:
CONNECT<bit rate>
Note:< bit rate >为连接的波特率。
输入+++切换到命令状态,恢复到数据状态
用 ATO,断开数据传输状态用 ATH。
ATD>SM1;
Note:呼叫存储在 SIM 卡电话簿里第 1
位置的电话。
ATD>SM"6161"
Note:呼叫存储在 SIM 卡电话簿里名
Possible Responses
OK
Note:呼叫成功。
OK
Note:呼叫成功。
字是“6161”的电话。
ATD *#21#
Note:核查呼叫转移的状态。
ATD *43#
Note:设置呼叫等待功能。
ATD *#43#
Note:查询呼叫等待的状态。
Defined values :
+CCFC: 0,7
OK
OK
+CCWA: 1,1
OK
Parameter
< nb>:被呼叫的电话号码。
<mem>:电
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 34 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 35 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 36 / 122
0:选择 SPEAKER ONE 和 MICRO ONE。
1:选择 SPEAKER TWO 和 MICRO TWO。
Reference
GSM 07.07
Note
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 37 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 38 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 39 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 40 / 122
+COPS: list of supported (<stat>,long alphanumeric
<oper>,short alpha numeric <oper>s,
numeric <oper>)s,others list of supported
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 41 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 42 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 43 / 122
<lac>:两字节的Location Area Code(十六进制)。
<ci>:两字节的 Cell ID(十六进制)。
Note
4.3.4 进入 PIN :+CPIN
描述:当应用 ME 的任何功能前需要进入 ME 的密码(PIN1/PIN2/PUK1/PUK2);PIN1/PIN2
的密码长度为 4-8 位,PUK1/PUK2 的密码长度为 8 位。
命令形式:AT+CPIN=<pin>
AT+CPIN=<puk> [, <new pin>]
Test command
AT+CPIN=?
Possible Responses
OK
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 44 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 45 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 46 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 47 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 48 / 122
0: -113dBm or less。
1: -111dBm。
2-30: -109...-53dBm。
31: -51dBm or greater。
99:表示未知。
<ber>: 0 …7;误码率由低到高,99 表示未知。
Reference
07.07
Note
4.4 电话本命令
4.4.1 选择电话存储区域:+CPBS
描述:命令是选择电话存储区域。
命令形式:AT+CPBS= <storage>
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 49 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 50 / 122
NULL \00 5C 30 30 (GSM null)
‘0’ (GSM null) may cause problems for
application layers software may cause problems
for application layers software when reading
string lengths.
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 51 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 52 / 122
PIML-900/1800_R01.06 Jun.2005
Defined values :
Parameter
< alpha >: 与电话号码对应的名字。
< number >:与号码类型对应的电话号码。
< type > :号码类型。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 53 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 54 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 55 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 56 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 57 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 58 / 122
+CMGL: 6,"REC UNREAD","+8613501150674",,
"05/06/03,10:07:35+32"
d
+CMGL: 9,"REC UNREAD","+8613693302778",,
"05/06/03,10:15:49+32"
628a624b
OK
///+CMGL:
<index>,<stat>,<oa/da>,[<alpha>],[<scts>][,<tooa/toda
>,<length>]<CR><LF><data>
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 59 / 122
+CMGR: "REC UNREAD","+8613693302757",,
"05/06/03,10:13:31+32"
628a624b
OK
Note:文本方式的信息内容。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 60 / 122
PIML-900/1800_R01.06 Jun.2005
AT+CMGF=0;+CMGR=1
Note:在 PDU 方式下读取存储位置 1
的短信息。
+CMGR: 1,,133
0891683108200745F3040BA13155442525F60008506
01051521120726025901A77E5FF1A60525FD6
OK
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 61 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 62 / 122
+CMGL: 1,"STO SENT","13501150654",
ZAQX
+CMGL: 2,"STO UNSENT","13455666656",
DF
OK
+CMSS: 40
OK
Note:向号码“13501150654”手机发送信息完成。
+CMSS: 41
OK
Note:发送完成;且<oa/da>值修改为“13693308707”。
+CMGL: 1,"STO SENT","13501150654",
ZAQX
+CMGL: 2,"STO SENT","13693308707",
DF
OK
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 63 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 64 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 65 / 122
PIML-900/1800_R01.06 Jun.2005
Test command
AT+ WUSS =?
Execute command
AT+ WUSS =1
Note:设置短消息的状态为保持模式。
AT+CMGR=7
`AT+CMGR=7
AT+WUSS=0
Note:设置短消息的状态为改变模式。
AT+CMGR=7
AT+CMGR=7
Read command
AT+ WUSS?
Defined values :
Reference
07.05
Possible Responses
+WUSS: (0-1)
OK
Note:短消息改变模式。
`Possible Responses
OK
+CMTI: "SM",7
Note:收到新信息,索引位置是 7。
+CMGR: "REC UNREAD","+8613910051579",,
"05/06/03,11:38:00+00"
4e8689e3
OK
+CMGR: "REC UNREAD","+8613910051579",,
"05/06/03,11:38:00+00"
4e8689e3
OK
Note:短信息状态没有改变。
Possible Responses
OK
+CMGR: "REC UNREAD","+8613910051579",,
"05/06/03,11:38:00+00"
4e8689e3
OK
+CMGR: "REC READ","+8613910051579",,
"05/06/03,11:38:00+00"
4e8689e3
OK
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 66 / 122
PIML-900/1800_R01.06 Jun.2005
Execute command
AT+CMGL=ALL
AT+WMGO=1
Note:选择修改短消息的位置 1。
AT+CMGW=13045677654<CR>
> hello!<ctrl-Z/ESC>
Note:在指定位置 1 处重写短信息。
AT+CMGR=1
Note:读取存储位置 1 的信息。
Read command
AT+WMGO?
Note:读取当前修改短消息的位置。
Defined values :
Reference
07.05
Possible Responses
+CMGL: 1,"REC UNREAD","+8613051296347",,
"05/06/06,13:14:35+00"
F
OK
OK
+CMGL: 1,"REC UNREAD","+8613501150864",,
"05/06/06,12:45:14+32"
Z
+CMGL: 3,"STO UNSENT","13501150864",
ASWQ
OK
OK
OK
+CMGL: 1,"REC READ","+8613501150864",,
"05/06/06,12:45:14+32"
Z
+CMGL: 3,"STO SENT","13501150864",
ASWQ
OK
Defined values :
Parameter
< loc >:存储位置索引数。
<status>:短消息的新状态。(参见+CMGL 的
<stat>)。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 67 / 122
4.5.20 选择小区广播信息类型:+ CSCB
描述:命令通过 ME 选择设置接收到的小区广播信息类型;PDU 与文本两种模式下都允许
设置。
命令形式:CSCB=<mode>, [ <mids>, [ <dcss> ] ]
Test command
AT+CSCB=?
Response
+CSCB: (0,1)
OK
Read command
AT+CSCB?
Note:读取当前的小区广播信息。
Set command
AT+CSCB =0,"15-17,50,86",""
Note:设置 SMS 广播类型:15,16,
17,50,86 在任何语言的情况下。
Response
+CSCB: 0,"","0-255"
OK
Response
15-17
15-17
OK
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 68 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 69 / 122
PIML-900/1800_R01.06 Jun.2005
Test command
AT+ CCFC =?
Read command
AT+ CCFC?
Set command
AT+CCFC=0,3,13643302717
Note : 无条件转移到号码为
“13643302717”的手机上。
AT+CCFC=0,3,"+8613584943493"
Note:无条件转移到“13584943493”
手机上。
AT+CCFC=0,3,"01058238422"
Note:无条件转移到号码为“58238422”
座机上。
AT+CCFC=0,2
Note:查询无条件呼叫转移。
AT+CCFC=0,4
Note:删除所有无条件呼叫转移。
Defined values :
Reference
07.07
Response
+CCFC: (0-5)
OK
Note:返回当前支持的呼叫转移类型。
Response
+CME ERROR: 3
Note:不支持 READ 方式。
Response
OK
OK
OK
+CCFC: 1,1,"+8613584943493",145
+CCFC: 1,7,"+8613584943493",145
+CCFC: 1,2,"+8613584943493",145
OK
OK
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 70 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 71 / 122
命令形式:AT+ CCWA=<n>, [ <mode> [, <class> ] ]
Test command
AT+ CCWA =?
Response
+ CCWA: (0-1)
OK
Note:当前支持的模式。
Read command
AT+ CCWA?
Set command
AT+CCWA=1,1,1
Note:启用语音的“呼叫等待”功能。
AT+CCWA=1,2
Note:查询当前状态。
Response
+CCWA: 1
Note:当前呼叫等待的状态。
Response
OK
+CCWA: 1,7
+CCWA: 1,1
+CCWA: 1,2
OK
+CCWA: "13693302707",161,1
等待显示,
AT+CCWA=1,0,7
Note:删除所有“呼叫等待”功能。
Defined values :
OK
Note:
////+CCWA: <status> [, <class> ]
Parameter
<n>:送往 TA 的结果控制;
0: 关闭。
1: 打开。
<mode>:设置当前呼叫等待的状态;
0:为关闭,
1:为打开,
2:为查询。
<class>:呼叫等待的类型。
1: 语音
2: 数据
3: 所有
<status>:
0:未激活。
1:激活。
Reference
07.07
Note
PIML-900/1800_R01.06 Jun.2005
4.6.4 主叫线路标识限制:+CLIR
描述:控制“主叫线路标识限制”的补充业务功能。
命令形式:AT+ CLIR=<n>
Test command
AT+ CLIR =?
Response
+CLIR: (0-2)
OK
Note:返回当前支持的控制参数。
Read command
AT+ CLIR ?
Response
+CLIR: 0,0
OK
Note:当前线路的状态。
+CLIR :<n>,<m>
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 72 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 73 / 122
PIML-900/1800_R01.06 Jun.2005
所有的电话进入保留状态。
3:加入会议通话。
4: 连接另外两个电话,同时 ME(模块)与双方
都断开连接。
Reference
07.07
Note
4.6.6 当前电话列表:+CLCC
描述:返回当前的通话列表。
命令形式:AT+CLCC
Read command
AT+ CLCC
Note:查询当前通话状态。
Execute command
Response
OK
Note:没有电话状态。
Response
RING
Note:振铃。
AT+ CLCC
ATA
Note:应答。
ATD1860;
Note:呼出电话。
AT+ CLCC
+CLCC: 1,1,4,0,0,"01051228422",129
OK
Note:有呼入的电话。
+CLCC: 1,1,1,0,0,"01051228422",129
+CLCC: 2,0,0,0,0,"1860",129
OK
AT+CHLD=3
Note:将正通话的与保持连接的电话加
OK
入会议。
AT+ CLCC +CLCC: 1,1,0,0,1,"01051228422",129
+CLCC: 2,0,0,0,1,"1860",129
OK
ATD13687657546;
Note:呼出电话。
AT+ CLCC
+CLCC: 1,1,1,0,1,"01051228422",129
+CLCC: 2,0,1,0,1,"1860",129
+CLCC: 3,0,0,0,0," 13687657546",129
OK
///+CLCC : <id1>, <dir>, <stat>, <mode>, <mpty>
[,<number>, <type>[<alpha>]] [<CR><LF>
+CLCC: <id2>, <dir>, <stat>, <mode>, <mpty>
[,<number>,<type>[<alpha>]][...]]]
<CR><LF>
Defined values :
Parameter
<idx>:整型,当前电话列表索引号。 ( GSM 02.30)
<dir>: (电话方向)
0: 呼出电话。
1: 呼入电话。
<stat>: (电话状态):
0: 正通话的。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 74 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 75 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 76 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 77 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 78 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 79 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 80 / 122
PIML-900/1800_R01.06 Sep.2005
<CmdType>
2:“Get Inkey”回应。
<Result>
0: Session ended by user.
1: Response given by the user.
2: Help information required by user.
<Data> Contains the key pressed by the user.
<CmdType>
3:“Get Input”回应。
<Result>
0: Session ended by user.
1: Response given by the user.
2: Help information required by user.
<Data> Contains the string of characters
entered by the user.
<CmdType>
4:“Setup call”回应
<Result>
0: User refuses the call.
1: User accepts call.
<CmdType>
6:“Sel Item”回应
<Result>
0: Session terminated by the user
1: Item selected by the user
2: Help information required by the user
3: Return to the back item
<Data> Contains the item identifier selected by the
user
<CmdType>
11:“Setup event list” 回应
<Result>
1: Idle screen available.
2: User activity event.
<CmdType>
95:回退
<Result>
None
<Data>
None
<CmdType>
96:功能超过 ME 范围
<Result>
None
<Data>
None
<CmdType>
97:ME 不能处理当前命令
<Result>
None
<Data>
None
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 81 / 122
PIML-900/1800_R01.06 Sep.2005
Reference
GSM07.07
4.7.4 SIM 卡工具包响应:+STIN
描述:SIM 卡工具包的最后有效指示。
命令形式:AT+STIN?
Read command
AT+ STIN?
Reference
GSM 07.07
<CmdType>
98:用户没有响应
<Result>
None
<Data>
None
<CmdType>
99:用户取消
<Result>
None
<Data>
None
Note
Response
SIM 卡包最后的有效的指示。
+STIN:<CmdType>
OK
Note
4.8 GPRS 命令
4.8.1 定义 PDP context :+CGDCONT
描述:设定 PDP 移动场景参数。
命令形式:AT+CGDCONT
Test command
AT+CGDCONT=?
Response
+CGDCONT: (1-3),"IP",,,(0),(0)
OK
Note:
支持的状态列表。
+CGDCONT:(range of supported <cid>s),<PDP_type>
,,,(list of supported <d_comp>s),(list of supported
<h_comp>s)[,(list of supported <pd1>s)[,…[, (list
of supported <pdN>s)]]]
Read command
AT+CGDCONT?
Note:
查询当前所有定义的 PDP 移动
场景。
Response
+CGDCONT: 1,"IP","CMNET",0.0.0.0,0,0
+CGDCONT: 3,"IP","",0.0.0.0,0,0
OK
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 82 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 83 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 84 / 122
Reference
07.07
PIML-900/1800_R01.06 Jun.2005
3 : 延迟类3.
4 : 延迟类4.
<reliability>:指定可靠性类。
0 : 预定
1 : Up to 1000 (8 kbit/s).
2 : Up to 2000 (16 kbit/s).
3 : Up to 4000 (32 kbit/s).
4 : Up to 8000 (64 kbit/s).
5 : Up to 16000 (128 kbit/s).
6 : Up to 32000 (256 kbit/s).
7 : Up to 64000 (512 kbit/s).
8 : Up to 128000 (1024 kbit/s).
9 : Up to 256000 (2048 kbit/s).
<peak>: 指定最大处理能力。
0 : 预定
1 : Up to 1000 (8 kbit/s).
2 : Up to 2000 (16 kbit/s).
3 : Up to 4000 (32 kbit/s).
4 : Up to 8000 (64 kbit/s).
5 : Up to 16000 (128 kbit/s).
6 : Up to 32000 (256 kbit/s).
7 : Up to 64000 (512 kbit/s).
8 : Up to 128000 (1024 kbit/s).
9 : Up to 256000 (2048 kbit/s).
31 : Best effort.
<PDP_type>:指定数据包协议。 “IP”: Internet Protocol
Note
4.8.4 最小可接受的服务质量:+CGQMIN
描述:当激活的 PDP 移动场景不接受当前请求的服务质量时,MT 允许 TE 定义一个最小
可接受的服务质量。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 85 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 86 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 87 / 122
Reference
07.07
4.9.2 硬件版本的查询:+WHWV
描述:查询硬件版本。
命令形式:AT+WHWV
Set command
AT+WHWV
Note:查询硬件版本。
Reference
4.9.3 软件版本的查询:+WSSW
PIML-900/1800_R01.06 Jun.2005
0:关闭 SLEEP 功能。
1:打开 SLEEP 功能。
Note
Response
Hardware Version P6
OK
<HW version>
Note
描述:查询软件版本。
命令形式:AT+WSSW
Set command
AT+WSSW
Note:查询软件版本。
Reference
4.9.4 生产日期查询:+WDOP
描述:查询生产日期。
AT+WDOP
Set command
AT+WSSW
Note:查询生产日期。
Reference
4.9.5 指示信息:+WIND
Response
PIML R01.12
OK
<SW version>
Note
Response
Production Date (W/Y): 23/2005
OK
Note
描述:当在 SIM 卡插入和拔出,主叫设备振铃,模块开始处理 AT 命令时,通用机制会主
动发送信息指示。
命令形式:AT+WIND = < IndLevel >
Test command
AT+WIND =?
Response
+WIND: (0,4095)
OK
Note:指示信息的支持列表。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 88 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 89 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 90 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 91 / 122
PIML-900/1800_R01.06 Jun.2005
命令形式:ATZ
Set command
ATZ
Note:恢复默认设置。
Response
OK
Note:
None
4.9.12 回到在线模式:O
描述:当 ME 的数据链路已建立,且 ME 处在命令模式,用命令 ATO 可以返回到在线数据
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 92 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 93 / 122
Reference
07.07
PIML-900/1800_R01.06 Jun.2005
1 : 激活电池充电显示。
<BattLevelMax>:最大电池电量。
当达到最大时,电池被认为是充电状态,允许
的范围是[4000 ; 5000](单位是毫伏,默认的
值是4200)。
<BattLevelMin>:最小的电池电量。
当达到最小时,电池被认为是非充电状态,
此时,模块会关闭,允许的范围是[2800 ; 3800]
(单位是毫伏,默认的值是3100)。
<TPulseInCharge>:脉充充电的脉充时间间隔;
脉冲持续时间为1秒。
允许的范围是[100 ; 10000](单位是毫秒,默
认的值是100)。
<TPulseOutCharge>:当充电停止需要充电指示时,
+WBCI指示器的时间间隔。
允许的范围是[100 ; 10000],(单位是毫秒,
默认的值是5000)。
<BattIntRes>:电池内部电阻。
允许的范围是[0-255],(单位是毫欧,默认的
值是0)。
Note
当<Mode>=0/1,仅<ChargeInd>参数可以被设置;
<Mode>=2,没有其它参数设置。
<Mode>=3,所有其它参数可以被设置。
4.9.17写 IMEI 号:+WIMEI
描述:向模块的EEPROM中下载IMEI(
International Mobile Equipment Identity)。
命令形式:AT+WIMEI=< IMEI>
Test command
AT+ WIMEI =?
Read command
AT+ WIMEI?
Note:
查询 IMEI 号。
Set command
AT+WIMEI =
Note:
重新设置 IMEI 号。
Defined values :
303030303030303
Response
OK
Response
+WIMEI: 123456789012347
OK
Response
OK
Parameter
<IMEI>:
存在模块 EEPROM 中的 IMEI 号,它是模块的标识。
Reference
07.07
Note
4.9.18模拟数字信号转换:+ADC
描述:获取 ADC A、ADC B 和可能的 ADC C 的值。
命令形式:AT+ADC= <mode>
Test command
AT+ ADC =?
Note:
支持的可能模式值。
Response
+ADC: (0-1)
OK
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 94 / 122
PIML-900/1800_R01.06 Sep.2005
Read command
AT+ ADC?
Set command
AT+ ADC=1
Note:设置三通道查询模式。
AT+ ADC?
Defined values :
Reference
07.07
Response
+ADC: 763,26
OK
Note:当前的二通道模拟数字转换值。
////+ADC: <ADCValA>,<ADCValB>[,<ADCValC>]
Response
OK
+ADC: 758,25,102
OK
Note:当前值 ADC 值为 758mV,模块内温度是 25 度。
Parameter
<mode>:
0 : 选择两通道转换模式。
1 : 选择三通道转换模式。
<ADCValA>:
ADC A 值:在模式0和1时显示,输出为ADC
PIN 采集的电压值,范围是0-2v; (单位:毫伏)。
<ADCValB>:
ADC B 值, 在模式0和1时显示,输出为板内温度值,(单位:摄氏度)。
<ADCValC>:
ADC C 值, 在模式 1 时显示。(保留)
Note
4.9.19 避免电话簿初始化:+WAIP
描述:在启动程序期间禁止电话簿初始化。
命令形式:AT+WAIP= <mode>
Test command
AT+ WAIP =?
Response
+WAIP : (0,1)
OK
Read command
AT+ WAIP?
Response
+WAIP: 0
OK
Note:取得当前的电话簿初始化模式值。
Set command
AT+ WAIP =1
Note:设置不初始化电话簿。
AT&W
Note:保存设置。
AT+CPBR=1
Note:执行电话簿命令,读位置 1 的
记录。
Response
OK
OK
+CME ERROR: 3
Note:此命令不能使用。
///当<mode>=1,保存后重启模块,没有电话簿命令;
输入命令返回“+CME ERROR: 3”。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 95 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 96 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 97 / 122
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 98 / 122
PIML-900/1800_R01.06 Sep.2005
Set command
AT+CIPSTART=”TCP”,218.246.2.150
,2020
Note:
以TCP方式连接IP地址为
“218.246.2.150”的终端机。
AT+CIPSTART=”UDP”, 18.246.2.150
,3030
Note:
以UDP方式连接IP地址为
“218.246.2.150”的终端机。
Defined values :
Reference
Response
OK
CONNECT OK
OK
CONNECT OK
Parameter
<TCP /UDP> :
指定“TCP”或“UDP”方式。
<IP_ADDRESS / DOMAIN_NAME>:
连接 SERVER 的方式可以是 IP 地址或者
已在 INTERNET 上注册过的域名。
<
PORT
>:
连接 SERVER 的端口号。
///命令正确返回 OK,错误返回 ERROR;
连接成功返回 CONNECT OK;
失败先返回 STATE 状态码,后再返
CONNECT FAIL;
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 99 / 122
PIML-900/1800_R01.06 Jun.2005
4.10.3 关闭 TCP 或 UDP 连接:+ CIPCLOSE
描述:仅是关闭 TCP 或 UDP 方式连接;但 PDP 移动场景仍在激活状态,在 GSM 网络仍
可用 CSD 方式连接。
命令形式:AT+CIPCLOSE
Action command Response
AT+ CIPCLOSE
CLOSE OK
Note:关闭成功返回。
ERROR
Note:关闭失败返回。
ReferenceNote
AT+CIPCLOSE 只有在 TCP/UDP CONNECTING
或 CONNECT OK 状态下才关闭连接,否则认为
关闭失败返回 ERROR,关闭后的状态为 IP CLOSE。
This document is the sole and exclusive property of TechFaith Wireless. Not to be distributed or
divulged without prior written agreement. Page: 100 / 122
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.