下载专区
选择支持您使用移远通信产品所需的文件
正在加载、请稍后
搜索
文件类型
产品分类
相关技术
AT命令手册
M35 AT 命令手册 GSM/GPRS 系列 版本:M35_AT 命令手册_V3.2 日期:2015-11-02 www.quectel.com M35 AT 命令手册 移远公司始终以为客户提供最及时、最全面的服务为宗旨,如需任何帮助,请随时联系我司上海总部,联 系方式如下: 上海移远通信技术有限公司 上海市徐汇区田州路 99 号 13 幢 501 室电话:+86 21 51086236 邮箱: info@quectel.com 或联系我司当地办事处,详情请登录: http://www.quectel.com/support/salesupport.aspx 如需技术支持或反馈我司技术文档中的问题,可随时登陆如下网址: http://www.quectel.com/support/techsupport.aspx Or Email: Support@quectel.com l 前言 te 移远公司提供该文档内容用以支持其客户的产品设计。客户须按照文档中提供的规范,参数来设计其产品。 c l 由于客户操作不当而造成的人身伤害或财产损失,本公司不承担任何责任。在未声明前,移远公司有权对 该文档规范进行更新。 ue tia 版权申明 本文档手册版权属于移远公司,任何人未经我公司复制转载该文档将承担法律责任。 Q en 版权所有 ©上海移远通信技术有限公司 2015,保留一切权利。 Confid Copyright © Quectel Wireless Solutions Co., Ltd. 2015 上海移远通信技术有限公司 1 / 250 M35 AT 命令手册 文档历史 修订记录 版本 1.0 1.1 1.2 1.3 1.4 日期 2011-12-22 ctel l 2012-03-27 Que entia 2012-04-08 fid 2012-07-20 Con 2013-04-17 作者 胡志琴 王靓 王靓 王靓 王靓 变更表述 初始版本 1. 更新流控简介的内容 2. 为指令 AT+QBAND 新增参数 3. 新增指令: AT+QNITZ/AT+QLTS/AT+CTZU/AT+CTZR/ AT+QLDTMF/AT+QLTONE/AT+QSPCH/AT+Q MUXC 4. 删除 FAX 相关指令 5. 删除指令: AT+QECHO/AT+QSIMDET/AT+QECHOEX/AT +QSIMSTAT/AT+QTEMP/AT+QLOCKF/AT+CR SM/AT+QDISP 为指令 AT+QLTS 新增参数日光节约时间 1. 更新指令 AT+CNUM 中的参数描述 2. 更新指令 AT+IFC 的默认值为无流控状态 1. 新增指令: AT+CRSM/AT+CSIM/AT+QCSPWD/AT+QSP N/AT+QTRPIN/AT+QENG/AT+QSCANF/AT+ QLOCKF/AT+QTONEP/AT+QTDMOD/AT+QT ONEDET/AT+QWDTMF/AT+QALARM/AT+QL EDMODE/A/ 2. 更新指令: AT+QSMSCODE/AT+QISTATE/AT+QSCLK/ AT+QRIMODE/ 1. 更新指令: AT+QMOSTAT/AT+CLCK/AT+QSPN/AT+QIP 1.5 2013-07-16 王靓 ROMPT/AT+QISERVER/AT+QISRVC/ AT+CLIP 2. 新增指令: 上海移远通信技术有限公司 2 / 250 M35 AT 命令手册 AT+QSIMDET/AT+QSIMSTAT/AT+QAUDOOP 1.6 2013-11-26 戴龙 所有指令的描述中增加最大响应时间 1. 更新 AT+CNMI 的命令描述 3.0 2014-06-30 耿晶晶 2. 更改 AT+CGSMS 的默认值 3. 更改 AT+QLOCKF 的参数范围 4. 删除 CSD 相关指令 1. 删除指令: AT+QSIMDET/AT+QSIMSTAT/AT+CSIM/AT+C ACM/AT+CAMM/AT+CAOC/AT+CPUC/AT+CC 3.1 2014-09-16 耿晶晶 WE 2. 增加 AT+QCOLP/AT+QCLIP 命令描述 3.2 CQouneficdteenl tial 2015-11-02 张后燕 3. 更新 AT+QSCLK 命令描述 4. 增加 AT+QDSIM/AT+QGSN 命令 1. 增加指令: AT+QREFUSECS/AT+QCGTIND/AT+QSIMDE T/AT+QSIMSTAT/AT+CSIM/AT+CCID 2. 更新指令: 更 新 ATH/+++/AT+CPBW/AT+COPS/AT+ CBC 命令备注说明 增加 AT+QTDMOD/AT+QSCLK/AT+QINDI 参数 更新 AT+CSCS/ AT+ICF/ AT+IFC/AT+CGQ REQ/AT+QINDI/ AT+CLIP/ AT+COLP/AT+ VTS/AT+CMUT/AT+QSIDET/AT+QLTONE/ AT+QSCLK 描述 3. 删除指令: AT+DR/AT+DS 上海移远通信技术有限公司 3 / 250 M35 AT 命令手册 目录 文档历史 ........................................................................................................................................................ 2 目录 ............................................................................................................................................................... 4 表格索引 ...................................................................................................................................................... 10 1 引言 ...................................................................................................................................................... 11 1.1. 本章概要 ................................................................................................................................ 11 1.2. AT 命令术语缩写和惯例......................................................................................................... 11 1.3. AT 命令语法 ........................................................................................................................... 11 1.3.1. AT 命令类型.................................................................................................................... 12 1.3.2. AT 命令连写.................................................................................................................... 12 2 1.4. 支持的字符集 ......................................................................................................................... 13 1.5. 流控简介 ................................................................................................................................ 13 1.5.1. 软件流控 ......................................................................................................................... 13 1.5.2. 硬件流控 ......................................................................................................................... 14 l AT 命令详解 ......................................................................................................................................... 15 te 2.1. AT 命令格式 .......................................................................................................................... 15 2.2. ATI 显示产品 ID 信息 ............................................................................................................ 15 c l 2.3. AT+GMI 请求制造商 ID 信息................................................................................................. 16 ue tia 2.4. AT+GMM 请求 TA 制造商和型号信息...................................................................................16 2.5. AT+GMR 请求 TA 软件版本信息........................................................................................... 17 2.6. AT+GOI 请求全球目标识别 ID .............................................................................................. 17 Q n 2.7. AT+CGMI 请求制造商 ID 信息 .............................................................................................. 18 2.8. AT+CGMM 请求 TA 制造商和型号信息 ................................................................................ 18 e 2.9. AT+CGMR 请求 TA 软件版本信息 ........................................................................................ 19 2.10. AT+GSN 请求 TA 序列号(IMEI) ....................................................................................... 19 fid 2.11. AT+CGSN 请求 TA 序列号(IMEI)..................................................................................... 20 2.12. AT+QGSN 请求 TA 序列号(IMEI)..................................................................................... 21 2.13. AT&F 设置所有 TA 参数为出厂配置...................................................................................... 22 n 2.14. AT&V 显示当前配置 .............................................................................................................. 22 o 2.15. AT&W 保存用户配置参数...................................................................................................... 23 2.16. ATQ 设置结果码显示模式 ..................................................................................................... 24 C 2.17. ATV 设置 TA 响应返回内容格式............................................................................................ 24 2.18. ATX 设置 CONNECT 结果码格式和检测呼叫进程 ............................................................... 25 2.19. ATZ 复位为缺省配置 ............................................................................................................. 26 2.20. AT+CFUN 设置模块功能....................................................................................................... 27 2.21. AT+QPOWD 关机 ................................................................................................................. 29 2.22. AT+CMEE 上报移动设备错误 ............................................................................................... 29 2.23. AT+CSCS 选择 TE 字符集.................................................................................................... 31 2.24. AT+GCAP 请求 TA 功能列表 ................................................................................................ 32 3 串行接口控制命令 ................................................................................................................................ 33 3.1. AT&C 设置 DCD 功能模式 .................................................................................................... 33 上海移远通信技术有限公司 4 / 250 M35 AT 命令手册 3.2. AT&D 设置 DTR 功能模式 .................................................................................................... 33 3.3. AT+ICF 设置 TE-TA 帧格式 .................................................................................................. 34 3.4. AT+IFC 设置 TE-TA 流控 ...................................................................................................... 35 3.5. AT+ILRR 设置本地速率报告 ................................................................................................. 36 3.6. AT+IPR 设置 TE-TA 波特率 .................................................................................................. 37 3.6.1. 自适应波特率.................................................................................................................. 38 3.6.1.1. 自适应波特率操作限制 ...................................................................................... 39 3.6.1.2. 自适应波特率和 MUX ........................................................................................ 39 3.6.1.3. 自适应波特率和 windows 调制解调器 ............................................................... 39 3.7. AT+CMUX 多路复用 ............................................................................................................. 39 4 状态控制命令........................................................................................................................................ 42 4.1. AT+CEER 上报移动设备错误 ............................................................................................... 42 5 4.2. 4.3. 4.4. 4.5. l 4.6. te 4.7. 4.8. c l 4.9. 4.10. ue tia 4.11. 4.12. 4.13. Q n 4.14. 4.15. e 4.16. AT+CPAS 模块活动状态 ....................................................................................................... 43 AT+QINDRI 开启关闭 RI 引脚提示 ....................................................................................... 44 AT+QMOSTAT 开启或关闭去电呼叫状态报告...................................................................... 45 AT+QREFUSECS 开启或关闭来短信和来电拒接功能 .......................................................... 46 AT+QIURC 初始化完成提示上报 .......................................................................................... 47 AT+QEXTUNSOL 开启关闭专有 URC 上报 ......................................................................... 47 AT+QINISTAT 初始化状态查询............................................................................................. 49 AT+QNSTATUS 查询 GSM 网络状态 ................................................................................... 49 AT+QNITZ 同步网络时间...................................................................................................... 50 AT+QLTS 获取最近一次的网络同步时间 .............................................................................. 51 AT+CTZU 网络时间同步以及更新 RTC 时间......................................................................... 52 AT+CTZR 网络时间同步上报................................................................................................ 53 AT+QSIMDET 开启或关闭 SIM 卡检测功能 .......................................................................... 53 AT+QSIMSTAT SIM 卡插拔状态报告 .................................................................................... 55 AT+QCGTIND 语音/数据呼叫结束提示 ................................................................................ 56 fid SIM 卡相关命令.................................................................................................................................... 58 5.1. AT+CIMI 请求国际移动台设备标识(IMSI) ........................................................................ 58 5.2. AT+CLCK 设备锁定 .............................................................................................................. 58 n 5.3. AT+CPIN 输入 PIN................................................................................................................ 60 5.4. AT+CPWD 设备锁定............................................................................................................. 62 o 5.5. AT+CRSM SIM 卡接入限制 ................................................................................................ 63 C 5.6. AT+CSIM 通用 SIM 操作 ....................................................................................................... 65 5.7. AT+QCSPWD 更改 PS 超级密码.......................................................................................... 65 5.8. AT+CCID 显示 CCID............................................................................................................. 66 5.9. AT+QCCID 显示 CCID.......................................................................................................... 67 5.10. AT+QGID 获取 SIM 卡 GID................................................................................................... 67 5.11. AT+QSIMVOL 固定 SIM 卡工作电压 .................................................................................... 68 5.12. AT+QSPN 读取 SIM 卡服务运营商名称 ............................................................................... 69 5.13. AT+QTRPIN 输入 PIN 码/PUK 码的剩余次数....................................................................... 69 5.14. AT+QDSIM 双卡单待命令切换 ............................................................................................. 70 6 网络服务命令........................................................................................................................................ 72 上海移远通信技术有限公司 5 / 250 M35 AT 命令手册 6.1. AT+COPS 选择营运商 .......................................................................................................... 72 6.2. AT+CREG 网络注册信息 ....................................................................................................... 73 6.3. AT+CSQ 信号质量 ................................................................................................................ 75 6.4. AT+CPOL 优选运营商列表 ................................................................................................... 76 6.5. AT+COPN 查询运营商列表 .................................................................................................. 77 6.6. AT+QBAND 查询运营商列表 ................................................................................................ 77 6.7. AT+QENG 开启或关闭工程模式 ........................................................................................... 78 6.8. AT+QSCANF GSM 频率功率扫描 ...................................................................................... 81 6.9. AT+QLOCKF 锁 GSM 频率 .................................................................................................. 82 7 呼叫控制命令........................................................................................................................................ 84 7.1. ATA 呼叫应答 ........................................................................................................................ 84 7.2. ATD 移动台呼叫某一号码 ..................................................................................................... 85 8 7.3. 7.4. 7.5. 7.6. l 7.7. te 7.8. 7.9. c l 7.10. 7.11. ue tia 7.12. 7.13. 7.14. Q n 7.15. 7.16. e 7.17. fid 7.18. 7.19. 7.20. ATH 挂机控制 ....................................................................................................................... 86 +++ 数据模式切换至命令模式............................................................................................... 87 ATO 命令模式切换至数据模式.............................................................................................. 87 ATP 选择脉冲拨号 ................................................................................................................ 88 ATS0 自动应答前振铃次数 ................................................................................................... 89 ATS6 盲拨号前暂停控制 ....................................................................................................... 90 ATS7 等待呼叫建立完成时间................................................................................................ 90 ATS8 暂停拨号时间 .............................................................................................................. 91 ATS10 挂机延时.................................................................................................................... 92 ATT 音频拨号 ........................................................................................................................ 92 AT+CSTA 选择地址类型 ....................................................................................................... 93 AT+CLCC 查询当前呼叫....................................................................................................... 94 AT+CR 业务上报控制 ........................................................................................................... 95 AT+CRC 蜂窝结果码 ............................................................................................................ 96 AT+CSNS 单一编码方案....................................................................................................... 97 AT+QSFR 配置语音编码模式 ............................................................................................... 98 AT+QSPCH 语音信道类型上报 ............................................................................................ 99 AT+QDISH ATH 使能控制................................................................................................. 100 n 短消息相关命令 .................................................................................................................................. 101 8.1. AT+CSMS 选择短消息业务 ................................................................................................ 101 o 8.2. AT+CMGF 配置短消息模式 ................................................................................................ 102 C 8.3. AT+CSCA 短消息服务中心地址.......................................................................................... 102 8.4. AT+CPMS 选择短消息存储器 ............................................................................................. 104 8.5. AT+CMGD 删除短消息 ....................................................................................................... 105 8.6. AT+CMGL 列出优选短消息存储器中的短消息 ................................................................... 106 8.7. AT+CMGR 读取短消息 ....................................................................................................... 109 8.8. AT+CMGS 发送短消息 ....................................................................................................... 112 8.9. AT+CMGW 写短消息 .......................................................................................................... 114 8.10. AT+CMSS 从存储器发送短消息 ......................................................................................... 115 8.11. AT+CMGC 发送短消息命令 ................................................................................................ 116 8.12. AT+CNMI 新短消息指示 ..................................................................................................... 118 上海移远通信技术有限公司 6 / 250 M35 AT 命令手册 8.13. 8.14. 8.15. 8.16. 8.17. 8.18. 8.19. 8.20. AT+CRES 恢复 SMS 设置 .................................................................................................. 120 AT+CSAS 保存 SMS 设置 .................................................................................................. 120 AT+CSCB 选择小区广播消息类型 ...................................................................................... 121 AT+CSDH 显示文本格式参数 ............................................................................................. 122 AT+CSMP 设置文本格式参数 ............................................................................................. 123 AT+QCLASS0 接收 Class0 短信存储到当前存储器 ........................................................... 124 AT+QMGDA 删除指定类型的所有短信 ............................................................................... 125 AT+QSMSCODE 配置短消息字符集 .................................................................................. 126 9 电话本相关命令 .................................................................................................................................. 128 9.1. AT+CPBS 选择电话簿存储单元.......................................................................................... 128 9.2. AT+CPBW 写删电话簿记录 ................................................................................................ 129 9.3. AT+CPBR 查询电话簿记录 ................................................................................................. 130 10 11 9.4. AT+CPBF 查找电话簿记录 ................................................................................................. 132 9.5. AT+CNUM 用户号码 ........................................................................................................... 133 GPRS 相关命令.................................................................................................................................. 134 l 10.1. AT+CGATT GPRS 附着和分离 ......................................................................................... 134 10.2. AT+CGDCONT 定义 PDP 上下文....................................................................................... 135 te 10.3. AT+CGQREQ 请求的服务质量........................................................................................... 136 10.4. AT+CGQMIN 可接受的最小服务质量 ................................................................................. 137 c l 10.5. AT+CGACT PDP 上下文激活和去激活 ............................................................................... 138 ue tia 10.6. AT+CGDATA 进入数据模式 ................................................................................................139 10.7. AT+CGPADDR 显示 PDP 地址........................................................................................... 140 10.8. AT+CGCLASS GPRS 移动台类别.................................................................................... 141 10.9. AT+CGEREP 非请求 GPRS 事件上报控制 ........................................................................ 142 Q n 10.10. AT+CGREG GPRS 网络注册状态 .................................................................................... 143 e 10.11. AT+CGSMS 为 MO SMS 选择业务 .................................................................................... 144 10.12. AT+QGPCLASS 配置 GPRS 多时隙级别........................................................................... 145 fid TCPIP 相关命令 ................................................................................................................................. 146 11.1. AT+QIOPEN 建立 TCP 连接或注册 UDP 端口号 ............................................................... 146 11.2. AT+QISEND 发送 TCP 或 UDP 数据.................................................................................. 147 n 11.3. AT+QICLOSE 关闭 TCP 或 UDP 连接 ............................................................................... 148 o 11.4. AT+QIDEACT 关闭 GPRS/CSD PDP 场景 ........................................................................ 150 11.5. AT+QILPORT 配置本地端口号 ........................................................................................... 150 C 11.6. AT+QIREGAPP 启动任务并设置接入点 APN、用户名和密码 ........................................... 151 11.7. AT+QIACT 激活移动场景(或发起 GPRS/CSD 无线连接) .............................................. 152 11.8. AT+QILOCIP 获取本地 IP 地址........................................................................................... 153 11.9. AT+QISTAT 查询当前连接状态........................................................................................... 153 11.10. AT+QISTATE 查询当前接入的连接状态 ............................................................................. 155 11.11. AT+QISSTAT 查询当前 Server 状态 ................................................................................... 156 11.12. AT+QIDNSCFG 配置域名服务器 DNS ............................................................................... 157 11.13. AT+QIDNSGIP 域名解析 .................................................................................................... 158 11.14. AT+QIDNSIP 配置使用 IP 地址连接还是域名连接 ............................................................. 159 11.15. AT+QIHEAD 配置接收数据时是否显示 IP 头...................................................................... 159 上海移远通信技术有限公司 7 / 250 M35 AT 命令手册 11.16. AT+QIAUTOS 设置自动发送 TCP/UDP 数据时间 .............................................................. 160 11.17. AT+QIPROMPT 设置发送数据时是否显示'>'和'SEND OK' .............................................. 161 11.18. AT+QISERVER 配置为服务器 ............................................................................................ 161 11.19. AT+QICSGP 设置 CSD 或 GPRS 连接模式 ....................................................................... 162 11.20. AT+QISRVC 选择当前可操作连接...................................................................................... 164 11.21. AT+QISHOWRA 配置接收数据时是否显示发送方的 IP 地址和端口号............................... 164 11.22. AT+QISCON 保存 TCPIP 应用场景配置 ............................................................................ 165 11.23. AT+QIMODE 配置 TCPIP 应用模式 ................................................................................... 167 11.24. AT+QITCFG 配置透明传输模式.......................................................................................... 167 11.25. AT+QISHOWPT 配置接收数据 IP 头是否显示传输协议..................................................... 168 11.26. AT+QIMUX 控制是否启用多路连接 .................................................................................... 169 11.27. AT+QISHOWLA 控制是否显示本地 IP 地址 ....................................................................... 170 12 13 11.28. 11.29. 11.30. 11.31. l 11.32. 11.33. te 11.34. AT+QIFGCNT 配置前置场景 .............................................................................................. 170 AT+QISACK 查询发送数据信息.......................................................................................... 171 AT+QINDI 配置是否缓存接收到的数据............................................................................... 172 AT+QIRD 读取缓存的数据 .................................................................................................. 173 AT+QISDE 控制 AT+QISEND 是否允许数据回显 .............................................................. 174 AT+QPING PING 远程服务器........................................................................................... 175 AT+QNTP 通过网络时间服务器同步本地时间.................................................................... 176 c l 补充业务命令...................................................................................................................................... 178 12.1. AT+CCFC 设置呼叫转移..................................................................................................... 178 ue tia 12.2. AT+CCUG 封闭用户组........................................................................................................180 12.3. AT+CCWA 呼叫等待 ........................................................................................................... 180 12.4. AT+CHLD 呼叫保持和多方通话.......................................................................................... 182 Q n 12.5. AT+CLIP 来电号码显示设置 ............................................................................................... 184 12.6. AT+QCLIP 配置来电是否显示主叫号码名称....................................................................... 185 e 12.7. AT+CLIR 主叫识别限制 ...................................................................................................... 186 fid 12.8. AT+COLP 显示被叫识别..................................................................................................... 187 12.9. AT+QCOLP 配置去电是否显示主叫号码名称语法 .............................................................. 189 12.10. AT+CUSD 非结构化附加业务 ............................................................................................. 190 12.11. AT+CSSN 附加业务通知..................................................................................................... 191 n 音频控制命令...................................................................................................................................... 193 o 13.1. ATL 设置监听扬声器音量 .................................................................................................... 193 C 13.2. ATM 设置监听扬声器模式................................................................................................... 193 13.3. AT+VTD 配置 DTMF 音播放时长........................................................................................ 194 13.4. AT+VTS DTMF 音调发送 .................................................................................................. 195 13.5. AT+CALM 来电警报模式..................................................................................................... 196 13.6. AT+CRSL 来电音量等级 ..................................................................................................... 197 13.7. AT+CLVL 扬声器音量等级 .................................................................................................. 197 13.8. AT+CMUT 上行静音控制 .................................................................................................... 198 13.9. AT+QSIDET 配置侧音增益等级 .......................................................................................... 199 13.10. AT+QMIC 配置麦克风增益等级 .......................................................................................... 200 13.11. AT+QLDTMF 产生本地 DTMF 音 ........................................................................................ 200 上海移远通信技术有限公司 8 / 250 M35 AT 命令手册 13.12. 13.13. 13.14. 13.15. 13.16. 13.17. 13.18. AT+QAUDCH 切换音频通道 ............................................................................................... 201 AT+QAUDLOOP 音频通道回环测试................................................................................... 202 AT+QLTONE 产生本地定制单音......................................................................................... 202 AT+QTONEP 配置 DTMF/TONE 输出路径 ......................................................................... 203 AT+QTDMOD 设置 DTMF 检测模式................................................................................... 204 AT+QTONEDET DTMF 检测 ............................................................................................... 205 AT+QWDTMF 通话中播放 DTMF 音 .................................................................................. 207 14 硬件相关命令...................................................................................................................................... 210 14.1. AT+CCLK 实时时钟 ............................................................................................................ 210 14.2. AT+QALARM 闹铃设置....................................................................................................... 211 14.3. AT+CBC 查询电池电量和充电状态..................................................................................... 212 14.4. AT+QSCLK 慢时钟配置 ...................................................................................................... 212 15 16 14.5. AT+QLEDMODE 网络指示灯配置 ...................................................................................... 213 其他命令 ............................................................................................................................................. 215 15.1. A/ 重复上一条 AT 指令........................................................................................................ 215 l 15.2. ATE 命令回显模式 .............................................................................................................. 215 15.3. ATS3 配置命令行终止符 ..................................................................................................... 216 te 15.4. ATS4 设置响应格式字符 ..................................................................................................... 216 15.5. ATS5 配置命令行编辑字符 ................................................................................................. 217 c l 15.6. AT+QRIMODE 设置 RI 时长 ............................................................................................... 218 ue tia 附录 ....................................................................................................................................................219 16.1. 参考文档 .............................................................................................................................. 219 16.2. 术语缩写 .............................................................................................................................. 219 Q n 16.3. AT&F 影响到的 AT 命令及参数............................................................................................ 220 16.4. AT&W 影响到 AT 命令参数列表........................................................................................... 222 e 16.5. ATZ 影响到的 AT 命令参数列表........................................................................................... 224 fid 16.6. AT&V 显示当前配置信息...................................................................................................... 226 16.7. AT&V 内容格式对照表 ......................................................................................................... 228 16.8. URCs 说明列表.................................................................................................................... 228 16.9. +CME ERROR 错误报告列表.............................................................................................. 231 n 16.10. +CMS ERROR 错误代码列表.............................................................................................. 234 o 16.11. 错误扩展列表 ....................................................................................................................... 236 16.11.1. Location ID 扩展错误报告列表.............................................................................. 236 C 16.11.2. 协议栈层(PS)错误列表 ..................................................................................... 237 16.11.3. MM 层内部错误列表.............................................................................................. 249 16.11.4. PPP/IP 栈错误列表 ............................................................................................... 250 上海移远通信技术有限公司 9 / 250 M35 AT 命令手册 表格索引 表 1:参考文档 ................................................................................................................................................ 219 表 2:术语缩写 ................................................................................................................................................ 219 表 3:AT&F 影响到的 AT 命令及参数 .............................................................................................................. 220 表 4:AT&W 影响到的 AT 命令参数列表 ......................................................................................................... 222 表 5:ATZ 影响到的 AT 命令参数列表 ............................................................................................................. 224 表 6:AT&V 显示当前配置信息........................................................................................................................ 226 表 7:ATV 内容格式对照表.............................................................................................................................. 228 表 8:URCS 说明列表 ..................................................................................................................................... 228 表 9:+CME ERROR 错误代码列表 ................................................................................................................ 231 表 10:+CMS ERROR 错误代码列表 .............................................................................................................. 234 表 11:LOCATION ID 扩展错误报告列表 ....................................................................................................... 236 表 12:协议栈层(PS)错误列表.................................................................................................................... 237 表 13:MM 层内部错误列表 ............................................................................................................................ 249 CQouneficdteenl tial 表 14:PPP/IP 栈错误列表.............................................................................................................................. 250 上海移远通信技术有限公司 10 / 250 M35 AT 命令手册 1 引言 1.1. 本章概要 该文档主要描述 M35 模块软件 AT 指令集及参数详解。 1.2. AT 命令术语缩写和惯例 l 文档内提及的 GSM 模块包括移动设备 ME(Mobile Equipment)、移动台 MS(Mobile Station)、终端 te 适配器 TA(Terminal Adapter)、数据通信设备 DCE(Data Communication Equipment)和传真 FAX(包 c l 括传真 Modem 和传真板)。 ue tia 通过串口发送 AT 命令,即可使用 GSM 模块。串行线终端的应用设备包括终端设备 TE(Terminal Equipment)、数据终端设备 DTE(Data Terminal Equipment)或其他应用设备。这些终端或应用设备可能 运行在嵌入式系统内。 Q n 文档内涉及到的相关名词术语缩写都是基于 GSM 规范书写。 fide 1.3. AT命令语法 n 文档内所有 AT 命令行必须以'AT'或'at'作为开头,以回车()作为结尾。 Co 返回响应通常紧随命令之后,它的样式是''()。AT 命令介绍过程中,只有被详细介绍,过程中被有意省 略了。 上海移远通信技术有限公司 11 / 250 M35 AT 命令手册 1.3.1. AT 命令类型 文档内所有 AT 命令类型有如下三种: 基础类命令:此类 AT 命令格式有'AT'或者'AT&',其中''是命令自带,''是指该 命令支持一个或多个参数。例如:'ATE',该命令用于关闭或使能回显功能,即 DCE 会依据''值决 定是否把接收的字符回显给 DTE。''是可选配参数,若没有被赋值,将使用默认值。 参数类命令:此类 AT 命令格式有'ATS=[]',其中''是 S 寄存器的索引,''是赋予的参 数值。在该 AT 命令中,''是可选配参数,若没有被赋值,将使用默认值。 扩展类命令:通常来讲,扩展类命令根据操作格式及应用功能可分为几种类型,详见 2.1. AT 命令格式。 AT 命令语法说明: 方括号([])中的值为可缺省值; l 选配参数和必配参数必须在操作的参数范围内进行设置并按规定的顺序排列,各参数间必须使用 逗号隔开; te 举例:AT+CPWD=,,,该命令用于为设备锁定 AT+CLCK 命令锁定义的 c l 设备锁定功能设置新的密码; ue tia 如果参数是字符串(例如:),则该字符串必须放在双引号中; 举例:'12345','CMNET'等,双引号中的各项符号可看作是字符串; 命令的可选子参数或 TA 返回结果的可选部分位于方括号中; Q n 不使用双引号时,字符串中各字符间的空格可忽略不计; e 实际操作中,,[]不必输入; fid 所有 AT 命令本身不区分大小写,但其参数对大小写敏感。 n 1.3.2. AT 命令连写 o 在需要连续执行多个 AT 命令时,必须等到上一条 AT 命令作了最终响应(例如:返回 OK,ERROR, C CME ERROR,CMS ERROR 等),才能继续操作下一条 AT 命令。该动作强烈建议执行。 上海移远通信技术有限公司 12 / 250 M35 AT 命令手册 1.4. 支持的字符集 GSM 模块 AT 命令接口默认使用 GSM 字符集,字符集可以通过'AT+CSCS'命令(GSM 07.07)进行 查询和配置。其支持的字符集如下: GSM UCS2 HEX IRA PCCP437 8859_1 字符集会影响短消息,广播消息的读取,编辑,发送和接收,电话簿、SIM 卡工具箱等字符串的输入 和显示。 tel 1.5. 流控简介 uec tial 要保障 GSM 模块与 DTE 之间可靠通信,流控很重要。假若一次数据或传真呼叫过程中,发送端的数 据发送速度大于接收端的数据接收速度,若接收缓存接近满时,接收端应该有方法将发送端暂停发送,直 到它的数据传输速度重新赶上发送端数据发送速度或有缓存可使用,这就是流控。 Q n 通常来讲,有两种方法来实现流控。它们是软件流控和硬件流控。M35 模块两种流控功能都支持。在 e 客户应用中,尤其多路复用(AT+CMUX)过程中,建议选择硬件流控。 fid M35 默认流控关闭。 n 1.5.1. 软件流控 Co 软件流控发送不同的字符去暂停(XOFF,十进制 19)和恢复(XON,十进制 17)数据流。它适用于 仅仅有三根线的串口通信。 M35 默认的流控关闭。软件流控需要通过下面的 AT 命令进行配置: AT+IFC=1,1 由于该配置不自动保存,若希望重启后仍保持有效,需通过 AT&W 保存到用户配置表中。同时,确保 所使用的串口通讯工具(例如:超级终端)是否支持软件流控。 上海移远通信技术有限公司 13 / 250 M35 AT 命令手册 备注 当有二进制数据发送或接收时,软件流控不应该被采用。因为 DTE 可能把二进制数据当做软件流控字符。 1.5.2. 硬件流控 M35 默认流控关闭,如果要使用硬件(RTS/CTS)流控,需要通过下面的 AT 命令进行配置: AT+IFC=2,2 该配置不支持自动保存,若希望重启后有效,则需要设置 AT+IFC=2, 2 后执行 AT&W 进行保存。 硬件流控通过 RTS/CTS 信号来实现。当接收缓存快满的时候,模块把 CTS 信号设置为无效,数据传 CQouneficdteenl tial 输被暂停。当模块的接收缓存可以接收更多数据时,CTS信号被重新设置为有效。 上海移远通信技术有限公司 14 / 250 M35 AT 命令手册 2 AT 命令详解 2.1. AT 命令格式 测试命令 AT+=? 该命令用于查询设置命令或内部程序设置的参数及其参数值范围 查询命令 设置命令 执行命令 AT+? 该命令用于查询参数的当前值 AT+= 该命令用于设置用户自定义的参数值 AT+ 该命令用于读出 GSM 模块内部程序所控制的不可变参数 ctel l 2.2. ATI 显示产品 ID 信息 ue tia 该命令用于显示产品 ID 信息,TA 上报一行或多行制造商信息及软件版本信息。 Q n 语法 e ATI 显示产品 ID 信息 执行命令 fid ATI 响应 Quectel_Ltd Quectel_M35 Revision: M35FAR01A01 Con 最大响应时间 OK 300ms 参考 V.25ter 上海移远通信技术有限公司 15 / 250 M35 AT 命令手册 2.3. AT+GMI 请求制造商 ID 信息 该命令用于请求制造商 ID 信息,TA 上报一行或多行让用户识别 TA 制造商的文本信息。 语法 AT+GMI 请求制造商 ID 信息 测试命令 响应 AT+GMI=? OK 执行命令 响应 AT+GMI Quectel_Ltd l 最大响应时间 te 参考 V.25ter Quectel_M35 Revision: MTK 0828 OK 300ms uec tial 2.4. AT+GMM 请求 TA 制造商和型号信息 Q n 该命令用于请求 TA 制造商和型号信息,TA 上报一行或多行设备制造商和型号的信息。 e 语法 fid AT+GMM 请求 TA 制造商和型号信息 测试命令 响应 n AT+GMM=? OK o 执行命令 响应 C AT+GMM Quectel_M35 最大响应时间 参考 V.25ter OK 300ms 上海移远通信技术有限公司 16 / 250 M35 AT 命令手册 2.5. AT+GMR 请求 TA 软件版本信息 该命令用于请求 TA 软件版本信息,TA 上报一行或多行软件版本信息。 语法 AT+GMR 请求 TA 软件版本信息 测试命令 响应 AT+GMR=? OK 执行命令 响应 AT+GMR Revision: M35FAR01A01 最大响应时间 参考 l V.25ter OK 300ms cte l 2.6. AT+GOI 请求全球目标识别 ID ue tia 该命令用于请求全球目标识别 ID,TA 上报一行或多行设备标识信息(该设备基于 ISO 系统注册的唯 Q n 一设备标识)。 e 语法 fid AT+GOI 请求全球目标识别 ID 测试命令 响应 AT+GOI=? OK n 执行命令 响应 o AT+GOI M35 C OK 最大响应时间 300ms 参考 V.25ter 上海移远通信技术有限公司 17 / 250 M35 AT 命令手册 2.7. AT+CGMI 请求制造商 ID 信息 该命令用于请求制造商 ID 信息,TA 上报一行或多行让用户识别 TA 制造商的文本信息。 语法 AT+CGMI 请求制造商 ID 信息 测试命令 响应 AT+CGMI=? OK 执行命令 响应 AT+CGMI Quectel_Ltd l 最大响应时间 te 参考 GSM07.07 uec tial 备注 功能同 AT+GMI。 Quectel_M35 Revision: MTK 0828 OK 300ms Q fiden 2.8. AT+CGMM 请求 TA 制造商和型号信息 该命令用于请求 TA 制造商和型号信息,TA 上报一行或多行设备制造商和型号的信息。 on 语法 C AT+CGMM 请求 TA 制造商和型号信息 测试命令 响应 AT+CGMM=? OK 执行命令 响应 AT+CGMM Quectel_M35 最大响应时间 OK 300ms 上海移远通信技术有限公司 18 / 250 参考 GSM07.07 备注 功能同 AT+GMM。 M35 AT 命令手册 2.9. AT+CGMR 请求 TA 软件版本信息 该命令用于请求 TA 软件版本信息,TA 上报一行或多行软件版本信息。 语法 l AT+CGMR 请求 TA 软件版本信息 测试命令 te AT+CGMR=? c l 执行命令 AT+CGMR 响应 OK 响应 Revision: M35FAR01A01 ue tia 最大响应时间 Q n 参考 e GSM07.07 OK 300ms fid 备注 Con 功能同 AT+GMR。 2.10. AT+GSN 请求 TA 序列号(IMEI) 该命令用于请求 TA 序列号,TA 上报 ME 设备的 IMEI 号(国际移动台设备识别码)。 上海移远通信技术有限公司 19 / 250 M35 AT 命令手册 语法 AT+GSN 请求 TA 序列号(IMEI) 测试命令 AT+GSN=? 执行命令 AT+GSN 响应 OK 响应 OK 最大响应时间 300ms 参考 GSM07.07 参数 l IMEI 号(国际移动台设备识别码) cte l 备注 ue tia 每台ME设备的序列号(IMEI)不同。 Q en 2.11. AT+CGSN 请求 TA 序列号(IMEI) fid 该命令用于请求 TA 序列号,TA 上报 ME 设备的 IMEI 号(国际移动台设备识别码)。 n 语法 o AT+CGSN 请求 TA 序列号(IMEI) C 测试命令 响应 AT+CGSN=? OK 执行命令 响应 AT+CGSN 最大响应时间 参考 GSM07.07 OK 300ms 上海移远通信技术有限公司 20 / 250 参数 IMEI 号(国际移动台设备识别码) 备注 1. 每台 ME 设备的序列号(IMEI)不同; 2. 功能同 AT+GSN。 M35 AT 命令手册 2.12. AT+QGSN 请求 TA 序列号(IMEI) 该命令用于请求 TA 序列号,TA 上报 ME 设备的 IMEI 号(国际移动台设备识别码)。 l 语法 te AT+QGSN 请求 TA 序列号(IMEI) c l 测试命令 响应 AT+QGSN=? OK ue tia 执行命令 响应 AT+QGSN +QGSN: Q en 最大响应时间 参考 fid Quectel OK 300ms n 参数 Co IMEI 号(国际移动台设备识别码) 备注 1. 每台 ME 设备的序列号(IMEI)不同; 2. 功能同 AT+GSN 和 AT+CGSN。 上海移远通信技术有限公司 21 / 250 M35 AT 命令手册 2.13. AT&F 设置所有 TA 参数为出厂配置 该命令可把 TA 部分配置当前参数设置为制造商的默认配置。所有 GPRS 相关应用参数配置不被 AT&F 影响。 语法 AT&F 设置所有 TA 参数为出厂配置 执行命令 响应 AT&F[] OK 最大响应时间 300ms 参考 V.25ter l 参数 cte l 数字参数 0 返回当前配置参数及参数值 ue tia 备注 1. 所有相关参数恢复制造商默认配置,可见表 3: AT&F 影响到的 AT 命令及参数; Q n 2. AT&F 操作影响的部分参数可以通过 AT&W 进行保存,ATZ 恢复为缺省配置; 3. 可通过 AT&W 保存 AT&F 恢复出厂默认配置,见表 4: AT&W 影响到的 AT 命令及参数; e 4. 可通过 ATZ 恢复 AT&F 部分对应参数所保存的配置,见表 5: ATZ 影响到的 AT 命令及参数; fid 5. 必须在模块处于空闲状态方可进行 AT&F 操作。 n 2.14. AT&V 显示当前配置 Co 语法 AT&V 显示当前配置 执行命令 AT&V[] 响应 ACTIVE PROFILE …(参考表 6:AT&V 显示当前配置信息) 最大响应时间 OK 300ms 上海移远通信技术有限公司 22 / 250 参考 V.25ter 参数 数字参数 0 返回当前配置参数及参数值 详情请见附录表 6。 M35 AT 命令手册 2.15. AT&W 保存用户配置参数 该命令将用户设置的一些命令参数保存到非易失性存储器内。 l 语法 te AT&W 保存用户配置参数 c l 执行命令 ue tia AT&W[] 最大响应时间 参考 Q n V.25ter 响应 OK 300ms fide 参数 0 保存到用户当前配置表内 Con 备注 1. AT&W 将用户配置在重启 TA 之后保持有效; 2. 通过 AT&F 恢复 AT&W 部分对应参数的出厂默认配置; 3. 可通过 ATZ 恢复 AT&W 部分对应参数所保存的配置; 4. 必须在模块处于空闲状态方可进行 AT&W 操作; 5. AT&W 章节列举的 AT 命令,若希望模块重启后其参数保持不变,都需要通过 AT&W 保存,而 V.25, 07.05,07.07 和 GPRS 中其他大多数 AT 命令会自动保存参数,即配置后重启参数不变。 上海移远通信技术有限公司 23 / 250 M35 AT 命令手册 2.16. ATQ 设置结果码显示模式 该命令用于设置 TA 是否向 TE 发送结果码。 语法 ATQ 设置结果码显示模式 执行命令 响应 ATQ[] 当=0,返回: OK 当=1,返回: (none) 最大响应时间 参考 V.25ter 300ms tel 参数 c l 数字参数 ue tia 0 向TE发送结果码 1 结果码被抑制,不发送结果码至 TE Q n 备注 e 1. 该设置不会影响响应内的内容; fid 2. ATQ 不带参数设置时参数默认值为 0。 n 2.17. ATV 设置 TA 响应返回内容格式 Co 该命令用于设置结果码和返回结果的传送格式(数字格式或字符格式),并设置头部和尾部的内容,这 些内容是与结果码和返回结果信息一起发送。 语法 ATV 设置 TA 响应返回内容格式 执行命令 ATV[] 响应 当=0,返回: 0 当=1,返回: 上海移远通信技术有限公司 24 / 250 M35 AT 命令手册 最大响应时间 参考 V.25ter OK 300ms 参数 0 信息返回结果: 短字符型结果码: 1 信息返回结果: 短字符型结果码: 备注 l 设置 ATV0 后,返回信息(如举例中的+CSQ: 30,0)前没有回车换行,返回的结果码 OK 变成了数字 0。 cte l 举例 ue tia ATV1 OK AT+CSQ Q n +CSQ: 30, 0 e OK fid ATV0 0 AT+CSQ +CSQ: 30, 0 on 0 C 详情请见附录表 7。 2.18. ATX 设置 CONNECT 结果码格式和检测呼叫进程 使用该命令,可设置 TA 是否向 TE 发送某一个特定的结果码。 上海移远通信技术有限公司 25 / 250 语法 ATX 设置 CONNECT 结果码格式和检测呼叫进程 执行命令 响应 ATX[] OK 最大响应时间 参考 V.25ter 300ms M35 AT 命令手册 参数 l 0 进入在线数据状态时即给定连接结果码。拨号音和遇忙检测均禁用 1 进入在线数据状态时即给定连接结果码。拨号音和遇忙检测均禁用 2 进入在线数据状态时即给定连接结果码。遇忙检测禁用,可启用拨号音 3 进入在线数据状态时即给定连接结果码。拨号音检测禁用,但可启用遇忙检测 4 进入在线数据状态时即给定连接结果码。拨号音和遇忙检测均可启用(AT&F) te 备注 c l 1. ATX 不带参数设置时参数默认值为 0; ue tia 2. AT&F 恢复出厂设置参数值为 4。 Q en 2.19. ATZ 复位为缺省配置 fid 语法 ATZ 复位为缺省配置 n 执行命令 ATZ[] Co 最大响应时间 响应 OK 300ms 参考 V.25ter 参数 0 返回当前配置参数及参数值 上海移远通信技术有限公司 26 / 250 M35 AT 命令手册 备注 1. 所有相关参数恢复制造商默认配置; 2. AT&F 操作影响的部分参数可以通过 AT&W 进行保存,ATZ 恢复为缺省配置; 3. 必须在模块处于空闲状态方可进行 ATZ 操作。 2.20. AT+CFUN 设置模块功能 该命令是用来切换模块各功能模式。可用来重启 ME 或将模块在全功能,最小功能,关闭射频电路的 接收和发送等模式切换。 语法 AT+CFUN 设置模块功能 l 测试命令 AT+CFUN=? cte l 查询命令 ue tia AT+CFUN? Q n 配置命令 AT+CFUN=[,] fide 最大响应时间 参考 n GSM07.07 Co 参数 响应 +CFUN: (取值列表), (取值列表) OK 响应 +CFUN: OK 响应 OK ERROR +CME ERROR: 15s,受网络状态影响. 0 1 4 0 1 最小功能模式 全功能模式(默认) 关闭射频电路的接收和发送功能模式 在设置功能等级后,不复位立即有效 在设置功能等级后,模块复位有效 上海移远通信技术有限公司 27 / 250 M35 AT 命令手册 备注 1. 为 1 是模块会进行复位动作,此时 GSM,GPRS 网络会注销启动后重新注册; 2. 该命令操作只能在模块处于空闲状态下操作,不然会导致其他功能操作异常。 举例 举例一:设置模块最小功能模式。该命令首先注销网络,之后取消激活 SIM 卡 AT+CFUN=0 +CPIN: NOT READY OK AT+COPS? +COPS: 0 //无网络 OK l AT+CPIN? +CME ERROR: 13 //SIM 卡读取失败 te 举例二:设置模块全功能模式。该命令首先激活 SIM 卡,之后注册网络 c l AT+CFUN=1 OK ue tia +CPIN:SIMPIN AT+CPIN=1234 Q n +CPIN: READY e OK fid AT+CPIN? +CPIN: READY n OK AT+COPS? Co +COPS: 0,0,'CHINA MOBILE' //注册上网络 OK 上海移远通信技术有限公司 28 / 250 M35 AT 命令手册 2.21. AT+QPOWD 关机 语法 AT+QPOWD 关机 配置命令 当=1 时,返回: AT+QPOWD= NORMAL POWER DOWN 当=0 时,返回: OK 最大响应时间 300ms 参考 Quectel 参数 tel 0 立即关机 1 正常关机 c l 备注 ue tia 该命令操作只能在模块处于空闲状态下操作,不然会导致其他功能操作异常。 Q en 举例 AT+QPOWD=1 fid NORMAL POWER DOWN AT+QPOWD=0 Con OK //模块正常关机提示 NORMAL POWER DOWN //模块立即关机 2.22. AT+CMEE 上报移动设备错误 该命令用于启用或禁用+CME ERROR: 或+CMS ERROR: 结果码。用于指示与 ME 功能相关的错误。 语法 AT+CMEE 上报移动设备错误 测试命令 响应 上海移远通信技术有限公司 29 / 250 M35 AT 命令手册 AT+CMEE=? +CMEE: (取值列表) 查询命令 AT+CMEE? OK 响应 +CMEE: 配置命令 OK 响应 AT+CMEE= OK ERROR +CME ERROR: 最大响应时间 300ms 参考 GSM07.07 l 参数 cte l 0 禁用结果码+CME ERROR: ,使能 ERROR 1 启用结果码+CME ERROR: ,使用数值型的取值(AT&F) 2 启用结果码+CME ERROR: ,使用详细描述的取值 ue tia 备注 Q n 详细结果码对照请参照表 9:+CME ERROR 错误代码列表和表 10:+CMS ERROR 错误代码列表。 fide 举例 AT+CMEE=0 OK n AT+CPIN=1234 o ERROR AT+CMEE=1 C OK //禁用结果码+CME ERROR: ,使能 ERROR //启用结果码+CME ERROR: ,使用数值型的取值 AT+CPIN? +CME ERROR: 10 AT+CMEE=2 //启用结果码+CME ERROR: ,使用详细描述的取值 OK AT+CPIN? +CME ERROR: SIM not inserted 上海移远通信技术有限公司 30 / 250 M35 AT 命令手册 2.23. AT+CSCS 选择 TE 字符集 该命令设置模块使用的字符集,以使用户终端能够在 TE 和 ME 的字符集之间正确转换字符串。 语法 AT+CSCS 选择 TE 字符集 测试命令 AT+CSCS=? 响应 +CSCS: (取值列表) OK 查询命令 响应 AT+CSCS l 配置命令 AT+CSCS= cte l 最大响应时间 ue tia 参考 GSM07.07 +CSCS: OK 响应 OK ERROR +CME ERROR: 300ms Q n 参数 nfide 'GSM' 'HEX' 'IRA' 'PCCP437' 'UCS2' '8859-1' GSM 默认字符集 十六进制,取值范围:00~FF 国际参考字符集 PC 字符集编码 16 位通用多字节编码字符集,字符串从 0000~FFFF ISO8859 拉丁 1 字符集 Co 备注 该命令操作只能在模块处于空闲状态下操作,不然会导致其他功能操作异常。 举例 AT+CSCS? +CSCS: 'GSM' //查询当前字符集 上海移远通信技术有限公司 31 / 250 OK AT+CSCS='UCS2' OK AT+CSCS? +CSCS: 'UCS2' OK //设置字符集为'UCS2'编码 M35 AT 命令手册 2.24. AT+GCAP 请求 TA 功能列表 语法 AT+GCAP 请求 TA 功能列表 测试命令 l AT+GCAP=? 执行命令 te AT+GCAP uec tial 最大响应时间 参考 V.25TER 响应 OK 响应 +GCAP: OK 300ms Q en 参数 Confid +CGSM 支持 GSM 功能 +FCLASS 支持 FAX 功能 上海移远通信技术有限公司 32 / 250 M35 AT 命令手册 3 串行接口控制命令 3.1. AT&C 设置 DCD 功能模式 该命令可设置 109(DCD)电路状态与远端接收线上信号检测之间的联系。 语法 AT&C 设置 DCD 功能模式 l 执行命令 AT&C[] te 最大响应时间 c l 参考 ue tia V.25ter 响应 OK 300ms 参数 Q en 0 1 DCD 线路打开 DCD 线路只在数据载波存在时打开 nfid 3.2. AT&D 设置 DTR 功能模式 Co 该命令用于在数据模式下,当 circuit108/2(DTR)从 ON 变为 OFF 状态时,TA 的响应状态。 语法 AT&D 设置 DTR 功能模式 执行命令 响应 AT&D[] OK 最大响应时间 参考 V.25ter 300ms 上海移远通信技术有限公司 33 / 250 参数 0 1 2 M35 AT 命令手册 TA 忽略 DTR 状态 DTR 由 ON 至 OFF:TA 在保持当前数据通话的同时,切换至命令模式 DTR 由 ON 至 OFF:TA 释放数据通话,切换至命令模式。当 DTR=OFF 时,为自 动应答关闭状态 3.3. AT+ICF 设置 TE-TA 帧格式 语法 AT+ICF 设置 TE-TA 帧格式 测试命令 AT+ICF=? tel 查询命令 AT+ICF? uec tial 配置命令 AT+ICF=[,parity] Q en 最大响应时间 fid 参考 V.25ter 响应 +ICF: (取值列表), (取值列表) OK 响应 +ICF: , OK 响应 OK ERROR +CME ERROR: 300ms n 参数 Co 1 8 数据位 0 奇偶校验位 2 停止位 2 8 数据位 1 奇偶校验位 1 停止位 3 8 数据位 0 奇偶校验位 1 停止位 4 7 数据位 0 奇偶校验位 2 停止位 5 7 数据位 1 奇偶校验位 1 停止位 6 7 数据位 0 奇偶校验位 1 停止位 0 奇数位 1 偶数位 3 空格 上海移远通信技术有限公司 34 / 250 备注 1. 该命令适用于命令模式; 2. 在参数中,'0 奇偶校验位'表示无奇偶校验位; 3. 若设置为无奇偶校验位,则配置被忽略。 M35 AT 命令手册 3.4. AT+IFC 设置 TE-TA 流控 在使用 V.42 差错控制的情况下,AT+IFC 可控制 DTE 和 DCE 在数据状态下的本地流控操作。 语法 AT+IFC 设置 TE-TA 流控 测试命令 l AT+IFC=? 响应 +IFC: (取值列表), (取值列表) te 查询命令 c l AT+IFC? OK 响应 +IFC: , ue tia 配置命令 Q n AT+IFC=, e 最大响应时间 fid 参考 V.25ter OK 响应 OK ERROR +CME ERROR: 300ms on 参数 C 指定 TE 接收来自 TA 数据时采用的流控方法 0 无流控(默认) 1 软件流控,不向远程 DCE 传送 DC1/DC3 字符 2 硬件流控 指定 TA 接收来自 TE 数据时采用的流控方法 0 无流控(默认) 1 软件流控 2 硬件流控 上海移远通信技术有限公司 35 / 250 备注 流量控制适用于数据模式。 M35 AT 命令手册 举例 AT+IFC=2,2 OK AT+IFC? +IFC: 2,2 //设置硬件流控 OK 3.5. AT+ILRR 设置本地速率报告 tel AT+ILRR 可设置是否从 DCE 发送中间结果码+ILRR: 到 DTE。 c l 若启用该功能,可在调制、差错控制、数据抑制报告发送之后,或最终结果码(如:CONNECT)发 送之前,发送该中间结果码。 ue tia 语法 Q n AT+ILRR 设置本地速率报告 测试命令 e AT+ILRR=? 响应 +ILRR: 取值列表 fid 查询命令 n AT+ILRR? OK 响应 +ILRR: Co 配置命令 OK 响应 AT+ILRR= OK ERROR +CME ERROR: 最大响应时间 300ms 参考 V.25ter 上海移远通信技术有限公司 36 / 250 M35 AT 命令手册 参数 0 1 禁用本地端口速率报告 启用本地端口速率报告 备注 1. 当=1 时,以下结果码会通过串口发送出来: +ILRR: 2. 为串口通讯波特率 300/1200/2400/4800/9600/14400/19200/28800/38400/57600/115200。 3.6. AT+IPR 设置 TE-TA 波特率 该命令用于设置 DTE-DCE 的波特率。在接收到其结果码后,该配置命令才生效。 tel 语法 c l AT+IPR 设置 TE-TA 波特率 测试命令 ue tia AT+IPR=? 响应 +IPR: (自适应波特率下支持的速率取值列表), ( 固定波特率下支持的速率取值列表) Q n 查询命令 e AT+IPR? OK 响应 +IPR: fid 配置命令 n AT+IPR= Co 最大响应时间 OK 响应 OK ERROR +CME ERROR: 300ms 参考 V.25ter 参数 0(自适应波特率) 75 150 上海移远通信技术有限公司 37 / 250 M35 AT 命令手册 300 600 1200 2400 4800 9600 14400 19200 28800 38400 57600 115200 备注 1. AT+IPR 默认配置为 0(自适应波特率); l 2. 若自适应波特率功能打开,TA 会自动同步上 TE 的波特率; 3. 若设置为固定波特率,需保证 TE 和 TA 所配置的波特率相同; te 4. AT+IPR 的值不受 AT&F,ATZ 影响。但是可以通过 AT&W 保存当前配置,AT&V 显示当前配 c l 置; 5. 在多路复用模式下,不可以通过 AT+IPR 配置当前串口通讯波特率,使用 AT&W 保存操作亦无效; ue tia 6. 可以通过输入'AT'字符串确认是否返回 OK 来判断配置的波特率是否有效。 举例 Q n AT+IPR=115200 e OK fid AT&W OK AT+IPR? n +IPR: 115200 Co OK //设置固定波特率为 115200 //保存配置的固定波特率,即此时模块重启后串口通讯速率为 115200 3.6.1. 自适应波特率 DTE 与 DCE 之间的同步是为了确保 DTE 与 DCE 成功同步并使 DCE(=ME)检测到 DTE 使用的波 特率。当开启模块,串口波特率设置为自适应波特率,此时输入'用的波字符串是必要的,它允许 DCE 同 步上 DTE 波特率。在发送第一个 AT 字符前最好等待 3 至 5 秒,否则将可能返回一些不确定字符。 如果需要同时使用自适应波特率和自动应答功能,可以先在激活自适应波特率时进行 DTE-DCE 同步, 然后配置自动应答模式。 上海移远通信技术有限公司 38 / 250 M35 AT 命令手册 3.6.1.1. 自适应波特率操作限制 串行接口必须工作在 8 位数据位,无奇偶校验位和 1 位停止位的出厂默认设置; 不能使用命令'A/' ; 在自适应波特率状态下,可以通过使用字符串'AT'或者'At'(而非'aT'或'at')同步波特率; 若希望 AT+IPR=0 设置在模块重启后仍然有效,需通过 AT&W 保存波特率配置; 当自适应波特率启用时,在波特率被同步以前,所有上报的 URC,如 RDY 等都不会被输出。 3.6.1.2.自适应波特率和 MUX 如果自适应波特率被启用,不建议切换到 MUX 模式。 l 3.6.1.3.自适应波特率和 windows 调制解调器 te 在建立 GPRS/CSD 拨号连接时,windows 调制解调器使用的波特率会被侦测到。但是一些 windows c l 调制解调器驱动程序在 GPRS 拨号结束后会将 TE 的波特率切换回默认值,这会导致 windows 调制解调器 接收不到响应。为了避免这种情况发生,不建议在启用自适应波特率的情况下去建立 GPRS/CSD 拨号。 ue tia 基于同样的原因,也不建议在启用自适应波特率的情况下使用 PC 端 FAX 应用程序去建立 FAX 连接, 如 WinFax。 Q en 备注 fid 为了确保 DCE 和 DTE 之间通讯的可靠性和避免由于波特率不确定导致的问题,强烈建议在开机后配置 为固定波特率并将设置保存,即如操作 AT+IPR=115200&W。 Con 3.7. AT+CMUX 多路复用 该命令用于设置 DTE-DCE 的波特率。在接收到其结果码后,该配置命令才生效。 语法 AT+CMUX 多路复用 测试命令 AT+CMUX=? 响应 +CMUX: ( 取 值 列 表 ),( 取 值 列 表),(取值列表),(取值列表),(取值列 表),(取值列表),(取值列表),(取值列表),(取 上海移远通信技术有限公司 39 / 250 M35 AT 命令手册 值列表) 查询命令 AT+CMUX? OK 响应 +CMUX:,0,5,127,10,3,30,10,2 配置命令 OK 响应 AT+CMUX=[[,[,[,[,[,[,[,[,]]]]]]]]] +CME ERROR: 最大响应时间 300ms 参考 GSM07.07 l 参数 te c l ue tia Q n e fid on C 复用透传机制 0 基本选择 控制通道的复用器的建立方式 0 仅适用 UIH 包文 传输速率 5 115200bit/s 最大报文大小 127 接收确认定时器,以 10ms 为单元 10 重传的最大次数 3 复用控制通道的响应定时器,以 10ms 为单元 30 唤醒响应定时器,以秒为单位 10 窗口大小,适用于有错误恢复选项的高级配置 2 备注 1. 不支持错误恢复选项的高级配置; 2. 依据当前的串口波特率,强烈建议在波特率为 115200bit/s 使用多路复用; 3. 复用传输速率复用器控制通道如下所示: 通道数 类型 DLCI 上海移远通信技术有限公司 40 / 250 None 1 2 3 4 Multiplexer Control 0 07.07 and 07.05 1 07.07 and 07.05 2 07.07 and 07.05 3 07 07 an 07.05 4 M35 AT 命令手册 CQouneficdteenl tial 上海移远通信技术有限公司 41 / 250 M35 AT 命令手册 4 状态控制命令 4.1. AT+CEER 上报移动设备错误 语法 AT+CEER 上报移动设备错误 测试命令 AT+CEER=? l 查询命令 te AT+CEER c l 最大响应时间 ue tia 参考 GSM07.07 响应 OK 响应 +CEER: , OK 300ms Q en 参数 fid 错误类型 ID 号 最后一次呼叫连接释放原因 n 备注 o 1. 及报告值参考表 11: Location ID 扩展错误报告列表; C 2. 表 11: Location ID 扩展错误报告列表提供了下列原因的扩展报告: 1) 最近一次呼叫建立失败(发起或应答)或呼叫内修改 2) 最近一次呼叫释放 举例 AT+CEER +CEER: 0,0 OK //正常状态下,查询错误报告,返回 No error (default) 上海移远通信技术有限公司 42 / 250 M35 AT 命令手册 ATD10086; OK AT+CLCC +CLCC: 1,0,0,0,0,'10086',129,'' OK NO CARRIER AT+CEER +CEER: 1,16 //通话建立,对方挂断通话,查询报告错误号提示:1:Cause for protocol stack(PS) layer,16:Normal call clearing OK 4.2. AT+CPAS 模块活动状态 l 语法 te AT+CPAS 模块活动状态 c l 测试命令 ue tia AT+CPAS=? Q n 查询命令 AT+CPAS fide 最大响应时间 参考 n GSM07.07 响应 +CPAS:(取值列表) OK 响应 +CPAS: OK 300ms Co 参数 0 2 3 4 准备(ME 允许来自 TA/TE 的命令) 未知(ME 未授权响应指令) 振铃(ME 准备好接收来自 TA/TE 的命令,但正在振铃) 呼叫进行中(ME 准备好来自 TA/TE 的命令,但当前有一个呼叫正在进行) 举例 AT+CPAS +CPAS: 0 上海移远通信技术有限公司 43 / 250 M35 AT 命令手册 OK //模块处于空闲状态,=0 ATD10086; OK AT+CLCC +CLCC: 1,0,3,0,0,'10086',129,'' OK AT+CPAS +CPAS: 3 OK //模块处于呼叫振铃状态,=3 AT+CLCC +CLCC: 1,0,0,0,0,'10086',129,'' OK l AT+CPAS +CPAS: 4 te OK //模块处于呼叫建立状态,=4 uec tial 4.3. AT+QINDRI 开启关闭 RI 引脚提示 Q n 语法 e AT+QINDRI 开启关闭 RI 引脚提示 fid 查询命令 响应 AT+QINDRI? +QINDRI: n 配置命令 Co AT+QINDRI= OK 响应 OK ERROR +CME ERROR: 最大响应时间 300ms 参考 Quectel 上海移远通信技术有限公司 44 / 250 参数 0 关闭 1 开启 M35 AT 命令手册 4.4. AT+QMOSTAT 开启或关闭去电呼叫状态报告 语法 AT+QMOSTAT 开启或关闭去电呼叫状态报告 测试命令 AT+QMOSTAT=? l 查询命令 AT+QMOSTAT? cte l 配置命令 ue tia AT+QMOSTAT= Q n 最大响应时间 e 参考 Quectel 响应 +QMOSTAT: (取值列表) OK 响应 +QMOSTAT: OK 响应 OK ERROR +CME ERROR: 300ms fid 参数 Con 配置是否开启去电呼叫状态报告 0 关闭,不显示去电通话状态 1 开启,显示去电的通话状态。拨号后,呼叫响铃后显示'MO RING',呼叫连接建立 成功后显示'MO CONNECTED' 举例 AT+QMOSTAT=1 OK ATD10086; OK 上海移远通信技术有限公司 45 / 250 MO RING MO CONNECTED //呼叫振铃,显示 MO RING //呼叫连接建立成功,显示 MO CONNECTED M35 AT 命令手册 4.5. AT+QREFUSECS 开启或关闭来短信和来电拒接功能 语法 AT+QREFUSECS 开启或关闭来短信和来电拒接功能 测试命令 响应 AT+QREFUSECS=? +QREFUSECS: (取值列表)[,(取 值列表)] l 查询命令 AT+QREFUSECS? OK 响应 +QREFUSECS: , cte l 配置命令 ue tia AT+QREFUSECS=[,] Q n 最大响应时间 参考 e Quectel OK 响应 OK ERROR +CME ERROR: 300ms fid 参数 n 0 o 1 0 C1 不启用短信拒绝 启用短信拒绝 不启用来电拒绝 启用来电拒绝 上海移远通信技术有限公司 46 / 250 M35 AT 命令手册 4.6. AT+QIURC 初始化完成提示上报 语法 AT+QIURC 初始化完成提示上报 测试命令 AT+QIURC=? 响应 +QIURC: (取值列表) 查询命令 AT+QIURC? OK 响应 +QIURC: 配置命令 AT+QIURC= tel 最大响应时间 c l 参考 Quectel OK 响应 OK ERROR +CME ERROR: 300ms ue tia 参数 Q n 0 e 1 关闭显示 开启显示 fid 备注 Con 当=1 时,模块开机初始化完成后,终端会上报 'Call Ready' 提示。 4.7. AT+QEXTUNSOL 开启关闭专有 URC 上报 语法 AT+QEXTUNSOL 开启关闭专有 URC 上报 测试命令 响应 AT+QEXTUNSOL=? +QEXTUNSOL: (取值列表) OK 上海移远通信技术有限公司 47 / 250 M35 AT 命令手册 查询命令 AT+QEXTUNSOL=, 最大响应时间 参考 Quectel 响应 OK ERROR +CME ERROR: 300ms 参数 字符串参数(字符串需要加双引号)。当前专有 URC 提示参数值 'SQ' 'FN' l 'MW' CQouneficdteential 'UR' 信号质量报告。显示信号强度和误码率(类似于 AT+CSQ),当信号值或误码率 值有变化时上报+CSQN:,提示 可用网络被禁止时有效。当返回到非注册状态时,该提示表明所有可用的 PLMN 已被禁止 SMS 等待指示。当接收到一条 SMS 时,该 SMS 会被解码并检查是否还有一条 或多条消息在等待的指示(例如,语音邮件,电子邮件,传真等)。如果有等待 指示,会上报+QMWT: ,,,,,提 示。其中表示消息存储器类型,表示消息存储的位置索引, ,,,表示相应类型的等待消息的数量(„0‟表示清 除指示,其他非„0‟值表示等待消息的数量,空白表示没有对应类型的等待消息) URC 码。根据通话状态的转换上报 URC 提示+QGURC: 。同一次状态 的转换可能上报多个 URC,其中表示当前通话状态。 : 0 当前通话被终止,至少还存在一个被保持的通话 1 开始主动拨打电话 2 主动拨打电话失败 3 主动拨打电话,对方正在振铃 4 通话被转入呼叫等待状态 5 主动拨打的电话被接通 6 通话被终止 7 通话被挂起 8 在紧急拨号模式下拨打非紧急号码 9 主动拨打的电话没有应答 10 主动拨打电话,对方忙 'BC' 电池充电报告。显示电池连接状态和充电进度(类似于 AT+CBC)报告。 显示格式为+CBCN: , 'BM' 显示频段。按+QBAND: 格式报告频段变化情况(与 AT+QBAND 类似) 'SM' 额外的 SMS 信息提示。以+TSMSINFO: 格式的 URC 显示额 外的 SMS 事件。其中是标准的 CMS 错误提示(与 AT+CMEE 命令显示的一样) 'CC' 通话信息。当有通话断开时,以+CCINFO: , 格式上报断开的通话 ID 和仍然进行的通话 ID 上海移远通信技术有限公司 48 / 250 0 关闭 1 开启 2 查询 M35 AT 命令手册 4.8. AT+QINISTAT 初始化状态查询 语法 AT+QINISTAT 初始化状态查询 测试命令 响应 AT+QINISTAT=? 执行命令 AT+QINISTAT tel 最大响应时间 参考 c l Quectel OK 响应 +QINISTAT: OK 300ms ue tia 参数 Q fiden 0 ME 初始化操作开始 1 ME 可接收执行 AT 命令 2 电话本初始化完成 3 短消息初始化完成 n 备注 Co 当=3 时,表示 SIM 卡相关可操作功能初始化完成。 4.9. AT+QNSTATUS 查询 GSM 网络状态 语法 AT+QNSTATUS 查询 GSM 网络状态 测试命令 响应 AT+QNSTATUS=? OK 上海移远通信技术有限公司 49 / 250 M35 AT 命令手册 执行命令 AT+QNSTATUS 最大响应时间 参考 Quectel 响应 +QNSTATUS: OK 300ms 参数 255 未准备好检测网络状态 0 网络状态正常 1 无可用小区 2 限制服务状态(可拨打紧急电话) tel 4.10. AT+QNITZ 同步网络时间 c l 语法 ue tia AT+QNITZ 同步网络时间 测试命令 Q n AT+QNITZ=? e 查询命令 AT+QNITZ? fid 配置命令 n AT+QNITZ= Co 最大响应时间 响应 OK 响应 +QNITZ: OK 响应 OK ERROR +CME ERROR: 300ms 参考 Quectel 参数 0 禁用同步网络时间 1 启用同步网络时间, 开启同步网络时间功能,会直接上报'+QNITZ:,' 上海移远通信技术有限公司 50 / 250 备注 该功能应用需要当地的 GSM 网络支持网络时间同步。 M35 AT 命令手册 4.11. AT+QLTS 获取最近一次的网络同步时间 语法 AT+QLTS 获取最次一次的网络同步时间 测试命令 响应 AT+QLTS=? 执行命令 AT+QLTS tel 最大响应时间 c l 参考 ue tia Quectel OK 响应 +QLTS: , OK +CME ERROR: 300ms Q n 参数 e fid 字符串类型;格式:yy/MM/dd,hh:mm:ss±zz,各指年,月,日,小时,分钟,秒和时区(用 当地时间和 GMT 时间之间的差别来表示,以四分之一小时格式来表示;范围-48~+48) Daylight Savinng Time,零时区时,格式为'04/05/06,22:10:00+08,0' n 备注 o 1. 该功能应用需要当地的 GSM 网络支持网络时间同步; C 2. 该功能必须要设置 AT+QNITZ=1 时有效。 上海移远通信技术有限公司 51 / 250 M35 AT 命令手册 4.12. AT+CTZU 网络时间同步以及更新 RTC 时间 语法 AT+CTZR 网络时间同步以及更新 RTC 时间 测试命令 响应 AT+CTZU=? +CTZU: (取值列表) 查询命令 AT+CTZU? OK 响应 +CTZU: 配置命令 AT+CTZU= l 最大响应时间 te 参考 c l Quectel OK 响应 OK +CME ERROR: 300ms ue tia 参数 Q n 0 1 e 2 3 fid 4 NITZ 时不自动更新 RTC 时间 NITZ 时自动更新 RTC 时间 NITZ 时自动更新 GMT 时间至 RTC,时区保存在 NVROM,DST 无效 NITZ 时自动更新本地时间至 RTC,时区保存在 NVROM 同=2 模式 n 备注 o 1. 该功能应用需要当地的 GSM 网络支持网络时间同步; C 2. AT+CTZU 的参数无需保存,可以自动写入 Flash。 上海移远通信技术有限公司 52 / 250 M35 AT 命令手册 4.13. AT+CTZR 网络时间同步上报 语法 AT+CTZR 网络时间同步上报 测试命令 AT+CTZR=? 响应 +CTZR: (取值列表) 查询命令 AT+CTZR? OK 响应 +CTZR: 配置命令 AT+CTZR= l 最大响应时间 te 参考 c l Quectel OK 响应 OK +CME ERROR: 300ms ue tia 参数 Q n 0 1 e 2 网络时间同步时不上报时区信息的改变 网络时间同步时上报时区信息的改变,以+CTZV: 格式上报 网络时间同步时上报时区信息的改变,以+CTZE: ,,[]格式上报 fid 4.14. AT+QSIMDET 开启或关闭 SIM 卡检测功能 on 语法 C AT+QSIMDET 开启或关闭 SIM 卡检测功能 测试命令 响应 AT+QSIMDET=? +QSIMDET: ( 取 值 列 表 ),( 取 值 列 表),(取值列表) 查询命令 AT+QSIMDET? OK 响应 +QSIMDET: ,, OK 上海移远通信技术有限公司 53 / 250 M35 AT 命令手册 配置命令 AT+QSIMDET=[,[,]] 最大响应时间 参考 Quectel 响应 OK +CME ERROR: 300ms 参数 配置是否开启 SIM 卡检测功能 0 关闭 tel 1 开启 配置 SIM 卡插入时的检测引脚电平 0 低电平 1 高电平 配置 SIM 卡检测引脚 0 配置 SIM_PRESENCE 引脚作为 SIM 卡的检测引脚 1 配置 DTR 引脚作为 SIM 卡的检测引脚 c l 备注 ue tia 1. 此命令可使用AT&W保存; 2. M35 中 SIM_PRESENCE 和 DTR 引脚是复用的,所以 M35 只支持 DTR 引脚作为 SIM 卡的检测引 Q n 脚,所以开启 SIM 卡检测功能应设置为 1。 e 举例 fid AT+QSIMDET=1,0,1 OK //配置 DTR 引脚作为 SIM 卡的检测引脚,SIM 卡插入时为 DTR 低电平 n Co +CPIN: NOT READY //SIM 卡已掉卡 +CPIN: READY //SIM 卡已插入 上海移远通信技术有限公司 54 / 250 M35 AT 命令手册 4.15. AT+QSIMSTAT SIM 卡插拔状态报告 语法 AT+QSIMSTAT SIM 卡插拔状态报告 测试命令 响应 AT+QSIMSTAT=? +QSIMSTAT: (取值列表) 查询命令 AT+QSIMSTAT? OK 响应 +QSIMDET: , 配置命令 AT+QSIMSTAT= l 最大响应时间 te 参考 c l Quectel OK 响应 OK +CME ERROR: 300ms ue tia 参数 Q n 配置是否开启 SIM 卡插拔状态上报 0 关闭 e 1 开启 SIM 卡插入状态,此参数不允许设置 fid 0 拔出 1 插入 n 备注 o 1. 当 SIM 卡插入或拔出,URC 提示:+QSIMSTAT: ,; C 2. 此命令可用 AT&W 保存。 举例 AT+QSIMSTAT? +QSIMSTAT: 0,1 //查询 SIM 卡插入状态 OK AT+QSIMDET=1,0,1 OK 上海移远通信技术有限公司 55 / 250 M35 AT 命令手册 AT+QSIMSTAT=1 OK AT+QSIMSTAT? +QSIMSTAT: 1,1 //开启 SIM 卡插拔状态上报 OK +CPIN: NOT READY +QSIMSTAT: 1,0 //SIM 卡插拔状态上报,拔出 AT+QSIMSTAT? +QSIMSTAT: 1,0 OK l te +QSIMSTAT: 1,1 //SIM 卡插拔状态上报,插入 uec tial +CPIN:READY //SIM 卡已插入 Q n 4.16. AT+QCGTIND 语音/数据呼叫结束提示 e 语法 fid AT+QCGTIND 语音/数据呼叫结束提示 测试命令 响应 n AT+QCGTIND=? +QCGTIND: (取值列表) Co 查询命令 OK 响应 AT+QCGTIND? +QCGTIND: 配置命令 AT+QCGTIND= 最大响应时间 OK 响应 OK ERROR +CME ERROR: 300ms 上海移远通信技术有限公司 56 / 250 M35 AT 命令手册 参考 Quectel 参数 配置是否开启提示语音/数据呼叫结束的 URC 到终端 0 关闭 1 开启 呼叫建立的连接类型 0 语音 1 数据 2 PPP 连接 备注 l 语音/数据呼叫结束,URC 提示:+QCGTIND:。 cte l 举例 ue tia ATD10086; OK +QCGTIND:0 //语音通话连接挂断时上报提示,=0 CQonfiden NO CARRIER 上海移远通信技术有限公司 57 / 250 M35 AT 命令手册 5 SIM 卡相关命令 5.1. AT+CIMI 请求国际移动台设备标识(IMSI) 语法 AT+CIMI 请求国际移动台设备标识(IMSI) 测试命令 响应 AT+CIMI=? OK l 执行命令 响应 AT+CIMI cte l 最大响应时间 ue tia 参考 GSM 07.07 OK 300ms Q n 参数 fide 国际移动设备标识 n 举例 AT+CIMI Co 460023210226023 //查询返回 ME 内,当前 SIM 卡的 IMSI 号 OK 5.2. AT+CLCK 设备锁定 该命令用于锁定、解锁、查询 ME 或网络设备。一般需要输入密码。当查询网络业务(=2) 状态时,只有当该业务对任何参数都是非激活状态,才返回'非激活'状态(=0)的返回结 果。当设定或查询网络设备时,该命令将被终止执行。 上海移远通信技术有限公司 58 / 250 M35 AT 命令手册 语法 AT+CLCK 设备锁定 测试命令 AT+CLCK=? 响应 +CLCK: (取值列表) OK 配置命令 响应 AT+CLCK=,[,[ 当不等于 2 且操作执行成功,返回: ,]] OK 当等于 2 且操作执行成功,返回: +CLCK: [,[ +CLCK: , class2....]] OK 最大响应时间 5s l 参考 GSM07.07 cte l 参数 CQounefidentia 'PS' PH-SIM(将 ME 锁定于 SIM 卡上)(当其他 SIM 卡插入该被锁 ME 内,ME 提示输入密 码;可以设置 ME,使之能够识别使用过的几个 SIM 卡,这样在插入这些卡后,ME 不 会提示输入密码) 'SC' SIM (SIM 卡锁) (当 ME 重新启动时 SIM 请求输入 PIN 码) 'AO' BAOC (禁止所有呼出呼叫) (请参考 GSM02.88[6] clause 1) 'OI' BOIC (禁止所有国际呼出呼叫) (请参考 GSM02.88[6] clause 1) 'OX' BOIC-exHC (禁止所有国际呼出呼叫,归属国除外) (请参考 GSM02.88[6] clause 1) 'AI' BAIC (禁止所有呼入呼叫) (请参考 GSM02.88[6] clause 2) 'IR' BIC-Roam (归属国以外漫游时,禁止所有呼入呼叫) (请参考 GSM02.88 [6] clause 2) 'AB' 禁止所有服务,仅当=0 有效(请参考 GSM02.30[19]) 'AG' 禁止所有呼出服务,仅当=0 有效(请参考 GSM02.30[19]) 'AC' 禁止所有呼入服务,仅当=0 有效(请参考 GSM02.30[19]) 'FD' SIM 卡固定拨号特点,当 ME 操作锁'FD',此时只有'FD'内的号码可以呼叫 'PF' 将 ME 锁定到插入的第一张 SIM 卡上(当插入其他 SIM 卡,ME 提示输入密码) 'PN' 网络个性化(请参考 GSM 02.22) 'PU' 网络子集个性化(请参考 GSM 02.22) 'PP' 服务供应商个性化(请参考 GSM 02.22) 'PC' 公司个性化(请参考 GSM 02.22) 0 解锁 1 锁定 2 查询状态 密码 上海移远通信技术有限公司 59 / 250 M35 AT 命令手册 1 2 4 7 8 16 32 0 1 语音 数据 传真 短消息(默认)以外所有类别 短消息 同步数据电路 异步数据电路 未激活 激活 备注 如果 ME 内未插入 SIM 卡或 PIN 码未解,操作 AT+CLCK 锁,会返回+CME ERROR: 相关报错。 举例 l AT+CLCK='SC', 2 te +CLCK: 0 c l OK ue tia AT+CLCK='SC',1,'1234' OK AT+CLCK='SC',2 Q n +CLCK: 1 //查询当前 SC 锁状态,未锁 //设置 SC 锁,密码为:1234 e OK AT+CLCK='SC',0,'1234' fid OK //查询当前 SC 锁状态,已锁 //解除 SC 锁,密码为:1234 Con 5.3. AT+CPIN 输入 PIN 使用该配置命令,可向 ME 发送操作需要的密码(SIM PIN,SIM PUK,PH-SIM PIN 等)。如果操作 返回的是 SIM PUK 或者 SIM PUK2,则为 PUK1 码或 PUK2 码,且需要写入第二个参数, 该用来取代 SIM 卡中的原有 PIN 码。 查询命令返回的字符串采用字母数字混编方式,指示是否需要密码。 上海移远通信技术有限公司 60 / 250 M35 AT 命令手册 语法 AT+CPIN 输入 PIN 测试命令 AT+CPIN=? 查询命令 AT+CPIN? 响应 OK 响应 +CPIN: OK 配置命令 响应 AT+CPIN=[,] OK ERROR 最大响应时间 参考 GSM 07.07 +CME ERROR: 5s tel 参数 c l Quefidentia READY ME 不再需要提供密码 SIM PIN ME 等待提供 SIM 卡的 PIN 码 SIM PUK ME 等待提供 SIM 卡的 PUK 码 PH_SIM PIN ME 等待提供从终端到最初 SIM 卡的密码(防盗) PH_SIM PUK ME 等待提供从终端到最初 SIM 卡的 PUK 密码 SIM PIN2 ME 等待提供 SIM 卡 PIN2(例如:当编辑 FDN 号码薄,可能返回 +CME ERROR: 17) SIM PUK2 ME 等待提供 SIM 卡的 PUK2(在执行该命令过程中可能返回+CME ERROR: 18) 原密码(字符型)(SIM 卡的 PIN 码或 PUK 密码,如:SIM PUK 或者 PH-SIM PUK) 新密码(字符型) Con 举例 AT+CPIN? +CPIN: SIM PIN OK AT+CPIN=1234 +CPIN: READY //查询有 PIN 码锁定 OK AT+CPIN? +CPIN: READY //输入 PIN 码 上海移远通信技术有限公司 61 / 250 M35 AT 命令手册 OK AT+CPIN? +CPIN: SIM PUK //PIN 码锁被解除 OK //查询有 PUK 码锁定 AT+CPIN='26601934','1234' +CPIN: READY OK AT+CPIN? +CPIN: READY //输入 PUK 码和新 PIN 码 OK //PUK 锁被解除 l 5.4. AT+CPWD 设备锁定 te 该命令可以修改设备锁定命令 AT+CLCK 定义的设备锁定密码。 uec tial 语法 AT+CPWD 设备锁定 Q n 测试命令 AT+CPWD=? 响应 +CPWD: (取值列表),(取值列表) fide 配置命令 AT+CPWD=,, on 最大响应时间 C 参考 OK 响应 OK ERROR +CME ERROR: 5s GSM 07.07 参数 'PS' 'SC' 'AO' PH-SIM(将 ME 锁定于 SIM 卡上)(当其他 SIM 卡插入该被锁 ME 内,ME 提示输 入密码;可以设置 ME,使之能够识别使用过的几个 SIM 卡,这样在插入这些卡后, ME 不会提示输入密码) SIM (SIM 卡锁) (当 ME 重新启动时 SIM 请求输入 PIN 码) BAOC (禁止所有呼出呼叫) (请参考 GSM02.88[6] clause 1) 上海移远通信技术有限公司 62 / 250 M35 AT 命令手册 'OI' BOIC (禁止所有国际呼出呼叫) (请参考 GSM02.88[6] clause 1) 'OX' BOIC-exHC (禁止所有国际呼出呼叫,归属国除外) (请参考 GSM02.88[6] clause1) 'AI' BAIC (禁止所有呼入呼叫) (请参考 GSM02.88[6] clause 2) 'IR' BIC-Roam (归属国以外漫游时,禁止所有呼入呼叫) (请参考 GSM02.88 [6] clause2) 'AB' 禁止所有服务,仅当=0 有效(请参考 GSM02.30[19]) 'AG' 禁止所有呼出服务,仅当=0 有效(请参考 GSM02.30[19]) 'AC' 禁止所有呼入服务,仅当=0 有效(请参考 GSM02.30[19]) 'FD' SIM 卡固定拨号特点,当 ME 操作锁'FD',此时只有'FD'内的号码可以呼叫 'P2' SIM PIN2 字符型;与 ME 用户接口使用的设备锁密码、修改密码命令设置的密码相同 字符型;新设定的密码 整数型;表示密码最大长度 举例 AT+CPIN? l +CPIN: READY te OK AT+CPWD='SC','1234','4321' c l OK ue tia AT+CPIN? Q n +CPIN: SIM PIN e OK AT+CPIN='4321' fid +CPIN: READY OK //设置新 PIN 码为 4321 //重启模块 //重启模块或重激活 SIM 卡,会提示输入新 PIN 码解 PIN 锁 Con 5.5. AT+CRSM SIM 卡接入限制 语法 AT+CRSM SIM 卡接入限制 测试命令 AT+CRSM=? 配置命令 AT+CRSM=[,[,,,[,]]] 响应 OK 响应 +CRSM: , [,] 上海移远通信技术有限公司 63 / 250 M35 AT 命令手册 最大响应时间 参考 GSM 07.07 OK ERROR +CME ERROR: 300ms 参数 176 二进制读出 178 记录读出 l te c l ue tia , Q n 192 获得返回结果 214 二进制更新 220 记录更新 242 状态 其他参数值保留;请参考 GSM11.11 整数型;用于标识 SIM 卡中的基础数据文件 整数型;范围 0-255,ME 传送到 SIM 的参数,请参考 GSM11.11[28] 参考 参考 将写入到 SIM 卡上的信息(十六进制;请参考 AT+CSCS) 整数型;返回 0-255 SIM 卡中与该命令实际运行相关的信息,命令可能执行成功,也可 能执行失败,两种情况下这些参数都被发送给 TE,请参考 GSM11.11 前一个命令执行成功完成后返回的结果(十六进制;请参考 AT+CSCS) e 举例 fid AT+CRSM=242 +CRSM: 145, 211, '000000007F100200000000000A13000C0400838A808A' n OK //242 为 SIM 卡状态查询的指令码(参考 11.11),145 为 SW1,211 为 SW2, o '000000007F100200000000000A13000C0400838A808A'为 SIM 卡返回的 内容,可以根 C据 GSM11.11 中的相关规定来解析具体的参数 上海移远通信技术有限公司 64 / 250 M35 AT 命令手册 5.6. AT+CSIM 通用 SIM 操作 语法 AT+CSIM 通用 SIM 操作 测试命令 AT+CSIM=? 配置命令 AT+CSIM=, 响应 OK 响应 +CSIM: , OK 最大响应时间 参考 l GSM 07.07 ERROR +CME ERROR: 300ms cte l 参数 ue tia Q en 整数类型;发往 TE 的或者的字符长度(例如:原始字节数的 两倍) 字符串类型(字符串应该包含在引号内):16 进制格式,GSM 11.11 SIM 命令从 ME 到 SIM 字符串类型(字符串应该包含在引号内):16 进制格式,GSM 11.11 响应从 SIM 卡到命 令 fid 5.7. AT+QCSPWD 更改 PS 超级密码 on 语法 C AT+QCSPWD 更改 PS 超级密码 配置命令 响应 AT+QCSPWD=, OK ERROR 最大响应时间 300ms 参考 Quectel 上海移远通信技术有限公司 65 / 250 M35 AT 命令手册 参数 字符串类型;长度必须为 8 位的旧密码 字符串类型;长度必须为 8 位的新密码 备注 1. 旧密码的缺省值是'12345678'; 2. 如果模块被锁,AT+CLCK 开启后密码丢失或者状态是 PH-SIM PUK,都可以使用超级密码来解锁。 5.8. AT+CCID 显示 CCID 语法 l AT+CCID 显示 CCID te 测试命令 AT+CCID=? c l 执行命令 ue tia AT+CCID Q n 最大响应时间 参考 e Quectel 响应 OK 响应 +CCID: OK 300ms fid 参数 n 当前 SIM 卡的 CCID 号 Co 举例 AT+CCID //查询当前 SIM 卡的 CCID 号为 898600220909A0206023 +CCID: '898600220909A0206023' OK 上海移远通信技术有限公司 66 / 250 M35 AT 命令手册 5.9. AT+QCCID 显示 CCID 语法 AT+QCCID 显示 CCID 测试命令 AT+QCCID=? 执行命令 AT+QCCID 响应 OK 响应 ccid data OK 最大响应时间 参考 Quectel l 举例 te AT+QCCID c l 898600220909A0206023 ue tia OK 300ms //查询当前 SIM 卡的 ICCID 号为 898600220909A0206023 Q en 5.10. AT+QGID 获取 SIM 卡 GID fid 语法 AT+QGID 获取 SIM 卡 GID n 执行命令 Co AT+QGID 响应 +QGID: OK ERROR 最大响应时间 300ms 参考 Quectel 上海移远通信技术有限公司 67 / 250 参数 GID1 GID2 备注 如果 SIM 卡支持 GID,那么 GID 值将返回,否则返回 0xFF。 M35 AT 命令手册 5.11. AT+QSIMVOL 固定 SIM 卡工作电压 语法 l AT+QSIMVOL 固定 SIM 卡工作电压 te 测试命令 AT+QSIMVOL=? 响应 +QSIMVOL:(取值列表) uec tial 查询命令 AT+QSIMVOL? OK 响应 +QSIMVOL: Q n 配置命令 e AT+QSIMVOL= fid 最大响应时间 n 参考 Co Quectel OK 响应 OK ERROR +CME ERROR: 300ms 参数 0 自动选择 1.8 V 和 3.0V SIM 卡工作电压 1 固定 SIM 卡工作电压为 1.8V 2 固定 SIM 卡工作电压为 3V 上海移远通信技术有限公司 68 / 250 备注 该命令设置成功后会自动保存,模块重启后该命令才能生效。 M35 AT 命令手册 5.12. AT+QSPN 读取 SIM 卡服务运营商名称 语法 AT+QSPN 读取 SIM 卡服务运营商名称 查询命令 响应 AT+QSPN? l 最大响应时间 te 参考 Quectel +QSPN: , OK +CME ERROR: 300ms uec tial 参数 字符串类型;SIM 卡注册的服务运营商名称 Q n 0 不显示 PLMN,已经注册上 PLMN e 1 显示 PLMN fid 备注 Con 如果模块未插卡,执行则上报相关 CME ERROR。 5.13. AT+QTRPIN 输入 PIN 码/PUK 码的剩余次数 语法 AT+QTRPIN 输入 PIN 码/PUK 码的剩余次数 执行命令 响应 AT+QTRPIN +QTRPIN: ,,, OK 上海移远通信技术有限公司 69 / 250 M35 AT 命令手册 最大响应时间 参考 Quectel 300ms 参数 输入 PIN 码的剩余次数 输入 PIN2 码的剩余次数 输入 PUK 码的剩余次数 输入 PUK2 码的剩余次数 5.14. AT+QDSIM 双卡单待命令切换 l 语法 te AT+QDSIM 双卡单待命令切换 c l 测试命令 AT+QDSIM=? ue tia 查询命令 Q n AT+QDSIM? fide 执行命令 AT+QDSIM=[,] n 最大响应时间 参考 Co Quectel 响应 +QDSIM: (取值列表),(取值列表) OK 响应 +QDSIM: , OK 响应 OK ERROR 300ms 参数 0 选择 SIM 卡卡槽 1 1 选择 SIM 卡卡槽 2 0 DCD 引脚功能有效 1 DCD 引脚功能无效 上海移远通信技术有限公司 70 / 250 M35 AT 命令手册 备注 1. 参数设置会自动保存到 NVRAM 2. 单卡的时候建议使用 SIM 卡 1 3. 模块出厂设置的 SIM2_RST 引脚为 DCD 功能,默认的 GPIO 是高电平,VSIM2 输出电压为 2.8V, 当 使用 SIM 卡 2 的时候,DCD 引脚被占用,DCD 功能会失效 4. 切换卡有两种方式,一种是重启方式,另一种是 CFUN=0->1 切换方式 举例 1 //重启方式 AT+QDSIM? //查询 SIM 卡状态 +QDSIM: 0,0 OK AT+QDSIM=1,1 l OK //重启模块 //默认 SIM 卡 1,DCD 功能有效 //切换至 SIM2 和不允许使用 DCD 功能,VSIM2 输出电压关闭 cte l 举例2 //不重启方式 ue tia AT+QDSIM? +QDSIM: 0,1 AT+CFUN=0 Q n +CPIN: NOT READY //查询当前 SIM 卡状态 //当前 SIM 卡为 SIM 卡 1,DCD 功能失效 //切换模块至最小功能模式 e OK fid AT+QDSIM=1,1 OK AT+CFUN=1 n OK //切换模块至卡槽 2,不使用 DCD 功能 //切换模块至全功能模式 Co +CPIN: READY Call Ready //成功切换到 SIM 卡 2 上海移远通信技术有限公司 71 / 250 M35 AT 命令手册 6 网络服务命令 6.1. AT+COPS 选择营运商 语法 AT+COPS 选择营运商 测试命令 l AT+COPS=? 响应 +COPS: (取值列表, 长字母数字格式, 短字母数 字 格 式 , 数 字 格 式 ) [,,( 取 值 列 表),( 取值列表)] cte l 查询命令 ue tia AT+COPS? OK 响应 +COPS: [,[,]] Q n 配置命令 AT+COPS=[,[,]] fid 最大响应时间 参考 n GSM 07.07 OK 响应 OK ERROR +CME ERROR: 75s,受网络状态影响 Co 参数 0 未知 1 可用运营商 2 当前运运商 3 禁用运运商 字符型 表示该字符串采用字母数字型还是数字型;数字型表示 GSM 未知区标号) (请参考 GSM04.08[8]底 10.5.1.3 小节),该号码包括一个 3 位 BCD 国家代码(符 合 ITU-TE.212 Annex A[10]标准)和一个 2 位 BCD 网络代码,后者与管理有关 0 自动,字段可忽略 上海移远通信技术有限公司 72 / 250 M35 AT 命令手册 1 2 3 4 0 1 2 手动,字段不可忽略 从注册网络注销 仅设置(用于查询命令 AT+COPS?);不尝试进行注册或注销( 字段可忽略);该取值不适用于查询命令的返回结果 手动/自动,字段不可忽略;如果手动选择失败,将进入自动选择模式 (=0) 长字符型(采用字母数字格式),最多 16 个字符 短字符型(采用字母数字格式),最多 8 个字符 数字型 备注 1. 配置命令选择并注册 GSM 网络营运商。设置 ME 是自动选择营运商,还是使用该命 令强制选择营运商。 当=0 时,ME 将自动尝试选择可使用的运营商。 当=1 时,ME 将强制注册选择的运营商,若该运营商无效则当前 ME 不会搜索 l 其他可用运营商,直到=0 时 ME 才会重新注册网络。如果 ME 重启后仍然在=1 下且没有 RPLMN 的话,ME 会保持在不注册网络的状态直到使用命令改变成自动注册模式。 te 当=4 时,若手动选择运营商不可用,ME 会自动选择当前网络中可用运营商继续尝试注 c l 册。 2. 该命令设置成功后会自动保存。 ue tia 举例 Q n AT+COPS=? +COPS: (2,'CHINA MOBILE','CMCC','46000'),(3,'CHINA UNICOM GSM','CU-GSM','46001') e ,,(0-4),(0-2) fid OK //列举当前所有网络营运商 AT+COPS? n +COPS: 0,0,'CHINA MOBILE' Co OK //查询用长字符型表示当前已注册的网络营运商 6.2. AT+CREG 网络注册信息 语法 AT+CREG 网络注册信息 测试命令 AT+CREG=? 响应 +CREG: (取值列表) 上海移远通信技术有限公司 73 / 250 M35 AT 命令手册 查询命令 AT+CREG? OK 响应 用 户 终端 返回 结果 码显 示状 态 ,返 回一 个整 数 , 表 示 ME 是否已经注册。仅当=2 并且 ME 已经在网络中注册时, 返回未知信息和. +CREG: ,[,,] 配置命令 OK +CME ERROR: 响应 AT+CREG= OK 最大响应时间 参考 GSM 07.07 300ms l 参数 te uec tial Q fiden 0 禁用网络注册非请求结果码 1 启用网络注册非请求结果码+CREG: 2 启用网络注册和位置信息非请求结果码+CREG: [,,] 0 未注册;ME 当前没有搜索到要注册业务的新营运商 1 已注册,本地网 2 未注册,但 ME 正在搜索要注册业务的新营运商 3 注册被拒绝 4 未知 5 已注册,漫游 字符型:二个字节(16 进制格式)位置区编号 字符型:二个字节(16 进制格式)小区 ID n 备注 o URC 上报: C 1. 当=1 时,MT 的网络注册状态有变化,上报:+CREG: 2. 当=2 时,MT 的网络注册状态有变化或者网络 CELL 有变化上报:+CREG: [,,] 举例 AT+CREG=1 OK +CREG: 1 AT+CREG=2 //已注册 上海移远通信技术有限公司 74 / 250 OK +CREG: 1,'1878','0873' //带小区 ID 和位置区号 M35 AT 命令手册 6.3. AT+CSQ 信号质量 语法 AT+CSQ 信号质量 测试命令 响应 AT+CSQ=? 执行命令 l AT+CSQ cte l 最大响应时间 ue tia 参考 GSM 07.07 +CSQ: (取值列表),(取值列表) OK 响应 +CSQ: , OK +CME ERROR: 300ms Q n 参数 fide Con 0 小于等于-113 dB 1 -111 dBm 2...30 -109... -53 dBm 31 大于等于-51 dBm 99 未知或不可测 (百分比格式): 0...7 RXQUA 值,参考 GSM05.08[20]章节 7.2.4 99 未知或不可测 举例 AT+CSQ=? +CSQ: (0-31,99),(0-7,99) OK AT+CSQ +CSQ: 28,0 上海移远通信技术有限公司 75 / 250 OK //查询当前 CSQ 信号值为 28,误码率为 0 M35 AT 命令手册 6.4. AT+CPOL 优选运营商列表 语法 AT+CPOL 优选运营商列表 测试命令 AT+CPOL=? 响应 +CPOL: (取值列表),(取值列表) 查询命令 l AT+CPOL? OK 响应 +CPOL: ,, [+CPOL: ,, […]] uecte tial 配置命令 AT+CPOL=[,[,]] Q n 最大响应时间 e 参考 fid GSM 07.07 OK +CME ERROR: 响应 OK ERROR +CME ERROR: 300ms 参数 on C 整数型;SIM 卡优选运营商列表中运营商的序号 0 长字符串型(采用字母数字格式)的 1 短字符串型(采用字母数字格式)的 2 数字型的 字符型;指明该格式采用字母数字混编方式还是数字方式(参考 AT+COPS) 备注 有些 SIM 卡不支持写入新的运营商列表。 上海移远通信技术有限公司 76 / 250 M35 AT 命令手册 6.5. AT+COPN 查询运营商列表 语法 AT+COPN 查询运营商列表 测试命令 AT+COPN=? 执行命令 AT+COPN 响应 OK 响应 +COPN:,[+COPN: , […]] 最大响应时间 l 参考 GSM 07.07 OK +CME ERROR: 300ms cte l 参数 ue tia 字符型;数字格式的运营商(请参考 AT+COPS) 字符型;长字符串格式(采用字母数字格式)的运营商(请参考 AT+COPS) Q n 备注 e 1. AT+COPN 命令运行结束后,返回营运商列表并输出 OK ; fid 2. AT+COPN 命令运行时,返回 OK 前不可再次运行该命令或其他命令,否则会出现异常。 Con 6.6. AT+QBAND 查询运营商列表 语法 AT+QBAND 查询运营商列表 测试命令 AT+QBAND=? 响应 +QBAND: (取值列表) 查询命令 AT+QBAND? OK 响应 +QBAND: 上海移远通信技术有限公司 77 / 250 M35 AT 命令手册 配置命令 AT+QBAND= 最大响应时间 参考 Quectel OK 响应 OK ERROR +CME ERROR: 30s,受网络状态影响 参数 ctel l 字符串参数,以下是支持的频段列表 'EGSM_MODE' 'DCS_MODE' 'PCS_MODE' 'GSM850_MODE' 'EGSM_DCS_MODE' 'GSM850_PCS_MODE' 'GSM850_EGSM_DCS_PCS_MODE' ue tia 备注 Q n 频段设置信息存放在用户不可擦写的存储区域。 fide 6.7. AT+QENG 开启或关闭工程模式 n 该命令可用于获取当前服务小区及邻近的 1~6 个小区信息。 Co 语法 AT+QENG 开启或关闭工程模式 测试命令 AT+QENG=? 响应 +QENG: (取值列表),(取值列表) 查询命令 AT+QENG? OK 响应 小区信息提示类型由参数控制: +QENG: , 上海移远通信技术有限公司 78 / 250 M35 AT 命令手册 当前服务小区信息提示: +QENG: 0,,,,,,,,,,,,,,,,, 邻近 1~6 小区信息提示: [+QENG:1,list of (,,,,, ,, ,,)相邻小区列表] OK ctel l 配置命令 ue tia AT+QENG =[,] Q n 最大响应时间 参考 e Quectel 获取载波列表: [+QENG: 2,list of ()…] BA 内的测量频点列表: [+QENG: 4,record number of the list, list of (,,)] OK 响应 OK ERROR +CME ERROR: 300ms fid 参数 n Co 0 关闭工程模式,字段被忽略 1 开启工程模式 2 开启工程模式,并激活自动上报网络信息 0 只提示当前服务小区信息 1 显示当前服务小区信息及邻近 1~6 个小区信息 2 显示当前服务小区信息及载波列表 3 显示当前服务小区信息,邻近 1~6 个小区信息以及载波列表 4 显示当前服务小区信息,邻近 1~6 个小区信息,载波列表以及 BA 测量结果列表 移动国家码 移动网络码 位置区号码,十六进制数据 小区号,十六进制数据 BCCH 信道的绝对无线频道编号 上海移远通信技术有限公司 79 / 250 M35 AT 命令手册 基站识别码 以 dBm 为单位的接收信号等级 C1 值 C2 值 访问一个 CCH 信道时的最大发射功率等级 允许访问系统的最小接收信号等级 TCH 信道的绝对无线频道编号,'h'道的表示跳频。 时序号 MAIO 值 HSN 值 时间提前量,范围 0~63 接收质量(sub), 范围是 0~7 接收质量(full), 范围是 0~7 相邻 6 个小区的序号 1~6 频点号 备注 l 1. 当=2 时,每 5 秒自动上报 URC 提示; te 2. 参数和为十六进制数据;其他数据为十进制数据; 3. 如果未检测到区域数据,参数将被„x‟字符代替; c l 4. 如果不是检测专有模式,参数,,,,,,不显示参数 ue tia 值,以字符„x‟代替; 5. 在一个连接中,如果网络支持跳频,那么 TCH 信道是不稳定的。在这种模式下使用‟h‟进行表 示; Q n 6. 在专有模式下,当前服务小区的和不能更新,用„-1‟表示非法值进行显示。同时,和 在一定的条件下也不能更新,仍然保持在空闲模式下的值。这是因为在这种模式下,ME 不能 e 更新小区选择和重选的参数。当连接结束时,移动设备回到空闲模式,将给出正确的值; 7. 如果 TA 报告临近小区的信息,临近 6 个小区的信息将上报。如果有的小区信息无法测量,„x‟将填写 fid 在这些小区的参数中; 8. 在专有模式中,临近小区的和参数可能被测量到,并上报一个无意义的值。临近小区的 , , 和参数无法被测量,'x'将填写在所有 6 个小区的这些参数中; n 9. 命令不报告接收信号等级和接收质量,AT+CSQ 可用于获取这两个参数; 10. AT+QSPCH 可以用于在通话过程中重新获取语音信道类型(FR, HR, EFR, AMR_FR, AMR_HR); o 11. BA 测量结果列表最多支持 32 个,若有 BCCH 值无法获取基站信息,则以'x'代替。该值仅包括 BA C 列表中的所有已测量的 BCCH 值,非整个 BA 列表。 举例 空闲模式: AT+QENG=2 OK +QENG: 0,460,00,1806,2602,64,46,-72,119,119,5,8,x,x,x,x,x,x,x 上海移远通信技术有限公司 80 / 250 M35 AT 命令手册 专有检测模式: AT+QENG=2,3 OK +QENG: 0,460,00,1806,2031,17,41,-73,-1,-1,5,8,h,7,0,24,1,0,1 +QENG: 1,1,17,-74,41,111,95,460,00,1806,2031,2,2,-74,45,110,94,460,00,1878,151,3,22,-77,40,100,84,460,00,1 806,2012,4,24,-77,45,97,81,460,00,1806,2013,5,25,-81,40,83,67,460,00,1806,2032,6,532,-92,48,-1,-1,x ,x,x,x //注:该功能模式需特殊版本支持 6.8. AT+QSCANF GSM 频率功率扫描 l 语法 te AT+QSCANF GSM 频率功率扫描 测试命令 c l AT+QSCANF=? 响应 +QSCANF: (取值列表),(取值列表) ue tia 配置命令 Q nfiden AT+QSCANF=, OK 响应 当=9999,且执行成功返回: +QSCANF: 1, CH113, -63.5 2, CH80, -64.2 4, CH22, -64.5 ….. 20, CH116, -74.2 OK o 当为指定参数值,且执行成功返回: C +QSCANF:CH, 最大响应时间 参考 Quectel 如果执行失败,返回: +CME ERROR: 300ms 上海移远通信技术有限公司 81 / 250 M35 AT 命令手册 参数 0 BAND 900 1 BAND 1800 2 BAND 1900 3 BAND 850 9999 扫描所有频段频率 0-1023 扫描指定频段频率 频率信号强度,单位 dbm 备注 进行频率功率扫描操作,需确保 ME 的 RF 功能已关闭,即 AT+CFUN=0 或 4。关于如何使用 AT+CFUN 切换功能模式状态,请参考 AT+CFUN 命令。 l 6.9. AT+QLOCKF 锁 GSM 频率 cte l 语法 ue tia AT+QLOCKF 锁GSM频率 测试命令 Q n AT+QLOCKF=? 响应 +QLOCKF: ( 取 值 列 表 ),( 取 值 列 表) ,(取值列表) fide 查询命令 AT+QLOCKF? OK 响应 +QLOCKF: n 配置命令 o AT+QLOCKF=,, OK 响应 OK ERROR +CME ERROR: 最大响应时间 300ms 参考 Quectel 上海移远通信技术有限公司 82 / 250 M35 AT 命令手册 参数 0 1 2 0 1 2 0-1024 0 1 关闭频锁功能 开启频锁功能 开启锁频功能并开机自动切换到上次锁定的频点 非 1900 频段小区 1900 频段小区 自动选择是否 1900 频段小区 频率信息 ME 未指定锁于一个指定频率 ME 指定锁于一个指定频率 CQouneficdteenl tial 上海移远通信技术有限公司 83 / 250 M35 AT 命令手册 7 呼叫控制命令 7.1. ATA 呼叫应答 语法 ATA 呼叫应答 执行命令 ATA uectel tial 最大响应时间 Q n 参考 e V.25ter 响应 语音呼叫并成功建立连接,响应为: OK 若不能建立连接,响应为: NO CARRIER 若无呼叫进入时操作,响应为: +CME ERROR: 1s,受网络状态影响 fid 备注 1. ATA 操作忽略同一行命令中 A 后面的附加命令; n 2. 在执行 ATA 操作过程中收到某一字符,该命令可能被中止执行。但是在建立连接的某些状态中(如: 握手状态),该命令不会被中断; Co 3. 该命令无需以终止符作为结尾。 举例 RING AT+CLCC +CLCC: 1,1,4,0,0,'02154450290',129,'' OK //语音呼叫呼入 ATA //接听语音呼叫 OK 上海移远通信技术有限公司 84 / 250 M35 AT 命令手册 7.2. ATD 移动台呼叫某一号码 该命令用于建立语音、数据或传真的主叫,还可以用于控制补充业务。 语法 ATD 移动台呼叫某一号码 执行命令 ATD[][;] 响应 若没有拨号音且(参数设置 ATX2 或者 ATX4),返回: NO DIALTONE 若遇忙占线(参数设置 ATX3 或者 ATX4),返回: uectel tial 最大响应时间 Q n 参考 V.25ter BUSY 若连接无法建立成功或对方无应答,返回: NO CARRIER 若连接成功且为语音呼叫,返回: OK 其他功能操作错误,响应为: +CME ERROR: 1s,受网络状态影响 fide 参数 Con 紧急呼叫: 拨号位字符串和可选配 V.25ter 修改量: 拨号位:0-9,*,#,+,A,B,C 以下 V.25ter 拨号修改量可忽略: ,(逗号),T,P,!,W,@ 标准的紧急呼叫号码 112(不需要 SIM 卡) GSM 修改量字符串: I 激活 CLIR(主叫用户不允许在被叫用户话机上显示自己的电话号码) i 禁止 CLIR(主叫用户允许在被叫用户话机上显示自己的电话号码) G 仅为本次呼叫激活闭合用户组请求 g 仅为本次呼叫不激活闭合用户组请求 仅用来建立语音呼叫,TA 保持命令模式不变 上海移远通信技术有限公司 85 / 250 M35 AT 命令手册 备注 1. 若在执行 ATD 过程中收到 ATH 命令,该命令可能被终止执行。但是在建立连接的某些状态(如:握 手状态),该命令不会被中止执行; 2. 参数'I'和'i'仅适用于拨号字符中无'*#'码的情况; 3. 默认为最后的号码,此号码可以使用 ATDL 来拨号; 4. 带有'*#'码的 ATD 命令将被作为语音呼叫处理,因此,该命令必须以分号';'结尾; 5. 关于结果码的设置和呼叫监控参数的详细介绍,请参考 ATX 命令; 6. ATD 命令的响应: 对于语音呼叫,可设置两种不同的响应模式: 在 TA 拨号完成后或者在呼叫建立成功后,立即返回 OK。 此设置由 AT+COLP 命令控制。出厂默认设置为 AT+COLP=0,这将使得 TA 在拨号完成后, 立即返回 OK。除此之外,TA 将返回'BUSY','NODIALTONE','NO CARRIER'。 在一个已激活的语音呼叫中,使用 ATD: 在已存在一个已激活的语音呼叫时,用户发起了第二个语音呼叫,此时第一个语音呼叫将被自 动的设置为呼叫保持状态,所有呼叫的当前状态,可以随时使用 AT+CLCC 进行查询。 l 举例 te ATD10086; c l OK //ATD 建立语音呼叫 ue tia 7.3. ATH 挂机控制 Q en 该命令可以终止当前所有的通话。 fid 语法 ATH 挂机控制 n 执行命令 ATH[0] Co 最大响应时间 响应 OK 90s,受网络状态影响 参考 V.25ter 备注 在 Circuit109(DCD)关闭后,返回 OK; 上海移远通信技术有限公司 86 / 250 M35 AT 命令手册 7.4. +++ 数据模式切换至命令模式 该命令可以将 ME 从数据模式切换至 AT 命令模式。 语法 +++ 数据模式切换至命令模式 执行命令 响应 +++ OK ERROR +CME ERROR: 最大响应时间 参考 V.25ter 300ms l 备注 te 1. 为避免'+++'被错误的识别为数据,需遵循以下注意事项: c l '+++'输入前 T1 时间(0.5 秒)内无字符 连续输入'+++',中间不能有其他字符;每个+间隔时间不能超过 1 秒,TCP 透传应用下每个+ ue tia 间隔不能超过20ms. '+++'输入后 T1 时间(0.5 秒)内无字符输入 2. 切换至命令模式,否则重新进入步骤 1; Q n 3. 可通过 AT 命令 ATO,从命令模式返回数据模式。 fide 7.5. ATO 命令模式切换至数据模式 n 该命令可以将 ME 从 AT 命令模式切换至数据模式。 Co 语法 ATO 命令模式切换至数据模式 执行命令 ATO[n] 响应 TA 保持数据传输连接,从命令模式切换回数据模式: CONNECT /CONNECT 若无法恢复至数据模式: NO CARRIER 其他功能操作错误,响应为: 上海移远通信技术有限公司 87 / 250 M35 AT 命令手册 +CME ERROR: 最大响应时间 参考 V.25ter 300ms 参数 0 从 AT 命令模式切换至数据模式 备注 1. TA 从命令模式返回至数据模式 CONNECT,只有当 ATX中设置大于 0 时, 才输出; l 2. 可以是速率、差错控制等。 cte l 7.6. ATP 选择脉冲拨号 ue tia 操作ATP设置为脉冲拨号。 Q n 语法 e ATP 选择脉冲拨号 fid 执行命令 ATP 最大响应时间 n 参考 Co V.25ter 响应 OK 300ms 备注 GSM 无效。 上海移远通信技术有限公司 88 / 250 M35 AT 命令手册 7.7. ATS0 自动应答前振铃次数 该命令用于设置自动应答前的振铃次数。若设置为非零取值,呼叫指示(RING)达到设置次数后, ME 自动应答。 语法 ATS0 自动应答前振铃次数 查询命令 响应 ATS0? OK 配置命令 ATS0= 最大响应时间 l 参考 te V.25ter 响应 OK 300ms c l 参数 ue tia 0 禁用自动应答(默认) 1~255 达到指定的振铃次数后,启用自动应答 Q en 备注 fid 若值设置过高,呼叫方可能在呼叫被自动应答前停止呼叫。 n 举例 o ATS0=3 C OK //设置三次振铃后自动接听 RING RING RING //呼叫进入 //三次 RING 提示后,自动接听来电 上海移远通信技术有限公司 89 / 250 M35 AT 命令手册 7.8. ATS6 盲拨号前暂停控制 该命令用于盲拨号前暂停控制。当拨号音检测功能关闭,表示指定 DCE 在连线与拨号操作间需要 等待的秒数。 语法 ATS6 盲拨号前暂停控制 查询命令 响应 ATS6? OK 配置命令 ATS6= 最大响应时间 l 参考 te V.25ter 响应 OK 300ms c l 参数 ue tia 0-2-10 盲拨号前需要等待的秒数(默认为 2) Q en 备注 fid GSM无效。 Con 7.9. ATS7 等待呼叫建立完成时间 该命令可设置 TA 在应答或发起数据通话时,等待呼叫建立的秒数。 语法 ATS7 等待呼叫建立完成时间 查询命令 响应 ATS7? OK 上海移远通信技术有限公司 90 / 250 配置命令 ATS7= 最大响应时间 参考 V.25ter 响应 OK 300ms M35 AT 命令手册 参数 1-60-255 建立连接或释放呼叫所用的秒数 备注 1. 若 ATS0=设置的值太高,呼叫建立可能失败; 2. 确保 ATS7 与 ATS0 的正确设置,如:ATS7=20 和 ATS0=30,则呼叫建立失败; l 3. ATS7 仅用于数据连接。 cte l 7.10. ATS8 暂停拨号时间 ue tia 在拨号字符串中出现逗号拨号修改量时,使用该命令,可设置在建立到拨号网络的呼叫寻址信息信令 Q n 时,TA 暂停的秒数。 e 语法 fid ATS8 暂停拨号时间 查询命令 响应 ATS8? on 配置命令 C ATS8= OK 响应 OK 最大响应时间 300ms 参考 V.25ter 参数 0 1-2-255 拨号字符串中出现逗号时,禁止 DCE 中断 暂停的秒数 上海移远通信技术有限公司 91 / 250 备注 GSM 无效。 M35 AT 命令手册 7.11. ATS10 挂机延时 该命令可设置在 DCE 指示接收线路信号不存在后,DCE 连接到该线路的剩余时间。 语法 ATS10 挂机延时 查询命令 ATS10? tel 配置命令 ATS10= c l 最大响应时间 ue tia 参考 V.25ter Q n 参数 fide 1-15-254 响应 OK 响应 OK 300ms 以 100 毫秒为单位的时延 n 7.12. ATT 音频拨号 Co 该命令用于设置为 DTMF 音频拨号。 语法 ATT 音频拨号 执行命令 ATT 最大响应时间 响应 OK 300ms 上海移远通信技术有限公司 92 / 250 参考 V.25ter 备注 GSM 无效。 M35 AT 命令手册 7.13. AT+CSTA 选择地址类型 根据 GSM 规范,该命令可选择拨号命令(ATD)的号码类型。 语法 l AT+CSTA 选择地址类型 测试命令 te AT+CSTA=? 响应 +CSTA: (取值列表) uec tial 查询命令 AT+CSTA? OK 响应 +CSTA: Q en 最大响应时间 参考 fid GSM 07.07 OK 300ms n 参数 o 129 未知类型,默认值(IDSN 格式号码) C145 拨号字符串包含国际接入代码字符'+'(ISDN 格式号码) 161 国家号码类型(IDSN 格式号码) 其他 参考 GSM04.08[8]第 10.5.4.7 小节 上海移远通信技术有限公司 93 / 250 M35 AT 命令手册 7.14. AT+CLCC 查询当前呼叫 该命令用于查询当前 ME 对 TE 的呼叫。 语法 AT+CLCC 查询当前呼叫 测试命令 响应 AT+CLCC=? OK 执行命令 响应 AT+CLCC 如果命令成功但是没有呼叫,将不会有信息发送到 TE,只返 uectel tial 最大响应时间 Q n 参考 GSM 07.07 回 OK [+CLCC: ,,,,[, ,[,'']] [+CLCC: ,,,,[, ,[,'']] [...]]] OK 功能错误则返回: +CME ERROR: 300ms fide 参数 n Co 整数型,呼叫识别号(参考 GSM 02.30 第 4.5.5.1 小节);该参数可被使用在 AT+CHLD 0 移动发起的呼叫 1 移动终止的呼叫 呼叫状态 0 激活中 1 保持中 2 拨号中(MO 呼叫) 3 振铃中(MO 呼叫) 4 入局呼叫(MT 呼叫) 5 等待中(MT 呼叫) 承载/电信业务 0 语音 1 数据 2 传真 上海移远通信技术有限公司 94 / 250 M35 AT 命令手册 9 未知 0 呼叫不参加多方通话(如:会议) 1 呼叫参加多方通话(如:会议) 字符型;由规定的电话号码格式 指定的字符型电话号码 129 未知类型(IDSN 格式) 145 国际号码(IDSN 格式) 举例 AT+CLCC +CLCC: 1,0,0,0,0,'10086',129,'' OK //ME 当前存在已建立连接的主叫语音通话 l 7.15. AT+CR 业务上报控制 cte l 该命令用于控制是否将中间结果码+CR: 从 TA 返回给 TE。若返回,则该中间结果码将在连接 传输过程中的某一点上进行传输。与此同时,在传输差错控制或数据压缩报告之前,以及传输中间结果码 ue tia CONNECT 之前,TA 已经在连接传输过程中决定了所用业务的速率和质量。 语法 Q n AT+CR 业务上报控制 e 测试命令 AT+CR=? 响应 +CR: (取值列表) fid 查询命令 n AT+CR? OK 响应 +CR: Co 配置命令 OK 响应 AT+CR=[] OK ERROR +CME ERROR: 最大响应时间 300ms 参考 GSM 07.07 URC 提示: +CR: 上海移远通信技术有限公司 95 / 250 参数 0 禁用上报 1 启用上报 ASYNC 异步透传 SYNC 同步透传 REL ASYNC 异步非透传 REL SYNC 同步非透传 M35 AT 命令手册 7.16. AT+CRC 蜂窝结果码 该命令用于控制呼入指示或用于 PDP 上下文激活的 GPRS 网络请求是否使用扩展格式。若使用该格式, 则将使用非请求结果码+CRING: 把来电提示给 TE,而不是使用一般的铃音。 l 语法 te AT+CRC 蜂窝结果码 测试命令 c l AT+CRC=? 响应 +CRC: (取值列表) ue tia 查询命令 Q n AT+CRC? OK 响应 +CRC: e 配置命令 fid AT+CRC=[] n 最大响应时间 o 参考 C GSM 07.07 OK 响应 OK ERROR +CME ERROR: 300ms URC 提示: +CRING: 参数 0 1 禁用扩展格式 启用扩展格式 上海移远通信技术有限公司 96 / 250 M35 AT 命令手册 举例 AT+CRC=1 OK //启用扩展格式 +CRING: VOICE ATH OK AT+CRC=0 OK //语音来电提示 //禁用扩展格式 RING //语音来电提示 ATH OK l 7.17. AT+CSNS 单一编码方案 te 移动台作为被叫,建立单一编码方案的呼叫时,该命令可以设置承载或电信业务。 c l 语法 ue tia AT+CSNS 单一编码方案 测试命令 Q n AT+CSNS=? 响应 +CSNS: (取值列表) e 查询命令 fid AT+CSNS? OK 响应 +CSNS: n 配置命令 Co AT+CSNS=[] OK 响应 OK ERROR +CME ERROR: 最大响应时间 300ms 参考 GSM 07.07 参数 0 1 语音 语音/传真交替模式,语音优先 上海移远通信技术有限公司 97 / 250 2 传真 3 语音/数据交替模式,语音优先 4 数据 5 语音/传真交替模式,传真优先 6 语音/数据交替模式,数据优先 7 数据跟随语音模式 M35 AT 命令手册 7.18. AT+QSFR 配置语音编码模式 语法 AT+QSFR 配置语音编码模式 测试命令 AT+QSFR=? tel 查询命令 c l AT+QSFR? ue tia 配置命令 AT+QSFR= Q en 最大响应时间 fid 参考 Quectel n 参数 Co 0 自动 响应 +QSFR: (取值列表) OK 响应 +QSFR: OK 响应 OK ERROR +CME ERROR: 300ms 1 FR 2 HR 3 EFR 4 AMR_FR 5 AMR_HR 6 FR 和 EFR,FR 优先 7 EFR 和 FR,EFR 优先 8 EFR 和 HR,EFR 优先 9 EFR 和 AMR_FR,EFR 优先 上海移远通信技术有限公司 98 / 250 10 AMR_FR 和 FR,AMR_FR 优先 11 AMR_FR 和 HR,AMR_FR 优先 12 AMR_FR 和 EFR,AMR_FR 优先 13 AMR_HR 和 FR,AMR_HR 优先 14 AMR_HR 和 HR,AMR_HR 优先 15 AMR_HR 和 EFR,AMR_HR 优先 备注 该命令配置自动保存,重启有效。 M35 AT 命令手册 7.19. AT+QSPCH 语音信道类型上报 l 语法 te AT+QSPCH 语音信道类型上报 c l 测试命令 AT+QSPCH=? ue tia 查询命令 Q n AT+QSPCH? e 配置命令 fid AT+QSPCH= n 最大响应时间 o 参考 C Quectel 响应 +QSPCH: (取值列表) OK 响应 +QSPCH:, OK 响应 OK ERROR +CME ERROR: 300ms 当语音信道类型发生变化时,URC 上报: +QSPCH: , 参数 0 关闭上报 1 开启上报 语音通道类型 0 NO SPEECH TCH 1 FR 上海移远通信技术有限公司 99 / 250 2 HR 3 EFR 4 AMR_FR 5 AMR_HR M35 AT 命令手册 7.20. AT+QDISH ATH 使能控制 语法 AT+QDISH ATH 使能控制 测试命令 AT+QDISH=? l 查询命令 AT+QDISH? cte l 配置命令 ue tia AT+QDISH= Q n 最大响应时间 e 参考 Quectel 响应 +QDISH: (取值列表) OK 响应 +QDISH: OK 响应 OK ERROR +CME ERROR: 300ms fid 参数 Con 0 ATH 命令有效 1 ATH 命令无效 上海移远通信技术有限公司 100 / 250 M35 AT 命令手册 8 短消息相关命令 8.1. AT+CSMS 选择短消息业务 语法 AT+CSMS 选择短消息业务 测试命令 AT+CSMS=? tel 查询命令 c l AT+CSMS? ue tia 配置命令 AT+CSMS= Q fiden 最大响应时间 参考 n GSM 07.05 Co 参数 响应 +CSMS: (取值列表) OK 响应 +CSMS: ,,, OK 响应 +CSMS: ,, OK ERROR +CMS ERROR: 300ms 0 GSM 03.40 和 03.41(SMS 的 AT 命令语法与 GSM07.05 Phase 2 中的 4.7.0 版本兼 容;支持不需要新命令语法的 Phase 2+特性(比如:使用 Phase 2+新编码方案的消息 路由)) 128 PDU 模式- TPDU 仅用于发送/接收短消息 移动终止的消息 0 类型不支持 1 类型支持 移动发起的消息 上海移远通信技术有限公司 101 / 250 0 类型不支持 1 类型支持 广播类型的消息 0 类型不支持 1 类型支持 M35 AT 命令手册 8.2. AT+CMGF 配置短消息模式 该命令用于指定短消息的输入和发送的模式。 语法 AT+CMGF 配置短消息模式 测试命令 l AT+CMGF=? te 查询命令 c l AT+CMGF? ue tia 配置命令 Q n AT+CMGF=[] fide 最大响应时间 参考 GSM 07.05 Con 参数 响应 +CMGF:(取值列表) OK 响应 +CMGF: OK 响应 OK ERROR +CMS ERROR: 300ms 0 PDU 模式 1 文本模式 8.3. AT+CSCA 短消息服务中心地址 该命令用于设置 SMSC(Short Message Service Center,短消息服务中心)地址。通过该地址,可以 发送 SMS。文本模式下,发送和配置命令都可以使用该项设置。 上海移远通信技术有限公司 102 / 250 M35 AT 命令手册 PDU 模式下,发送和配置命令也可以使用该项设置,但条件是编码后的 SMSC 地址长度等于 0,编码 后的 SMSC 地址用参数表示。 语法 AT+CSCA 短消息服务中心地址 测试命令 AT+CSCA=? 查询命令 AT+CSCA? 响应 OK 响应 +CSCA: , OK 配置命令 AT+CSCA=[,] l 最大响应时间 te 参考 GSM 07.05 响应 OK ERROR +CMS ERROR: 300ms uec tial 参数 Q n GSM 04.11 RP SC 使用字符型的地址取值字段; BCD 数字(或 GSM 缺省字母字符)需转换为字符;指定的地址类型 服务中心地址格式;GSM 04.11 RP SC 使用整数型的 8 位地址类型(缺省值请参考) fide 备注 1. 输入 SMS 服务中心地址时应该使用服务供应商规定的格式; n 2. 该命令配置可通过 AT+CSAS 保存至 SIM 卡内; 3. 强烈建议使用过程中不要改写 SIM 卡的 SMS 服务中心地址。 Co 举例 AT+CSCA='+8613800210500',145 OK AT+CSCA? +CSCA: '+8613800210500',145 //配置短消息服务中心号码 OK //查询短消息服务中心号码 上海移远通信技术有限公司 103 / 250 M35 AT 命令手册 8.4. AT+CPMS 选择短消息存储器 该命令用于选择读取、存储等操作的存储器,包括,和。 语法 AT+CPMS 选择短消息存储器 测试命令 AT+CPMS=? 响应 +CPMS:( 取 值 列 表 ),( 取 值 列 表 ),( 取值列表) OK 查询命令 l AT+CPMS? 响应 +CPMS: ,,,,,,< mem3>,, te 配置命令 c l AT+CPMS=[,[,]] ue tia 最大响应时间 Q n 参考 GSM 07.05 OK 响应 OK ERROR +CMS ERROR: 300ms fide 参数 Con 读取和删除 SMS 时使用的存储器 'SM' SIM 卡 SMS 存储器 'ME' ME SMS 存储器 'MT' SIM 卡和 MESMS 存储器 存储和发送 SMS 时使用的存储器 'SM' SIM 卡 SMS 存储器 'ME' ME SMS 存储器 'MT' SIM 卡和 MESMS 存储器 若没有建立到 TE 的路由,则将接收的 SMS 存储在该存储器内(AT+CNMI) 'SM' SIM 卡 SMS 存储器 'ME' ME SMS 存储器 'MT' SIM 卡和 ME SMS 存储器 整数型;中当前 SMS 的数量 整数型;中可存储的 SMS 的数量 上海移远通信技术有限公司 104 / 250 M35 AT 命令手册 备注 SIM 卡和 ME 总共最多支持 60 条短消息,其中 SIM 卡优先分配存储空间。SIM 卡最多支持 50 条(各 SIM 的支持条数不一致),ME 最多支持 10 条。 举例 AT+CPMS='SM','SM','SM' +CPMS: 0,50,0,50,0,50 OK //将短消息存储器更改为 SM AT+CPMS? +CPMS: 'SM',0,50,'SM',0,50,'SM',0,50 OK //查询当前短消息存储器配置 tel 8.5. AT+CMGD 删除短消息 c l 该命令可删除优选短消息存储器中,位置号码参数为的消息。 ue tia 语法 AT+CMGD 删除短消息 Q n 测试命令 e AT+CMGD=? 响应 +CMGD: (取值列表),() fid 配置命令 AT+CMGD=[,] Con 最大响应时间 OK 响应 OK ERROR +CMS ERROR: 取决于待删除短消息的数目 参考 GSM 07.05 参数 整数型;关联存储器支持的地址编号范围内的取值 0 删除指定的短信 1 全部删除存储器中的已读短信 2 全部删除存储器中的已读和已发送短信 上海移远通信技术有限公司 105 / 250 M35 AT 命令手册 3 全部删除存储器中的已读、已发送和未发送短信 4 全部删除存储器中的已读、未读、已发送和未发送短信 备注 如果当前存储器中没有短信,操作 AT+CMGD 删除动作,仍返回 OK。 举例 AT+CMGD=1 OK //删除当前存储器中第一条短信 AT+CMGD=1,4 OK //删除当前存储器中全部短信 l 8.6. AT+CMGL 列出优选短消息存储器中的短消息 cte l 该命令可查询优选短消息存储器中,状态值为的消息显示在 TE 中。当=0 或 缺省时,若该短消息处于'已接收未读'状态,则将其状态变为'已接收已读'。当=1 时,若该短消息 ue tia 处于'已接收未读'状态,读取之后消息状态不发生改变。 语法 Q n AT+CMGL 列出优选短消息存储器中的短消息 e 测试命令 响应 AT+CMGL=? +CMGL: (取值列表) fid 配置命令 Con AT+CMGL=[,] OK 响应 1)文本模式(AT+CMGF=1)且该命令执行成功 对于 SMS-SUBMIT 和/或 SMS-DELIVER: +CMGL: ,,,[],[][,, ][ +CMGL: ,,,[],[][,, ][...]] 对于 SMS-STATUS-REPORT: +CMGL: ,,,,[],[],,,[ 上海移远通信技术有限公司 106 / 250 M35 AT 命令手册 +CMGL: ,,,,[],[],,,[...]] 对于 SMS-COMMAND: +CMGL: ,,,[ +CMGL: , , , [...]] 最大响应时间 参考 GSM 07.05 参数 对于 CBM 存储: +CMGL:,,,,,[ +CMGL: ,,,,,< data>[...]] OK l 2)PDU 模式(AT+CMGF=0)且该命令执行成功 +CMGL:,,[], +CMGL: c l ,,[alpha], [...]] ue tia OK 3)功能相关错误: +CMS ERROR: Q n 取决于待列举短消息的数目 onfide 1)文本模式 'REC UNREAD' 已接收但未读的短消息 C'REC READ' 已接收且已读的短消息 'STO UNSENT' 已存储但未发送的短消息 'STO SENT' 已存储且已发送的短消息 'ALL' 所有短消息 2)PDU 模式 0 已接收但未读的短消息 1 已接收且已读的短消息 2 已存储但未发送的短消息 3 已存储且已发送的短消息 4 所有短消息 上海移远通信技术有限公司 107 / 250 M35 AT 命令手册 0 正常(缺省) 1 不改变指定短消息记录状态 字符型;在字母数字混编模式下,MT 电话簿记录对应的或的显示;该特征的 应用与制造商有关;所使用的字符集应与使用'选择 TE 字符集'命令 AT+CSCS 选择的 字符集相同(请参考 TS 07.07 中对该命令的定义) 字符型的 GSM 03.04 中的 TP-Destination-Address 地址——取值字段;将 BCD 数值 (或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(请参考 TS 07.07 中的 AT+CSCS 命令);给定的地址类型 短消息情况下:GSM 03.40 TP-User-Data 在文本模式下返回,格式定义如下: − 若指定用 GSM 03.38 缺省字母格式字符,且指定 GSM 03.40,则没有 设置 TPUser-Data-Header-Indication − 若 TE 字符集不为十六进制数据(参考 TS 07.07 中的 AT+CSCS 命令选择的 TE 字 符集);则根据 Annex A 规则,ME/TA 将 GSM 字母格式字符转换为当前 TE 的 字符集 − 若 TE 字符集为十六进制数据,则 ME/TA 将 GSM 字母格式字符的每个 7 位字符转 换为两个 IRA 字符表示的十六进制书(如字符 P(GSM 32)作为 17(IRA 49 和 l 55)) − 若 指 定 用 8 位 或 UCS2 编 码 方 案 , 或 指 定 GSM03.40 ; 则 设 置 te TPUser-Data-Header-Indication:ME/TA 将 GSM 字母格式字符的每个 8 位字符 转换为用两个 IRA 表示的十六进制数(如:8 位字符代表的整数 42 传给 TE 时用 c l 两个字符来表示 2A(IRA 50 和 65)) ue tia 小区广播情况下:GSM 03.41 CBM 消息内容,在文本模式下返回,格式定义如下: − 若指定用 GSM 03.38 缺省字母格式字符,则 ME/TA 将 GSM 转换成当前 TE 支持的字符 Q n − 若 TE 字符集不为十六进制数(参考 TS 07.07 中的 AT+CSCS 命令选择的 TE 字 e 符集);则根据 Annex A 规则,ME/TA 将 GSM 字母格式字符转换为当前 TE 的 字符集 fid − 若 TE 字符集为十六进制数,则 ME/TA 将 GSM 字母格式字符的每个 7 位总字符自 己转换为两个 IRA 字符表示的十六进制数 − 若指定用 8 位或 UCS2 编码方案,或指定 GSM 03.40;则设置 n TPUser-Data-Header-Indication:ME/TA 将 GSM 字母格式字符的每个 8 位 字符 转换为用两个 IRA 表示的 16 进制数 o整数类型;文本模式(AT+CMGF=1)下,用字符表示(或)消息正文 C的长度;PDU 模式(AT+CMGF=0)下,8 位真实 TP 数据单位的长度(即 RP 层的 SMSC 地址中的 8 位字符将不计算在该长度内) 整数类型;在相应存储器支持的短消息容量内的值 字符型的 GSM 03.40 中的 TP-Destination-Address 地址——取值字段;将 BCD 数值 (或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(参考 TA 07.07 中的 AT+CSCS 命令);给定的地址类型 ISDMS 情况下:GSM 03.40 TPDU。十六进制,遵循 GSM 04.11SC 地址;ME/TA 把 TP 数据单元中每个 8 位字符转换为包含 2 个 IRA 字符的十六进制数字(如:整数取值 为 42 的 8 位字符作为 2 位数字(2A,即 IRA 50 和 65)发送给 TE) 广播消息情况下:使用十六进制的 GSM 03.41 TPDU 上海移远通信技术有限公司 108 / 250 M35 AT 命令手册 使用'时间—字符串'格式的 GSM 03.40 TP-Service-Center-Time-Stamp(参考) 整数型的 GSM 04.11 TP-Destination-Address 中的 8 位:'类型—地址'字段(当 的首字符为+(IRA 43)时,缺省值为 145,否则缺省值为 129) 整数型的 GSM 04.11 TP-Originating-Address 中的 8 位'类型—地址'字段(参考 ) 备注 若直接执行 AT+CMGL,则默认为列举当前存储单元内的全部未读短消息。 举例 AT+CMGF=1 OK //设置短信为文本模式 AT+CMGL='ALL' l +CMGL: 1,'STO UNSENT','','', This is a test from Quectel te +CMGL: 2,'STO UNSENT','','', c l This is a test from Quectel,once again. ue tia OK //列举当前存储单元中的所有短信 Q en 8.7. AT+CMGR 读取短消息 fid 该命令可将短消息存储器中,索引号为的短消息返回到 TE。当=0 或缺省时, 若该短消息处于'已接收未读'状态,则将其状态变为'已接收已读'。当=1 时,若该短消息处于'已接 收未读'状态,读取之后短消息状态不发生改变。 on 语法 C AT+CMGR 读取短消息 测试命令 响应 AT+CMGR=? OK 执行命令 AT+CMGR=[,] 响应 1)文本模式(AT+CMGF=1)且该命令执行成功: 对于 SMS-DELIVER: +CMGR: ,,[],[,,,,,< sca>,,] 上海移远通信技术有限公司 109 / 250 M35 AT 命令手册 对于 SMS-SUBMIT: +CMGR: ,,[][,,,,,[],< sca>,,] 对于 SMS-STATUS-REPORTs: +CMGR: ,,,[],[],,, 最大响应时间 参考 GSM 07.05 参数 对于 SMS-COMMANDs: +CMGR: ,,[,,[],[],[], ] 对于 CBM storage: +CMGR: l ,,,,, te 2)PDU 模式(AT+CMGF=0)且该命令执行成功: c l +CMGR: ,[], ue tia OK 3)功能相关报错: Q n +CMS ERROR: e 取决于待读取短消息的内容长度 onfid 整数类型;关联存储器支持的地址编号范围内取值 C0 正常(缺省) 1 不改变指定短消息记录状态 字符型;在字母数字混编模式下,MT 电话簿记录对应的或的显示;该特征的 应用与制造商有关;所使用的字符集应与使用'选择 TE 字符集'命令 AT+CSCS 选择的 字符集相同(请参考 TS 07.07 中对该命令的定义) 字符型的 GSM 03.04 中的 TP-Destination-Address 地址——取值字段;将 BCD 数值 (或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(请参考 TS 07.07 中的 AT+CSCS 命令);给定的地址类型 短消息情况下:GSM 03.40 TP-User-Data 在文本模式下返回,格式定义如下: − 若指定用 GSM 03.38 缺省字母格式字符,且指定 GSM 03.40,则 上海移远通信技术有限公司 110 / 250 M35 AT 命令手册 没有设置 TPUser-Data-Header-Indication − 若 TE 字符集不为十六进制数据(参考 TS 07.07 中的 AT+CSCS 命令选择的 TE 字 符集);则根据 Annex A 规则,ME/TA 将 GSM 字母格式字符转换为当前 TE 的 字符集 − 若 TE 字符集为十六进制数据,则 ME/TA 将 GSM 字母格式字符的每个 7 位字符转 换为两个 IRA 字符表示的十六进制书(如字符 P(GSM 32)作为 17(IRA 49 和 55)) − 若 指 定 用 8 位 或 UCS2 编 码 方 案 , 或 指 定 GSM03.40 ; 则 设 置 TPUser-Data-Header-Indication:ME/TA 将 GSM 字母格式字符的每个 8 位 字符 转换为用两个 IRA 表示的十六进制数(如:8 位字符代表的整数 42 传给 TE 时用 两个字符来表示 2A(IRA 50 和 65)) − 小区广播情况下:GSM 03.41 CBM 消息内容,在文本模式下返回,格式定义如下: 若指定用 GSM 03.38 缺省字母格式字符,则 ME/TA 将 GSM 转换成当前 TE 支持的字符 − 若 TE 字符集不为十六进制数(参考 TS 07.07 中的 AT+CSCS 命令选择的 TE 字符 l 集);则根据 Annex A 规则,ME/TA 将 GSM 字母格式字符转换为当前 TE 的字 符集 te − 若 TE 字符集为十六进制数,则 ME/TA 将 GSM 字母格式字符的每个 7 位总字符自 己转换为两个 IRA 字符表示的十六进制数 c l − 若指定用 8 位或 UCS2 编码方案,或指定 GSM 03.40;则设置 ue tia TPUser-Data-Header-Indication:ME/TA 将 GSM 字母格式字符的每个 8 位字符 转换为用两个 IRA 表示的 16 进制数 取决于该命令或该命令结果码 GSM 03.38 中的 SMS 数据编码方案。(缺省值 0)或者 小区广播数据编码方案 Q n 取决于该命令结果码 GSM 03.40 SMS-DELIVER,SMS-SUBMIT(缺省值 17), e SMS-STATUS-REPORT 或采用整数型 SMS-COMMAND(缺省值 2) 整数型;文本模式(AT+CMGF=1)下,用字符表示(或)消息正文的 fid 长度;PDU 模式(AT+CMGF=0)下,8 位真实 TP 数据单位的长度(即 RP 层的 SMSC 地址中的 8 位字符将不计算在该长度内) 整数型的 GSM 03.41 CBM 消息标识 n 字符型的 GSM 03.40 中的 TP-Destination-Address 地址——取值字段;将 BCD 数值 (或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(参考 TA 07.07 o中的 AT+CSCS 命令);给定的地址类型 CISDMS 情况下:GSM 03.40 TPDU。十六进制,遵循 GSM 04.11SC 地址;ME/TA 把 TP 数据单元中每个 8 位字符转换为包含 2 个 IRA 字符的十六进制数字(如:整数取值 为 42 的 8 位字符作为 2 位数字(2A,即 IRA 50 和 65)发送给 TE) 广播消息情况下:使用十六进制的 GSM 03.41 TPDU 参考 GSM03.40;TP-协议-标识(缺省值 0) GSM 04.11 中的 RP SC 地址是字符串型参数;将 BCD 数值(或缺省 GSM 默认字母 的字符)转换成 TE 当前选择字符集中的字符(参考 TS 07.07 中的 AT+CSCS 命令); 用来指定地址类型 使用'时间—字符串'格式的 GSM03.40 TP-Service-Center-Time-Stamp(参考) PDU 模式 文本模式 说明 上海移远通信技术有限公司 111 / 250 M35 AT 命令手册 0 'REC UNREAD' 已收到但未读的短消息 1 'REC READ' 已收到且已读的短消息 2 'STO UNSENT' 已存储但未发送的短消息 3 'STO SENT' 已存储且已发送的短消息 4 'ALL' 所有短消息 整数型的 GSM 04.11 TP-Destination-Address 中的 8 位:'类型—地址'字段(当 的首字符为+(IRA 43)时,缺省值为 145,否则缺省值为 129) 整数型的 GSM 04.11 TP-Originating-Address 中的 8 位'类型—地址'字段(参考 ) 服务中心地址格式;GSM 04.11 RP SC 使用整数型的 8 位地址类型(缺省值请参考 ) 取决于 SMS-SUBMIT 的的设置;采用整数型(缺省值 167),或时间—字符型(参 考)的 GSM 03.40 TP-有效期 备注 l 如果当前存储器中没有短信,操作 AT+CMGR 读取短消息动作,仍返回 OK。 cte l 举例 ue tia +CMTI:'SM',3 //新短消息达到,存储在 SIM 卡位置 3 内 AT+CMGR=3 +CMGR: 'REC UNREAD','+8615021012496','','2010/09/25 15:06:37+32',145,4,0,241,'+8 Q n 613800210500',145,27 This is a test from Quectel e OK //读取当前存储器 SIM 卡中第 3 条短信 nfid 8.8. AT+CMGS 发送短消息 o 该命令可将 SMS(SMS-SUBMIT)从 TE 发送到网络层。发送成功后,短消息参考值将返回给 C TE。在接收到非请求发送状态报告结果码时,使用该取值可进行短消息识别。 语法 AT+CMGS 发送短消息 测试命令 AT+CMGS=? 配置命令 1) 文本模式(AT+CMGF=1): AT+CMGS=[,] 响应 OK 响应 1)文本模式(AT+CMGF=1) 且发送成功: +CMGS: 上海移远通信技术有限公司 112 / 250 M35 AT 命令手册 text is entered ESC 退出发送 2)PDU 模式(AT+CMGF=0): +CMGS= PDU is given 最大响应时间 参考 GSM 07.05 OK 2)PDU 模式(AT+CMGF=0)且发送成功: +CMGS: OK 3)功能相关报错: +CMS ERROR: 120s,受网络状态影响 参数 tel c l ue tia 字符型的 GSM 03.04 中的 TP-Destination-Address 地址——取值字段;将 BCD 数值 (或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(请参考 TS 07.07 中的 AT+CSCS 命令);给定的地址类型 整数型的 GSM 04.11 TP-Destination-Address 中的 8 位:'类型—地址'字段(当 的首字符为+(IRA 43)时,缺省值为 145,否则缺省值为 129) 整数型;文本模式(AT+CMGF=1)下,用字符表示(或)消息正文的 长度;PDU 模式(AT+CMGF=0)下,8 位真实 TP 数据单位的长度(即 RP 层的 SMSC 地址中的 8 位字符将不计算在该长度内) 整数型的 GSM 03.40 TP-Message-Reference Q n 备注 fide 发送短消息详细操作请参考 GSM 模块短信应用指导文档。 n 举例 o 发送文本短消息,GSM 格式: AT+CMGF=1 C OK //设置文本短信模式 AT+CSCS='GSM' //设置 TE 输入字符集格式为'GSM'格式 OK AT+CMGS='15021012496' > This is a test from Quectel //输入短信内容,发送,退出 +CMGS: 247 OK 上海移远通信技术有限公司 113 / 250 M35 AT 命令手册 8.9. AT+CMGW 写短消息 该命令可将 SMS(SMS-DELIVER 或 SMS-SUBMIT)从 TE 发送到存储器,并返回已存储短 消息的存储位置参数。除非指定其他参数,否则该短消息的状态将被设置为'存储未发送'。 语法 AT+CMGW 写短消息 测试命令 响应 AT+CMGW=? OK 配置命令 响应 1)文本模式(AT+CMGF=1): AT+CMGW=[,[,]] 文本输入 l 退出发送 1)写短消息成功,返回: +CMGW: OK 2)功能相关报错: +CMS ERROR: te 2)PDU 模式(AT+CMGF=0): c l AT+CMGW=[,] ue tia PDU is given 最大响应时间 参考 Q n GSM 07.05 300ms fide 参数 Con 字符型的 GSM 03.40 中的 TP-Destination-Address 地址——取值字段;将 BCD 数值 (或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(参考 TA 07.07 中的 AT+CSCS 命令);给定的地址类型 字符型的 GSM 03.04 中的 TP-Destination-Address 地址——取值字段;将 BCD 数值 (或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(请参考 TS 07.07 中的 AT+CSCS 命令);给定的地址类型 整数型的 GSM 04.11 TP-Originating-Address 中的 8 位'类型—地址'字段(参考 ) 整数型的 GSM 04.11 TP-Destination-Address 中的 8 位:'类型—地址'字段(当 的首字符为+(IRA 43)时,缺省值为 145,否则缺省值为 129) 129 未知类型(IDSN 格式号码) 145 国际号码类型(IDSN 格式号码) 整数型;文本模式(AT+CMGF=1)下,用字符表示(或)消息正文的 长度;PDU 模式(AT+CMGF=0)下,8 位真实 TP 数据单位的长度(即 RP 层的 SMSC 地址中的 8 位字符将不计算在该长度内) 上海移远通信技术有限公司 114 / 250 M35 AT 命令手册 ISDMS 情况下:GSM 03.40 TPDU。十六进制,遵循 GSM 04.11SC 地址;ME/TA 把 TP 数据单元中每个 8 位字符转换为包含 2 个 IRA 字符的十六进制数字(如:整数取值 为 42 的 8 位字符作为 2 位数字(2A,即 IRA 50 和 65)发送给 TE) 广播消息情况下:使用十六进制的 GSM 03.41 TPDU 整数类型;关联存储器支持的地址编号范围内取值 PDU 模式 文本模式 说明 0 'REC UNREAD' 已收到但未读的短消息 1 'REC READ' 已收到且已读的短消息 2 'STO UNSENT' 已存储但未发送的短消息 3 'STO SENT' 已存储且已发送的短消息 4 'ALL' 所有短消息 备注 写短消息详细操作请参考 GSM 模块短信应用指导文档。 tel 举例 写文本短消息,GSM 格式: c l AT+CMGF=1 ue tia OK AT+CSCS='GSM' OK Q n AT+CMGW='15021012496' > This is a test from Quectel e +CMGW: 4 fid OK //设置文本短消息模式 //设置 TE 输入字符集格式为'GSM'格式 //输入短消息内容,写入,退出 n 8.10. AT+CMSS 从存储器发送短消息 Co 该命令可将短消息存储器中,位置取值参数为的消息发送到网络侧(SMS-SUBMIT 或 SMS-COMMAND)。若给定 SMS-SUBMIT 短消息的新接收地址参数,应使用该参数,而不能使用 已存储短消息的参数。发送成功后,参考值将返回给 TE。在接收到非请求发送状态报告结果码时, 可使用该命令的取值进行短消息识别。 语法 AT+CMSS 从存储器发送短消息 测试命令 响应 AT+CMSS=? OK 上海移远通信技术有限公司 115 / 250 M35 AT 命令手册 配置命令 AT+CMSS=[,[,]] 响应 1)文本模式(AT+CMGF=1)且执行成功: +CMSS: [,] OK 2)PDU 模式( AT +CMGF=0)且执行成功: +CMSS: [,] OK 3)功能相关报错 +CMS ERROR: 最大响应时间 120s,受网络状态影响 参考 GSM 07.05 l 参数 te c l ue tia Q en fid 整数类型;关联存储器支持的地址编号范围内取值 字符型的 GSM 03.04 中的 TP-Destination-Address 地址——取值字段;将 BCD 数值 (或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(请参考 TS 07.07 中的 AT+CSCS 命令);给定的地址类型 整数型的 GSM 04.11 TP-Destination-Address 中的 8 位:'类型—地址'字段(当 的首字符为+(IRA 43)时,缺省值为 145,否则缺省值为 129) 129 未知类型(IDSN 格式号码) 145 国际号码类型(IDSN 格式号码) 整数型的 GSM 03.40 TP-Message-Reference '时间—字符串'格式的 GSM 03.40 TP-Service-Center-Time-Stamp(请参考) RP-ACK PDU 中的 GSM 03.40 RP-User-Data 元素;SMS 情况下,与的格式相 同,但没有 GSM 04.11 SC 地址字段;该参数应放在双引号中,与像普通的字符型参 数一样 Con 8.11. AT+CMGC 发送短消息命令 语法 AT+CMGC 发送短消息命令 测试命令 AT+CMGC=? 配置命令 1)文本模式(+CMGF=1): 响应 OK 响应 1)文本模式(AT+CMGF=1)且执行成功: 上海移远通信技术有限公司 116 / 250 M35 AT 命令手册 AT+CMGC=[,,,,] text is entered 退出不发送 2)PDU 模式(+CMGF=0): AT+CMGC= PDU is given +CMGC: [,] OK 2)PDU 模式(AT+CMGF=0)且执行成功: +CMGC: [,] OK 3)功能相关报错 +CMS ERROR: 最大响应时间 300ms 参考 GSM 07.05 参数 l 取决于该命令或结果码;GSM 03.40 SMS-DELIVER 的前 8 位;SMS-SUBIT(缺省值: 17);SMS-STATUS-REPORT;或采用整数型的 SMS-COMMAND(缺省值:2) te 整数型的 GSM 03.40 TP-Command-Type(缺省值:0) c l 整数型的 GSM 03.40 TP-Protocol-Identifier(缺省值:0) 整数型的 GSM 03.40 TP-Message-Number ue tia 字符型的 GSM 03.04 中的 TP-Destination-Address 地址——取值字段;将 BCD 数值 (或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(请参考 TS 07.07 中的 AT+CSCS 命令);给定的地址类型 Q n 整数型的 GSM 04.11 TP-Destination-Address 中的 8 位:'类型—地址'字段(当 的首字符为+(IRA 43)时,缺省值为 145,否则缺省值为 129) e 129 未知类型(IDSN 格式号码) 145 国际号码类型(IDSN 格式号码) fid 整数型;文本模式(AT+CMGF=1)下,用字符表示(或)消息正文的 长度;PDU 模式(AT+CMGF=0)下,8 位真实 TP 数据单位的长度(即 RP 层的 SMSC 地址中的 8 位字符将不计算在该长度内) n ISDMS 情况下:GSM 03.40 TPDU。十六进制,遵循 GSM 04.11SC 地址;ME/TA 把 oTP 数据单元中每个 8 位字符转换为包含 2 个 IRA 字符的十六进制数字(如:整数取值 为 42 的 8 位字符作为 2 位数字(2A,即 IRA 50 和 65)发送给 TE) C广播消息情况下:使用十六进制的 GSM 03.41 TPDU 整数类型;关联存储器支持的地址编号范围内取值 整数型的 GSM 03.40 TP-Message-Reference '时间—字符串'格式的 GSM 03.40 TP-Service-Center-Time-Stamp(请参考) RP-ACK PDU 中的 GSM 03.40 RP-User-Data 元素;SMS 情况下,与的格式相 同,但没有 GSM 04.11 SC 地址字段;该参数应放在双引号中,与像普通的字符型参 数一样 上海移远通信技术有限公司 117 / 250 M35 AT 命令手册 8.12. AT+CNMI 新短消息指示 当 TE 处于在使用状态时(如:DTR 信号处于'ON'状态),使用配置命令,可设置新到达的短消息如何 从网络侧发送到 TE。若 TE 处于待用状态(如:DTR 信号处于'OFF'状态),短消息接收流程应该按照 GSM 03.38 的规定。 若 DTR 信号不可用或者信号状态被忽略(V.25ter 命令:AT&D0),可使用 AT+CNMI 确认流程确保短 消息的可靠传输。 '选择短消息服务'命令 AT+CSMS 应该用来检测 ME 是否支持接收 SMS 和 CBM,并决定直接发送到 TE 的短消息是否需要确认(请参考 AT+CNMI 命令)。 语法 AT+CNMI 新短消息指示 测试命令 tel AT+CNMI=? 响应 +CNMI: (取值列表),(取值列表),(取值列 表),( 取值列表),(取值列表) c l 查询命令 ue tia AT+CNMI? OK 响应 +CNMI: ,,,, Q n 配置命令 e AT+CNMI=[[,[,[,[,]]]]] OK 响应 OK ERROR +CMS ERROR: 最大响应时间 300ms 参考 n GSM 07.05 Co 参数 控制指定的非请求结果码的处理情况 0 缓冲 TA 中的非请求结果码;若 TA 结果码缓冲器已满,结果码指示可以缓冲存储在其 他存储空间或者把最久的非请求结果码指示丢弃,替换为新接收到的指示 1 当 TA-TE 间的链路被占用(比如:在线数据模式下),丢弃结果码指示,并拒绝新接 收短消息的非请求结果码。否则,直接转发给 TE 2 当 TA-TE 间的链路被占用(比如:在线数据模式下),缓冲 TA 中的非请求结果码; 当链路释放后,把所有结果码发送给 TE。否则,直接转发给 TE 3 在 TA 处于数据模式的情况下,使用特定的 TA-TE 连接技术将结果码和数据同时传给 上海移远通信技术有限公司 118 / 250 M35 AT 命令手册 TE 存储接收短消息的规则取决于数据编码方案(请参考 GSM 03.38[2]);优选短消息存 储器命令(AT+CPMS)的设置和本取值 0 没有 SMS-DELIVER 的指示发给 TE 1 若 SMS-DELIVER 存储在 ME/TA,存储位置靠非请求结果码+CMTI: , 来提示给 TE 2 SMS-DELIVERs(除 Class2 短消息)直接发送给 TE,使用如下非请求结果码:+CMT: [],(启用 PDU 模式)或者+CMT: , [],[,,,,,,,] (启用文本模式);以上斜体部分参数定义参见命令 AT+CSDH.Class2 短消息 指示方式同=1 3 通过使用=2 定义的非请求结果码,Class 3 的 SMS-DELIVER 短消息可直接发送 uectel tial Q en 到 TE。其他数据编码方案下的短消息显示结果均遵循=1 定义 存储接收 CBM 规则取决于数据编码方案(请参考 GSM 03.38[2]);选择小区广播消 息类型命令 AT+CSCB 的设置和本取值 0 无 CBM 指示发送到 TE 2 收到的 CBM 使用如下格式直接发送到 TE: +CBM: (启用 PDU 模式)或者 +CBM:,,,,(启用文本模式) 3 通过使用=2 定义的非请求结果码,Class 3 的 CBM 短消息可直接发送到 TE。其 他数据编码方案下的短消息显示结果均遵循=1 定义 0 无 SMS-STATUS-REPORT 发送到 TE 1 SMS-STATUS-REPORT 短消息使用如下格式直接发送到 TE: +CDS:(启用 PDU 模式)或者 +CDS: ,,[],[],,,(启用文本模式) 0 当为 1...3 时,该命令中定义的 TA 缓存中的非请求结果码发送给 TE(在发送 之前,OK 应该被接收到) 1 当为 1…3 时,将清除该命令中定义的 TA 对非请求结果码的缓冲 fid 举例 n AT+CMGF=1 OK o AT+CSCS='GSM' C OK //设置文本短信模式 //设置 TE 输入字符集格式为'GSM'格式 AT+CNMI=2,1 //设置将短信存储到 ME 或 SIM 卡后,再给出新短信指示 OK +CMTI: 'SM',5 //新短信指示 AT+CNMI=2,2 OK //设置收到新短信,直接打印短信内容 +CMT: '+8615021012496',' ','2010/09/25 17:25:01+32',145,4,0,241,'+8613800210500',145,27 上海移远通信技术有限公司 119 / 250 This is a test from Quectel //收到新短信,直接打印短信内容 M35 AT 命令手册 8.13. AT+CRES 恢复 SMS 设置 AT+CRES 可把短消息服务设置从永久存储器恢复到当前存储器。一个 TA 可以包括几个配置号的设置。 可恢复以下命令规定的设置: 服务中心地址:AT+CSCA 设置文本格式的参数:AT+CSMP 选择小区广播消息类型:AT+CSCB(若执行) 语法 AT+CRES 恢复 SMS 设置 l 查询命令 AT+CRES=? cte l 配置命令 ue tia AT+CRES[=] Q n 最大响应时间 参考 e GSM 07.05 响应 +CRES: (取值列表) OK 响应 OK ERROR +CMS ERROR: 300ms fid 参数 Con 0-3 与制造商有关的配置号;用于存储各项设置 8.14. AT+CSAS 保存 SMS 设置 AT+CSAS 可将当前的短消息服务设置保存到永久存储器。一个 TA 可以包括几个配置号的设置。可保 存以下命令规定的设置: 服务中心地址:AT+CSCA 设置文本格式的参数:AT+CSMP 选择小区广播消息类型:AT+CSCB(若执行) 上海移远通信技术有限公司 120 / 250 M35 AT 命令手册 语法 AT+CSAS 保存 SMS 设置 查询命令 AT+CSAS=? 响应 +CSAS: (取值列表) 配置命令 OK 响应 AT+CSAS[=] OK ERROR +CMS ERROR: 最大响应时间 300ms 参考 GSM 07.05 l 参数 te 0-3 与制造商有关的配置号;用于存储各项设置 uec tial 8.15. AT+CSCB 选择小区广播消息类型 Q n AT+CSCB 可选择 ME 接收到的 CBM 类型。 e 语法 fid AT+CSCB 选择小区广播消息类型 测试命令 n AT+CSCB=? 响应 +CSCB: (取值列表) Co 查询命令 OK 响应 AT+CSCB? +CSCB: ,, 配置命令 AT+CSCB=[,mids>[,]] 最大响应时间 OK 响应 OK ERROR +CMS ERROR: 300ms 上海移远通信技术有限公司 121 / 250 参考 GSM 07.05 M35 AT 命令手册 参数 0 接收由和指定的消息类型 1 不接收由和指定的消息类型 字符型(如'0,1,5,320-478,922');所有可能的 CBM 消息标识的组合(请参考) 字符型(如''0-3,5');所有可能的数据编码方案的组合(请参考)(缺省值为空字符 串) 8.16. AT+CSDH 显示文本格式参数 l 该命令可用于控制是否在文本模式下的结果码中显示详细的头信息。 te 语法 c l AT+CSDH 显示文本格式参数 ue tia 测试命令 AT+CSDH=? 响应 +CSDH: (取值列表) Q n 查询命令 e AT+CSDH? OK 响应 +CSDH: fid 配置命令 AT+CSDH=[] Con 最大响应时间 OK 响应 OK ERROR +CMS ERROR: 300ms 参考 GSM 07.05 参数 0 不在+CMT,+CMGL,+CMGR 命令中显示、、、、和 (+CSCA 和+CSMP 命令中设置的取值),也不显示用于 SMS-DELIVER 和 SMS-SUBMIT 消息的结果码中的、或;对于+CMGR 命令结 果码中的 SMS-COMMAND,不显示、、、、以及 上海移远通信技术有限公司 122 / 250 M35 AT 命令手册 1 在结果码中显示这些取值 举例 AT+CSDH=0 OK AT+CMGR=3 +CMGR: 'REC READ','+8615021012496','','2010/09/25 15:06:37+32' This is a test from Quectel OK AT+CSDH=1 OK AT+CMGR=3 +CMGR: 'REC READ','+8615021012496', ,'2010/09/25 15:06:37+32',145,4,0,241,'+861 l 3800210500',145,27 This is a test from Quectel te OK uec tial 8.17. AT+CSMP 设置文本格式参数 Q n 文本模式下,当向网络侧发送短消息或将短消息存放在存储器中时,使用配置命令可选择需要附加参 e 数取值。除此之外,还可以用于设置从 SMSC 接收到该短消息时算起的有效期(的取值范围:0~255) fid 或定义有效期终止的绝对时间(为字符串时)。的格式由指定。若 TA 支持增强型有效期格 式(($(EVPF)$,请参考 GSM 03.40),应该把 16 进制的编码字符串放于双引号中(请参考)。 语法 n AT+CSMP 设置文本格式参数 o 测试命令 C AT+CSMP=? 响应 +CSMP: (取值列表),(取值列表),(取值列 表),(取值列表) 查询命令 AT+CSMP? OK 响应 +CSMP: ,,, 配置命令 AT+CSMP=[[,[,[, OK 响应 OK 上海移远通信技术有限公司 123 / 250 M35 AT 命令手册 ]]]] 最大响应时间 参考 GSM 07.05 ERROR +CMS ERROR: 300ms 参数 取决于该命令或结果码;GSM 03.40 SMS-DELIVER,SMS-SUBMIT (缺省值:17), SMS-STATUS-REPORT 的前 8 位;或采用整数型 SMS-COMMAND (缺省值:2);在文 本模式下若值设为 49,则支持消息状态报告 取决于 SMS-SUBMIT 的的设置;采用整数型(缺省值:167),或时间字符型(参考) 的 GSM 03.40 TP-有效期 整数型;参考 GSM 03.40 TP-协议-标识(缺省值:0) 整数型;取决于该命令或该命令结果码 GSM 03.38 中的 SMS 数据编码方案 ctel l 8.18. AT+QCLASS0 接收 Class0 短信存储到当前存储器 ue tia 语法 AT+QCLASS0 接收 Class0 短信存储到当前存储器 Q n 测试命令 响应 e AT+QCLASS0=? +QCLASS0: (取值列表) fid 查询命令 AT+QCLASS0? OK 响应 +QCLASS0: on 配置命令 C AT+QCLASS0= OK 响应 OK ERROR +CME ERROR: 最大响应时间 300ms 参考 Quectel 上海移远通信技术有限公司 124 / 250 M35 AT 命令手册 参数 0 接收到 Class0 短信时,不存储到当前短消息存储器内 1 接收到 Class0 短信时,存储到当前短消息存储器内 举例 以文本消息为例: AT+CPMS? +CPMS: 'SM',6,50,'SM',6,50,'SM',6,50 OK AT+QCLASS0=0 OK //设置接收到 Class0 短信时,不存储到当前短消息存储器内 +CMT: '+8615021012496',,'2010/09/26 09:55:37+32' l TEST1 from Quectel //接收到 Class0 短信,MT 直接提示短消息 te AT+QCLASS0=1 OK //设置接收到 Class0 短信时,存储到当前短消息存储器内 uec tial +CMTI:'SM',7 //接收到 Class0 短信,将短消息存储在当前存储器内(参考 AT+CPMS) AT+CMGR=7 +CMGR: 'REC UNREAD','+8615021012496','','2010/09/26 09:56:17+32' Q n TEST2 from Quectel e OK fid 8.19. AT+QMGDA 删除指定类型的所有短信 on 语法 C AT+QMGDA 删除指定类型的所有短信 测试命令 响应 AT+QMGDA=? +QMGDA: (取值列表) 配置命令 AT+QMGDA= OK 响应 OK ERROR +CME ERROR: 上海移远通信技术有限公司 125 / 250 M35 AT 命令手册 最大响应时间 参考 Quectel 取决于待删除短消息的数目 参数 PDU 模式 1 删除所有已读的短消息 2 删除所有未读的短消息 3 删除所有已发送的短消息 4 删除所有未发送的短消息 5 删除所有接收到的短消息 6 删除所有短消息 文本模式 'DEL READ' 删除所有已读的短消息 l 'DEL UNREAD' 删除所有未读的短消息 'DEL SENT' 删除所有已发送的短消息 te 'DEL UNSENT' 删除所有未发送的短消息 c l 'DEL INBOX' 删除所有接收到的短消息 'DEL ALL' 删除所有短消息 Que ntia 8.20. AT+QSMSCODE 配置短消息字符集 e 语法 fid AT+QSMSCODE 配置短消息字符集 测试命令 响应 AT+QSMSCODE=? +QSMSCODE: (取值列表) Con 查询命令 OK 响应 AT+QSMSCODE? +QSMSCODE: 配置命令 AT+QSMSCODE= 最大响应时间 OK 响应 OK ERROR +CME ERROR: 300ms 上海移远通信技术有限公司 126 / 250 参考 Quectel 参数 0 NOKIA 字符集 1 SIEMENS 字符集(默认值) 2 NOKIA 字符集,将 0x11 转译成'_',0x02 转译成'$' M35 AT 命令手册 CQouneficdteenl tial 上海移远通信技术有限公司 127 / 250 M35 AT 命令手册 9 电话本相关命令 9.1. AT+CPBS 选择电话簿存储单元 AT+CPBS 配置命令可选择电话簿存储单元,可用于其它电话簿命令。查询命令 用于返回当前选择的存储单元。 语法 l AT+CPBS 选择电话簿存储单元 测试命令 te AT+CPBS=? uec tial 查询命令 AT+CPBS? Q n 配置命令 e AT+CPBS= fid 最大响应时间 n 参考 Co GSM 07.07 响应 +CPBS: (取值列表) OK 响应 +CPBS:[,,] OK 响应 OK ERROR +CME ERROR: 300ms 参数 'MC' 'RC' 'DC' 'LA' 'BN' 'SD' 'VM' ME 最近未接号码电话簿 ME 最近接听号码电话簿 ME 最近拨号号码电话簿 最近通话号码所有列表(LND/LNM/LNR) SIM 禁拨号码电话簿 SIM 服务号码电话簿 SIM 语音信箱号码电话簿 上海移远通信技术有限公司 128 / 250 M35 AT 命令手册 'FD' SIM 固定拨号号码电话簿(此功能开启及存储容量取决于 SIM 卡) 'LD' SIM 最近拨打的号码电话簿 'ON' SIM 卡(或 ME)中的号码(MSISDN)清单(也可以使用 AT+CNUM 命令读 出该存储器中的信息) 'SM' SIM 电话簿 整数型;表示所选存储器中使用过的位置号码个数 整数型;表示所选存储器中位置号码总数 备注 SIM 最多支持 250 条电话簿记录,ME 最多支持 100 条电话簿记录。 9.2. AT+CPBW 写删电话簿记录 tel 该命令可在当前电话簿存储器的位置号码中写入电话簿记录。通过 AT+CPBS,可选择当前电 话簿存储器。写入的记录字段是与号码有关的电话号码(使用格式)和文本。若 c l 省略这些字段,则将删除电话簿记录。若为空,但给定,则记录将被写入电话簿中第一 个空闲位置。 ue tia 语法 Q n AT+CPBW 写删电话簿记录 测试命令 e AT+CPBW=? 响应 +CPBW: (取值列表),,(取值列 表), fid 配置命令 n AT+CPBW=[,,[, []]] OK 响应 OK ERROR +CME ERROR: 最大响应时间 300ms 参考 GSM 07.07 参数 电话簿存储器中位置号码范围内的整数型取值 字符型;格式的电话号码 上海移远通信技术有限公司 129 / 250 M35 AT 命令手册 整数型的八位字节地址类型(请参考 GSM 04.08[8]第 10.5.4.7 小节);当拨号字符串包括国 际接入代码字符'+'时,缺省值为 145;其他情况下,缺省值为 129 129 未知类型(ISDN 格式) 145 国际号码类型(ISDN 格式) 字符型;最大长度的字符型字段;与'选择 TE 字符集'命令 AT+CSCS 规定的字符 集相同 表示字段最大长度的整数型取值 表示字段最大长度的整数型取值 备注 1. 若当前存储单元是'MC','RC','DC','LA'或'LD',,和参数必须省略, AT+CPBW 命令只支持设置删除当前电话簿的号码记录; 2. 不允许为空; 3. 形式的下面的字符必须通过退出序列进入 l GSM 字符 Seq. Seq.(hex) 注释 5C 5C 35 43 (反斜杠) te ' 22 5C 32 32 (字符串分界符) BSP 8 5C 30 38 (退格键) c l NULL 0 5C 30 30 (GSM 空) 注:„0‟(GSM 空),对于应用层软件,当它们读字符串长度的时候可能引起问题。 Que ntia 举例 AT+CSCS='GSM' e OK fid AT+CPBW=10,'15021012496',129,'QUECTEL' OK //向当前电话簿位置 10 写入新号码 AT+CPBW=10 n OK //删当前电话簿位置 10 的电话簿 Co 9.3. AT+CPBR 查询电话簿记录 该命令操作可返回位置号码范围为 ~ 的电话簿记录,该位置号码范围通过使用 AT+CPBS 从当前电话簿存储中选择。若为空,则只返回指定的电话簿。 语法 AT+CPBR 查询电话簿记录 测试命令 响应 上海移远通信技术有限公司 130 / 250 M35 AT 命令手册 AT+CPBR=? +CPBR: (取值列表), , 配置命令 AT+CPBR= [,] OK 响应 +CPBR:,,,[+C PBR: .....+CPBR: , , , ] OK ERROR +CME ERROR: 最大响应时间 取决于待读取的电话本数目 参考 GSM 07.07 参数 l te c l ue tia Q n 电话簿存储器中位置号码范围内的整数型取值 电话簿存储器中位置号码范围内的整数型取值 字符型;格式的电话号码 整数型的八位字节地址类型(请参考 GSM 04.08[8]第 10.5.4.7 小节) 字符型;最大长度的字符型字段;与'选择 TE 字符集'命令 AT+CSCS 规定的字符 集相同 表示字段最大长度的整数型取值 表示字段最大长度的整数型取值 e 备注 fid 应小于数值。 n 举例 Co AT+CSCS='GSM' OK AT+CPBR=10 +CPBR: 10,'15021012496',129,'QUECTEL' OK //查询当前电话簿位置 10 的电话簿 上海移远通信技术有限公司 131 / 250 M35 AT 命令手册 9.4. AT+CPBF 查找电话簿记录 该命令可从当前电话簿存储器中查找电话簿记录。通过 AT+CPBS,可选择当前电话簿存储器。 该字母数字混编方式的字段以字符串开始。 语法 AT+CPBF 查找电话簿记录 测试命令 AT+CPBF=? 响应 +CPBF: , 配置命令 AT+CPBF=[] uectel tial 最大响应时间 参考 Q n GSM 07.07 OK 响应 [+CPBF: , ,, [[...] +CBPF: ,,,] OK ERROR +CME ERROR: 取决于电话本的存储空间大小 e 参数 fid n o C 最大长度的字符型字段;与 '选择 TE 字符集' 命令 AT+CSCS 规定的字符集相同 电话簿存储器中位置号码范围内的整数型取值 电话簿存储器中位置号码范围内的整数型取值 字符型;格式的电话号码 整数型的八位字节地址类型(请参考 GSM 04.08[8]第 10.5.4.7 小节) 129 未知类型(ISDN 格式) 145 国际号码类型(ISDN 格式) 字符型;最大长度的字符型字段;与'选择 TE 字符集'命令 AT+CSCS 规定的字符 集相同 表示字段最大长度的整数型取值 表示字段最大长度的整数型取值 上海移远通信技术有限公司 132 / 250 备注 缺省时,返回当前电话簿存储器中所有电话簿。 M35 AT 命令手册 9.5. AT+CNUM 用户号码 AT+CNUM 返回与用户相关的 MSISDN(Mobile Station International ISDN Number),该信息可以存 储在 SIM 卡中,也可以存储在 ME 中。若用户有能满足不同业务需求的多个 MSISDN,则每个 MSISDN 将 占用单独一行返回。 语法 AT+CNUM 用户号码 测试命令 l AT+CNUM=? te 执行命令 AT+CNUM Quec ential 最大响应时间 fid 参考 GSM 07.07 响应 OK 响应 +CNUM: [],, [+CNUM: [],, [...]] OK ERROR +CME ERROR: 300ms n 参数 o 与有关,可选项,字母数字混编字符串。所用的字符集与'选择 TE 字符集'命令 CAT+CSCS 规定的相同 指定的字符型电话号码 整数型的八位字节地址类型(请参考 GSM 04.08[8]第 10.5.4.7 小节) 上海移远通信技术有限公司 133 / 250 M35 AT 命令手册 10 GPRS 相关命令 10.1. AT+CGATT GPRS 附着和分离 该命令用于将 MT 附着 GPRS 业务,或将 MT 从 GPRS 业务分离。该命令执行成功后,MT 保持 V.25ter 命令状态。若 MT 已处于请求状态,则忽略执行命令操作,且返回 OK。 当附着状态转为分离状态时,将自动去激活所有 PDP 上下文。 l 语法 te AT+CGATT GPRS 附着和分离 c l 测试命令 AT+CGATT=? 响应 +CGATT: (取值列表) ue tia 查询命令 Q n AT+CGATT? OK 响应 +CGATT: fide 配置命令 AT+CGATT= n 最大响应时间 o 参考 C GSM 07.07 OK 响应 OK ERROR +CME ERROR: 75s,受网络状态影响 参数 GPRS 附着状态 0 分离 1 附着 上海移远通信技术有限公司 134 / 250 举例 AT+CGATT=1 OK AT+CGATT=0 OK AT+CGATT? +CGATT: 0 OK //GPRS 附着 //GPRS 分离 //查询 GPRS 附着状态 M35 AT 命令手册 10.2. AT+CGDCONT 定义 PDP 上下文 该命令可为 PDP 上下文定义参数,该 PDP 上下文是由本地上下文标识参数标识的。该配置命令 的特殊形式 AT+CGDCONT=将使上下文号码的取值成为未定义取值。 tel 语法 c l AT+CGDCONT 定义 PDP 上下文 测试命令 ue tia AT+CGDCONT=? 响应 +CGDCONT: ( 取 值 列 表 ),,, ,(取值列表),(取值 列表) Q en 查询命令 nfid AT+CGDCONT? OK 响应 +CGDCONT:,,,,,+CGDCONT:,,,,, … Co OK 配置命令 响应 AT+CGDCONT=[,,[ OK APN>[,[,[,]]]]] +CME ERROR: 最大响应时间 300ms 参考 GSM 07.07 上海移远通信技术有限公司 135 / 250 M35 AT 命令手册 参数 1~3 数值型参数;用于指定 PDP 上下文标识。该参数对 TE-MT 接口而言是本地参数, 并且可用于其他 PDP 上下文相关命令。 'IP' (分组数据协议类型)字符型参数;用于指定分组数据协议的类型。仅支持'IP', 互联网协议 IP(Internet Protocol)(IETF STD5)。 接入点名称;表示一个字符串参数,用于选择 GGSN 或外部分组数据网络的逻辑名称。若 该参数取值为空或省略,则需要请求签约值。 字符型参数;用于表示对于特定 PDP 上下文,MT 分配的地址空间。若该参数取值为空或 省略,则 TE 在 PDP 启动过程中提供其他取值;若不能提供其他取值,则需要请求动态地 址。即便在 PDP 启动过程中已分配地址,该命令的读出形式仍继续返回为空。使用 AT+CGPADDR 命令,可读出该分配地址。 关闭(若取值省略,则该参数为缺省值);数值型参数;用于控制 PDP 数据压缩。 关闭(若取值省略,则该参数为缺省值);数值型参数;用于控制 PDP 头。 举例 l AT+CGDCONT=1,'IP','CMNET' te OK //定义=1 的 PDP 上下文,PDP 类型为'IP',APN 为'CMNET' uec tial 10.3. AT+CGQREQ 请求的服务质量 Q n AT+CGQREQ 允许 MT 向网络发送 'PDP 上下文激活需求' 消息时,TE 指定一个服务质量。 e 使用配置命令,可为上下文指定一个由(本地)上下文标识参数标识的配置项。该命令的特殊形 式,即 AT+CGQREQ=,取消定义过的服务质量。 fid 语法 n AT+CGQREQ 请求的服务质量 o 测试命令 C AT+CGQREQ=? 响应 +CGQREQ:,( 取 值 列 表),(取值列表),(取值列表),(取值 列表),(取值列表) 查询命令 AT+CGQREQ? OK 响应 +CGQREQ: , , ,>reliability>, , +CGQREQ: ,,,,, … 上海移远通信技术有限公司 136 / 250 M35 AT 命令手册 配置命令 AT+CGQREQ=[,[, [,[,[,]]]]] OK 响应 OK ERROR +CME ERROR: 最大响应时间 300ms 参考 GSM 07.07 参数 l te 整数型参数;用于标识一个 PDP 上下文定义,请参考 AT+CGDCONT 整数型参数;用于指定优先级别 整数型参数;用于指定延时级别 数值型参数;用于指定处理不常见数据丢失的可靠性级别 整数型参数;用于指定峰值吞吐量级别 整数型参数;用于定义平均吞吐量级别 uec tial 10.4. AT+CGQMIN 可接受的最小服务质量 Q n AT+CGQMIN 允许 TE 指定一个可接受的最小服务质量。该配置项由 MT 检验,用于与 'PDP 上下文 激活' 消息所返回的协商配置进行比较。 fide 使用配置命令,可为上下文指定一个由(本地)上下文标识参数标识的配置项。该命令的特殊形 式,即 AT+CGQMIN=,取消定义过的可接受最小服务质量。 n 语法 o AT+CGQMIN 可接受的最小服务质量 测试命令 响应 C AT+CGQMIN=? +CGQMIN:,(取值列表),( 取 值 列 表 ),( 取 值 列 表 ),( 取 值 列 表),(取值列表) 查询命令 AT+CGQMIN? OK 响应 +CGQMIN: ,,,,,+CGQMIN: ,,,,, … 配置命令 AT+CGQMIN=[,[,< delay>[,[,[, ]]]]] OK 响应 OK ERROR +CME ERROR: 最大响应时间 300ms 参考 GSM 07.07 参数 l te c l 整数型参数;用于标识一个 PDP 上下文定义,请参考 AT+CGDCONT 整数型参数;用于指定优先级别 整数型参数;用于指定延时级别 数值型参数;用于指定处理不常见数据丢失的可靠性级别 整数型参数;用于指定峰值吞吐量级别 整数型参数;用于定义平均吞吐量级别 Que ntia 10.5. AT+CGACT PDP 上下文激活和去激活 e 该命令可激活或去激活指定的 PDP 上下文。该命令执行成功后,MT 保持 V.25ter 命令状态。若 PDP fid 上下文已处于请求状态,则该状态保持不变。当执行该命令的激活形式时,若 MT 没有附着 GPRS,MT 首 先进行 GPRS 附着,然后尝试激活指定的上下文。 n 语法 o AT+CGACT PDP 上下文激活和去激活 C 测试命令 响应 AT+CGACT=? +CGACT: (取值列表) 查询命令 AT+CGACT? OK 响应 +CGACT: ,[+CGACT:…] OK 上海移远通信技术有限公司 138 / 250 配置命令 AT+CGACT=[,] 最大响应时间 参考 GSM 07.07 响应 OK NO CARRIER +CME ERROR : 150s,受网络状态影响 M35 AT 命令手册 参数 PDP 上下文激活和去激活 0 去激活 1 激活 整数型参数;用于标识一个 PDP 上下文定义,请参考 AT+CGDCONT。缺省值为 1。 l 举例 te AT+CGDCONT=1,'IP','CMNET' c l OK //定义=1 的 PDP 上下文,PDP 类型为'IP',APN 为'CMNET' AT+CGACT=1,1 //PDP 激活 ue tia OK AT+CGACT=0,1 //PDP 去激活 NO CARRIER Q en 10.6. AT+CGDATA 进入数据模式 fid 该命令设置 MT 使用一个或多个 GPRS PDP 类型,执行相应的操作,在 TE 和网络间建立通信。 n MT 不处理 AT 命令中 AT+CGDATA 之后的命令。 Co 语法 AT+CGDATA 进入数据模式 测试命令 AT+CGDATA=? 响应 +CGDATA: (取值列表) 配置命令 AT+CGDATA=[,[,[,… ]]] OK 响应 OK NO CARRIER +CME ERROR : 上海移远通信技术有限公司 139 / 250 M35 AT 命令手册 最大响应时间 参考 GSM 07.07 300ms 参数 字符型参数;用于表示 TE 和 MT 之间网络建立通信时 PDP 上下文使用的 2 层协议: 'PPP' 点到点协议,为一个分组数据协议,例如 IP 服务 整数型参数;用于标识一个 PDP 上下文定义,请参考 AT+CGDCONT 10.7. AT+CGPADDR 显示 PDP 地址 该命令可返回指定上下文标识的 PDP 地址列表。 l 语法 te AT+CGPADDR 显示 PDP 地址 c l 测试命令 AT+CGPADDR=? 响应 +CGPADDR: (取值列表) ue tia 查询命令 Q n AT+CGPADDR= OK 响应 +CGPADDR: [, ] fide 最大响应时间 参考 n GSM 07.07 OK ERROR 300ms Co 参数 整数型参数;用于标识一个 PDP 上下文定义,请参考 AT+CGDCONT 字符型参数;用于标识特定 PDP 上下文 MT 所获取的地址。该地址可以是静态的,也可以 是动态的。对于静止地址来说,当上下文定义后通过 AT+CGDCONT 命令设置的地址;对 于动态地址来说,在最后一次 PDP 上下文激活过程中,使用被参考的上下文定义时 所指配的地址。当地址不可用时,则省 上海移远通信技术有限公司 140 / 250 M35 AT 命令手册 举例 AT+CGDCONT=1,'IP','CMNET' OK //定义=1 的 PDP 上下文,PDP 类型为'IP',APN 为'CMNET' AT+CGACT=1,1 //激活 PDP 场景=1 OK AT+CGPADDR=1 //查询场景=1 的 PDP 地址 +CGPADDR: 1,'10.76.51.180' OK 10.8. AT+CGCLASS GPRS 移动台类别 该命令可根据指定的 GPRS 移动台类别设置 MT,使之能够进行操作。 l 语法 te AT+CGCLASS GPRS 移动台类别 c l 测试命令 响应 AT+CGCLASS=? +CGCLASS: (取值列表) ue tia 查询命令 Q n AT+CGCLASS? OK 响应 +CGCLASS: fide 配置命令 AT+CGCLASS= n 最大响应时间 o 参考 C GSM 07.07 OK 响应 OK NO CARRIER +CME ERROR : 30s,受网络状态影响 参数 字符型参数;表示 GPRS 移动台的类别(按功能的降序排列) 'B' 类别 B 'CG' 仅在 GPRS 模式下为类别 C 'CC' 仅在电路交换模式下为类别 C(最低级别) 上海移远通信技术有限公司 141 / 250 M35 AT 命令手册 10.9. AT+CGEREP 非请求 GPRS 事件上报控制 该命令可根据指定的 GPRS 移动台类别设置 MT,使之能够进行操作。 语法 AT+CGEREP 非请求 GPRS 事件上报控制 测试命令 响应 AT+CGEREP=? +CGEREP: (取值列表) OK 查询命令 响应 AT+CGEREP? l 配置命令 AT+CGEREP= cte l 最大响应时间 ue tia 参考 GSM 07.07 +CGEREP: OK 响应 OK ERROR +CME ERROR: 300ms Q n 参数 e 0 缓冲 MT 中的非请求结果码;若 MT 结果码缓冲器已满,则丢弃最旧的结果码。不转发 fid 结果 码给TE 1 当保留 MT-TE 链路时(比如:在线数据模式下),丢弃非请求结果码;否则,直接转发 给 TE n 请参考 AT+CGDCONT o 请参考 AT+CGDCONT 请参考 AT+CGDCONT C 请参考 AT+CGCLASS 备注 相关 URC 上报: +CGEV: NW DEACT , [,] +CGEV: ME DEACT , [,] +CGEV: NW DETACH +CGEV: ME CLASS 上海移远通信技术有限公司 142 / 250 M35 AT 命令手册 10.10. AT+CGREG GPRS 网络注册状态 该命令可控制关于 GPRS 注册状态一些中间结果码的显示。 当=1 并且 GPRS 注册状态发生改变,会有+CGREG : 的提示; 当=2,GPRS 注册状态发生改变且注册小区发生改变,会有+CGREG : [,,]的 提示。 语法 AT+CGREGGPRS 网络注册状态 测试命令 响应 AT+CGREG=? 查询命令 l AT+CGREG? cte l 配置命令 AT+CGREG=[] Que ntia 最大响应时间 参考 e GSM 07.07 +CGREG: (取值列表) OK 响应 +CGREG: ,[,,] OK 响应 OK ERROR +CME ERROR: 300ms fid 参数 n Co 0 禁用网络注册非请求结果码+CGREG: 1 启用网络注册非请求结果码+CGREG: 2 启用网络注册非请求结果码+CGREG: [,,] 0 未注册;ME 当前没有搜索注册业务的新营运商 1 已注册,本地网 2 未注册,但 ME 正在搜索注册业务的新营运商 3 注册被拒绝 4 未知 5 已注册,漫游 字符型;2 位十六进制位置区代码(比如:00C3 相当于十六进制中的 195) 字符型;2 位十六进制小区编号 上海移远通信技术有限公司 143 / 250 举例 AT+CGATT=0 NO CARRIER +CGREG: 0,'1878','0873' AT+CGATT=1 OK +CGREG: 2,'1878','0873' +CGREG: 1,'1878','0873' M35 AT 命令手册 10.11. AT+CGSMS 为 MO SMS 选择业务 该命令用于在 MT 发送 MO SMS 消息时,指定业务或业务优先级别。 tel 语法 c l AT+CGSMS 为 MO SMS 选择业务 测试命令 ue tia AT+CGSMS=? 响应 +CGSMS: (取值列表) Q n 查询命令 AT+CGSMS? OK 响应 +CGSMS: fide 配置命令 AT+CGSMS=[] on 最大响应时间 C 参考 OK 响应 OK ERROR +CME ERROR: 300ms GSM 07.07 参数 使用的业务或业务优先级别 0 GPRS 1 电路交换 2 GPRS 优先(若 GPRS 不可用,则使用电路交换) 上海移远通信技术有限公司 144 / 250 3 电路交换优先(若电路交换不可用,则使用 GPRS) M35 AT 命令手册 10.12. AT+QGPCLASS 配置 GPRS 多时隙级别 语法 AT+QGPCLASS 配置 GPRS 多时隙级别 测试命令 响应 AT+QGPCLASS=? MULTISLOT CLASS: (取值列表) 查询命令 AT+QGPCLASS? tel 配置命令 AT+QGPCLASS= uec tial 最大响应时间 参考 Q n Quectel e 参数 Confid GPRS多时隙级别 OK 响应 MULTISLOT CLASS: OK 响应 OK ERROR +CME ERROR: 300ms 上海移远通信技术有限公司 145 / 250 M35 AT 命令手册 11 TCPIP 相关命令 11.1. AT+QIOPEN 建立 TCP 连接或注册 UDP 端口号 语法 AT+QIOPEN 建立 TCP 连接或注册 UDP 端口号 测试命令 响应 AT+QIOPEN=? +QIOPEN: (取值列表),(IP address range),(port l range) +QIOPEN:(取值列表),(domain name),(port range) cte l 配置命令 ue tia AT+QIOPEN=[,],/, OK 响应 如果格式正确,返回: OK 否则,返回: ERROR e 如果连接已经存在,返回 fid ALREAY CONNECT 返回 OK 后,如果连接成功,返回: [,] CONNECT OK on返回 OK 后,如果连接失败,返回: [,] CONNECT FAIL C OK、ERROR 或 ALREADY CONNECT 的超时时间为 300ms, 最大响应时间 [,] CONNECT OK 或[,] CONNECT FAIL 的 超时时间为 75s,受网络状态影响 参考 Quectel 上海移远通信技术有限公司 146 / 250 M35 AT 命令手册 参数 0~5 表明连接序号(M35F 支持 6 个 SOCKET 同时存在。当且仅 AT+QIMUX=1 时, 该参数有效。当 AT+QIMUX=0 时,该参数必须缺省(请参考 AT+QIMUX) 字符串类型;表明连接类型 'TCP' 建立 TCP 连接 'UDP' 建立 UDP 连接 字符串类型;表明远端服务器 IP 地址 远端服务器端口号 字符串类型;表明远端服务器域名地址 备注 1. 当 ME 状态(可以通过 AT+QISTAT 查询)为 IP INITIAL 或者 IP STATUS 或者 IP CLOSE 时才建 立连接。若非以上状态,需要通过操作 AT+QIDEACT 或 AT+QICLOSE 使 ME 处于以上状态才能正 常建立连接; l 2. 当 AT+QIMUX=0 时,当前已存在连接或 AT+QIMUX=1 时,指定序号也存在连接,那么再次操作 AT+QIOPEN 会返回 ALREADY CONNECT。 uecte tial 11.2. AT+QISEND 发送TCP或 UDP数据 语法 Q n AT+QISEND 发送 TCP 或者 UDP 数据 e 测试命令 响应 fid AT+QISEND=? +QISEND: n 执行命令 AT+QISEND o 响应'>',输入数据,执行 CTRL+Z 来发 C 送,执行 ESC 来终止操作 OK 响应 如果连接存在,发送成功返回: SEND OK 注:该操作当且仅当 AT+QIMUX=0 时可 如果连接存在,发送失败返回: 执行 SEND FAIL 配置命令 1)单路连接时(+QIMUX=0) AT+QISEND= 响应'>',输入数据,直到数据长度达到 如果 TCP 或 UDP 连接未建立,返回: ERROR 响应 如果连接存在,发送成功返回: SEND OK 上海移远通信技术有限公司 147 / 250 M35 AT 命令手册 字长发送 如果连接存在,发送失败返回: SEND FAIL 2)多路连接时(+QIMUX=1) AT+QISEND=[,] 如果 TCP 或 UDP 连接未建立,返回: 若缺省,响应'>',输入数据, ERROR 执行 CTRL+Z 来发送,执行 ESC 来终止 操作; 若不缺省,响应'>',输入数据, 直到数据长度达到字长发送 最大响应时间 300ms 参考 Quectel 参数 l te 数字参数;表明连接序号;该参数仅适用于 AT+QIMUX=1,若 AT+QIMUX=0,该参数必须 缺省 数字参数,表明发送数据长度。该数值最大支持 1460 c l 备注 ue tia 1. 执行命令 AT+QISEND 操作,仅在 AT+QIMUX=0 可操作; 2. AT+QISEND 不可发送空字符,返回 SEND FAIL; Q n 3. 只有在 TCP 或 UDP 连接建立时发送数据; 4. SEND OK 提示只表明数据已经传输至窗口进行发送,并不表示该数据已经收到确认报文。为确保数 e 据确认发送至对方,可以通过执行 AT+QISACK 命令进行查询。 nfid 11.3. AT+QICLOSE 关闭 TCP 或 UDP 连接 Co 语法 AT+QICLOSE 关闭 TCP 或 UDP 连接 测试命令 响应 AT+QICLOSE=? OK 执行命令 AT+QICLOSE 响应 如果关闭连接成功返回: CLOSE OK 如果关闭连接失败,返回: ERROR 上海移远通信技术有限公司 148 / 250 配置命令 AT+QICLOSE= 最大响应时间 参考 Quectel 响应 如果关闭连接成功返回: , CLOSE OK 如果关闭连接失败,返回: ERROR 300ms M35 AT 命令手册 参数 数字参数;表明连接序号; 该参数仅适用于 AT+QIMUX=1,若 AT+QIMUX=0,该参数必须缺省 l 备注 cte l 1. 对于 AT+QICLOSE操作: 当 AT+QISRVC=1 且 AT+QIMUX=0 时,返回 CLOSE OK,关闭 ME 作为 Client 连接远程 Server ue tia 的连接; 当 AT+QISRVC=1 且 AT+QIMUX=1 时,返回 ERROR; 当 AT+QISRVC=2 且 AT+QIMUX=0 时,返回 CLOSE OK,关闭 ME 作为 Server,远程 Client Q n 连接 ME 建立的连接; 当 AT+QISRVC=2 且 AT+QIMUX=0 时,此时若无其他 Client 处于监听状态,该操作将使 ME e 退出监听状态; 当 AT+QISRVC=2 且 AT+QIMUX=1 时,ME 作为 Server,该操作将关闭 ME 作为 Server,远 fid 程 Client 连接 ME 建立的所有连接并且退出监听状态。 2. 对于 AT+QICLOSE=操作: 该命令操作只在 AT+QIMUX=1 时有效; n 当 AT+QISRVC=1 且 AT+QIMUX=1 时,该操作将会关闭 ME 作为第的 Client 连接远 o 程 Server 的连接并保留 ME 作为 Server 接入的 Client 连接; 当 AT+QISRVC=2 且 AT+QIMUX=1 时,该操作将会关闭 ME 作为 Server 接入的第的 C远程 Client 连接; 3. 当 AT+QISRVC=1 且 AT+QIMUX=0 时,AT+QICLOSE 只在 AT+QISTAT 为 CONNECTING 或 CONNECT OK 状态时操作成功,其他状态返回 ERROR。关闭连接成功后,状态变化为 IP CLOSE。 上海移远通信技术有限公司 149 / 250 M35 AT 命令手册 11.4. AT+QIDEACT 关闭 GPRS/CSD PDP 场景 语法 AT+QIDEACT 关闭 GPRS/CSD PDP 场景 测试命令 响应 AT+QIDEACT=? OK 配置命令 AT+QIDEACT 响应 如果关闭成功返回: DEACT OK 最大响应时间 参考 l Quectel 如果关闭失败,返回: ERROR 40s,受网络状态影响 CSD 相关配置暂不支持 cte l 备注 ue tia 1. AT+QIDEACT 可关闭除 IP INITIAL 状态的任何 GPRS/CSD PDP 场景。关闭成功后,状态恢复至 IP INITIAL; 2. AT+QIMUX=0 时,AT+QIDEACT 可关闭当前连接和场景; Q n 3. AT+QIMUX=1 时,AT+QIDEACT 使所有连接和场景关闭。 fide 11.5. AT+QILPORT 配置本地端口号 n 语法 o AT+QILPORT 配置本地端口号 测试命令 C AT+QILPORT=? 响应 +QILPORT: (取值列表) 查询命令 AT+QILPORT? OK 响应 : : OK 上海移远通信技术有限公司 150 / 250 M35 AT 命令手册 配置命令 AT+QILPORT=, 最大响应时间 参考 Quectel 响应 OK ERROR 300ms CSD 相关配置暂不支持 参数 字符串参数;表明连接类型 'TCP' TCP 本地端口号 'UDP' 0~65535 UDP 本地端口号 数字参数,表明本地端口号 l 11.6. AT+QIREGAPP 启动任务并设置接入点 APN、用户名和密码 cte l 语法 ue tia AT+QIREGAPP 启动任务并设置接入点 APN、用户名和密码 测试命令 响应 AT+QIREGAPP=? +QIREGAPP: 'APN','USER','PWD' Q en 查询命令 fid AT+QIREGAPP? OK 响应 +QIREGAPP: ,, n 执行命令 AT+QIREGAPP Co 配置命令 OK 响应 OK ERROR 响应 AT+QIREGAPP=,,< OK password>[,] ERROR 最大响应时间 300ms 参考 Quectel CSD 相关配置暂不支持 上海移远通信技术有限公司 151 / 250 M35 AT 命令手册 参数 字符串参数;表明 GPRS/CSD 接入点名称 字符串参数;表明 GPRS/CSD 接入点用户名 字符串参数;表明 GPRS/CSD 接入点用户密码 表明 CSD 数据传输速率 备注 1. 当且仅当 ME 处于 IP INITIAL 状态时,执行命令和配置命令操作有效,操作成功后 ME 状态将变化 为 IP START; 2. AT+QICSGP 控制该执行命令参数的缺省值。 11.7. AT+QIACT 激活移动场景(或发起 GPRS/CSD 无线连接) tel 语法 c l AT+QIACT 激活移动场景(或发起 GPRS/CSD 无线连接) 测试命令 响应 ue tia AT+QIACT=? OK 执行命令 Q n AT+QIACT 响应 OK ERROR e 最大响应时间 150s,受网络状态影响 fid 参考 Quectel CSD 相关配置暂不支持 n 备注 o 1. AT+QIACT 只有在 IP START 状态下才能操作并激活移动场景,执行后状态变化为 IPCONFIG; C 2. 在 ME 接收激活场景操作后,如果移动场景激活成功,状态变化为 IP GPRSACT,返回 OK,否则 返回 ERROR。 上海移远通信技术有限公司 152 / 250 M35 AT 命令手册 11.8. AT+QILOCIP 获取本地 IP 地址 语法 AT+QILOCIP 获取本地 IP 地址 测试命令 AT+QILOCIP=? 执行命令 AT+QILOCIP 响应 OK 响应 若执行成功,返回: 最大响应时间 参考 l Quectel 否则,返回: ERROR 300ms CSD 相关配置暂不支持 cte l 参数 ue tia 字符串参数;表明 GPRS/CSD 方式下获取的 IP 地址 Q n 备注 e 只有在移动场景已激活状态:IP GPRSACT、TCP/UDP CONNECTING、CONNECT OK、IP CLOSE fid 下才可以通过 AT+QILOCIP 查询到本地 IP 地址,否则返回 ERROR。 n 11.9. AT+QISTAT 查询当前连接状态 Co 语法 AT+QISTAT 查询当前连接状态 测试命令 AT+QISTAT=? 执行命令 AT+QISTAT 响应 OK 响应 当 AT+QIMUX=0 是,返回: OK STATE: 上海移远通信技术有限公司 153 / 250 M35 AT 命令手册 最大响应时间 参考 Quectel 当 AT+QIMUX=1 是,返回: (+QISTAT: , , , ) 列表 OK 300ms CSD 相关配置暂不支持 参数 字符串参数;表明连接状态 'IP INITIAL' 初始化 'IP START' 启动任务 'IP CONFIG' 配置场景 l 'IP IND' 激活 GPRS/CSD 场景中 'IP GPRSACT' 接收场景配置 te 'IP STATUS' 获得本地 IP 地址(参考 AT+QILOCIP 命令) c l 'TCP CONNECTING' TCP 连接中 'UDP CONNECTING' UDP 连接中 ue tia 'IPCLOSE' TCP/UDP 连接关闭 'CONNECT OK' TCP/UDP 连接成功 'PDP DEACT' GPRS/CSD 场景异常关闭 Q n 在 ATV0 配置下,数字和字符串对应含义如下: e 0 'IP INITIAL' 1 'IP START' fid 2 'IP CONFIG' 3 'IP IND' 4 'IP GPRSACT' n 5 'IP STATUS' o 6 'TCP CONNECTING' or 'UDP CONNECTING' 7 'IP CLOSE' C8 'CONNECT OK' 9 'PDP DEACT' 连接序号,范围为 0-5 连接类型 'TCP' TCP 连接 'UDP' UDP 连接 远程连接或接入 IP 地址 远程连接或接入端口号 上海移远通信技术有限公司 154 / 250 M35 AT 命令手册 11.10. AT+QISTATE 查询当前接入的连接状态 语法 AT+QISTATE 查询当前连接状态 测试命令 AT+QISTATE=? 响应 OK 执行命令 AT+QISTATE 响应 当 AT+QIMUX=0 是,返回: OK STATE: 最大响应时间 参考 Quectel 参数 当 AT+QIMUX=1 是,返回: OK STATE: l +QISTATE: ,,,, te OK c l 否则,返回: ue tia ERROR 300ms Q n CSD 相关配置暂不支持 fide 字符串参数;表明连接状态,当 AT+QIMUX=0 时: 'IP INITIAL' 初始化 n 'IP START' 启动任务 o 'IP CONFIG' 配置场景 'IP IND' 激活 GPRS/CSD 场景中 C'IP GPRSACT' 接收场景配置 'IP STATUS' 获得本地 IP 地址(参考 AT+QILOCIP 命令) 'TCP CONNECTING' TCP 连接中 'UDP CONNECTING' UDP 连接中 'IP CLOSE' TCP/UDP 连接关闭 'CONNECT OK' TCP/UDP 连接成功 'PDP DEACT' GPRS/CSD 场景异常关闭 当 AT+QIMUX=1 时: 'IP INITIAL' 初始化 上海移远通信技术有限公司 155 / 250 M35 AT 命令手册 'IP START' 启动任务 'IP CONFIG' 配置场景 'IP IND' 激活 GPRS/CSD 场景中 'IP GPRSACT' 接收场景配置 'IP STATUS' 获得本地 IP 地址(参考 AT+QILOCIP 命令) 'IP PROCESSING' 数据阶段 'PDP DEACT' GPRS/CSD 场景异常关闭 连接序号,范围为 0-5 连接类型 'TCP' TCP 连接 'UDP' UDP 连接 远程连接或接入 IP 地址 远程连接或接入端口号 字符串参数;表明接入连接状态,有 INITIAL,CONNECTED l 11.11. AT+QISSTAT 查询当前 Server 状态 cte l 语法 ue tia AT+QISSTAT 查询当前 Server 状态 测试命令 响应 AT+QISSTAT=? OK Q n 执行命令 fide AT+QISSTAT 响应 当 AT+QIMUX=0 是,返回: OK S: 当 AT+QIMUX=1 是,返回: nOK S: Co C: ,,, 否则,返回: ERROR 最大响应时间 300ms 参考 Quectel 上海移远通信技术有限公司 156 / 250 M35 AT 命令手册 参数 字符串参数;表明连接状态 'INITIAL' 初始化 'OPENNING' 启动任务 'LISTENING' 监听状态 'CLOSING' 关闭过程中 连接序号,范围为 0-4(注:当模块做 Server 工作时,最多能接入 5 路连接) 连接类型 'TCP' TCP 连接 'UDP' UDP 连接 远程连接或接入 IP 地址 远程连接或接入端口号 l 11.12. AT+QIDNSCFG 配置域名服务器 DNS te 语法 c l AT+QIDNSCFG 配置域名服务器 DNS ue tia 测试命令 响应 AT+QIDNSCFG=? OK 查询命令 响应 Q n AT+QIDNSCFG? PrimaryDns: SecondaryDns: fide 配置命令 OK 响应 AT+QIDNSCFG=[,] ERROR 最大响应时间 300ms o 参考 C Quectel 参数 字符串参数;表明主域名服务器的 IP 地址 字符串参数;表明二级域名服务器的 IP 地址 上海移远通信技术有限公司 157 / 250 M35 AT 命令手册 备注 当激活 GPRS/CSD 场景时,TA 会主动向 GPRS/CSD 网络获取 DNS 服务器。因此强烈建议在状态为 IP GPRSACT,IP STATUS,CONNECT OK 和 IP CLOSE 时,配置 DNS 服务器。 11.13. AT+QIDNSGIP 域名解析 语法 AT+QIDNSGIP 域名解析 测试命令 AT+QIDNSGIP=? 配置命令 AT+QIDNSGIP= Quectenl tial 最大响应时间 e 参考 Quectel 响应 OK 响应 OK ERROR 返回 OK 后,若解析成功: 返回 OK 后,若解析失败: ERROR: STATE: 14s,受网络状态影响 fid 参数 n o C 字符串参数;表明 Internet 上注册的域名 字符串参数;表明 IP 地址对应的域名 数字参数;表明错误代码号 1 DNS 未授权错误 2 参数配置错误 3 网络错误 4 未找到服务器 5 超时 6 未配置 7 无内存 8 未知错误 参考 AT+QISTAT 上海移远通信技术有限公司 158 / 250 M35 AT 命令手册 11.14. AT+QIDNSIP 配置使用 IP 地址连接还是域名连接 语法 AT+QIDNSIP 配置使用 IP 地址连接还是域名连接 测试命令 响应 AT+QIDNSIP=? +QIDNSIP: (取值列表) 查询命令 AT+QIDNSIP? OK 响应 +QIDNSIP: 配置命令 AT+QIDNSIP= l 最大响应时间 te 参考 c l Quectel OK 响应 OK ERROR 300ms ue tia 参数 Q en 数字参数;表明连接使用 IP 地址连接还是使用域名连接 0 使用 IP 地址连接 1 使用域名方式连接 fid 11.15. AT+QIHEAD 配置接收数据时是否显示 IP 头 on 语法 C AT+QIHEAD 配置接收数据时是否显示 IP 头 测试命令 响应 AT+QIHEAD=? +QIHEAD: (取值列表) 查询命令 AT+QIHEAD? OK 响应 +QIHEAD: OK 上海移远通信技术有限公司 159 / 250 M35 AT 命令手册 配置命令 AT+QIHEAD= 最大响应时间 参考 Quectel 响应 OK ERROR 300ms 参数 数字参数;表明接收数据时是否显示 IP 头 0 不显示 IP 头 1 显示 IP 头,格式为 'IPD(data length) :' l 11.16. AT+QIAUTOS 设置自动发送 TCP/UDP 数据时间 te 语法 c l AT+QIAUTOS 设置自动发送 TCP/UDP 数据时间 ue tia 测试命令 响应 AT+QIAUTOS=? +QIAUTOS: (取值列表), (取值列表) Q n 查询命令 e AT+QIAUTOS? OK 响应 +QIAUTOS: , fid 配置命令 AT+QIAUTOS=[,] on 最大响应时间 C 参考 OK 响应 OK ERROR 300ms Quectel 参数 数字参数;表明发送 TCP/UDP 数据时是否设置自动发送功能 0 未设置自动发送数据(缺省值) 1 设置自动发送数据 数字参数;表明自动发送数据时间。操作 AT+QISEND,输入数据耗时后,数据自动 发送 上海移远通信技术有限公司 160 / 250 M35 AT 命令手册 11.17. AT+QIPROMPT 设置发送数据时是否显示'>'和'SEND OK' 语法 AT+QIPROMPT 设置发送数据时是否显示'>'和'SEND OK' 测试命令 AT+QIPROMPT=? 查询命令 响应 +QIPROMPT: (取值列表) OK 响应 AT+QIPROMPT? +QIPROMPT: OK 配置命令 响应 AT+QIPROMPT= 最大响应时间 l 参考 te Quectel OK ERROR 300ms c l 参数 ue tia 数字参数;表明 AT+QISEND 操作后,是否显示'>'和'SEND OK' 0 发送成功时不显示'>',返回'SEND OK' Q n 1 发送成功时显示'>',返回'SEND OK' 2 发送成功时不显示'>',不返回'SEND OK' e 3 发送成功时显示'>',返回', SEND OK' fid 11.18. AT+QISERVER 配置为服务器 on 语法 C AT+QISERVER 配置为服务器 测试命令 AT+QISERVER=? 查询命令 AT+QISERVER? 响应 OK 响应 +QISERVER: , 执行命令 AT+QISERVER OK 响应 OK 上海移远通信技术有限公司 161 / 250 M35 AT 命令手册 ERROR 成功配置为服务器,返回: SERVER OK 配置为服务器失败,返回: 配置命令 CONNECT FAIL 响应 AT+QISERVER=[,] OK ERROR 最大响应时间 150s,受网络状态影响 参考 Quectel 参数 l cte l ue tia 数字参数;是否配置成服务器 0 不配置成服务器 1 配置成服务器 当前已连入的客户端的数量,范围为 1-5 数字参数;表明配置的服务器类型 0 TCP 服务器 1 UDP 服务器 服务器最大可接入连接数,默认为 1,范围为 1-5 Q en 备注 fid 当 AT+QIMUX=0 时,参数被缺省。 Con 11.19. AT+QICSGP 设置 CSD 或 GPRS 连接模式 语法 AT+QICSGP 设置 CSD 或 GPRS 连接模式 测试命令 AT+QICSGP=? 响应 +QICSGP: 0-CSD,DIAL NUMBER,USER NAME,PASSWORD,RATE(0-3) +QICSGP: 1-GPRS,APN,USER NAME,PASSWORD OK 上海移远通信技术有限公司 162 / 250 M35 AT 命令手册 查询命令 AT+QICSGP? 响应 +QICSGP: 配置命令 AT+QICSGP=,[(,,)/ (,,,)] OK 响应 OK ERROR 最大响应时间 300ms 参考 CSD 相关配置暂不支持 Quectel 参数 tel 数字参数;表明无线连接模式 0 CSD 连接 1 GPRS 连接 c l GPRS 连接配置的参数说明: ue tia 字符串参数;表明接入点名称 字符串参数;表明用户名 字符串参数;表明用户密码 Q n CSD 连接配置的参数说明: e 字符串参数;表明 CSD 号码 字符串参数;表明 CSD 连接用户名 fid 字符串参数;表明 CSD 连接用户密码 数字参数;表明 CSD 连接速率 0 2400 n 1 4800 o 2 9600(缺省值) C3 14400 上海移远通信技术有限公司 163 / 250 M35 AT 命令手册 11.20. AT+QISRVC 选择当前可操作连接 语法 AT+QISRVC 选择当前可操作连接 测试命令 AT+QISRVC=? 响应 +QISRVC: (取值列表) 查询命令 AT+QISRVC? OK 响应 +QISRVC: 配置命令 AT+QISRVC= l 最大响应时间 te 参考 c l Quectel OK 响应 OK ERROR 300ms CSD 相关配置暂不支持 ue tia 参数 Q en 数字参数;用于选择当前可操作连接 1 选择 ME 作为 Client 的连接 2 选择 ME 作为 Server 的连接 fid 备注 该操作用于以下情况,当前存在两路或多路连接,一路连接是 ME 作为 Client 连接远程 Server,一路连 Con 接时 ME 作为 Server 接入远程 Client,通过该命令可区分和选择当前操作的连接。 11.21. AT+QISHOWRA 配置接收数据时是否显示发送方的 IP 地址和端口号 语法 AT+QISHOWRA 配置接收数据时是否显示发送方的 IP 地址和端口号 测试命令 AT+QISHOWRA=? 响应 +QISHOWRA: (取值列表) 上海移远通信技术有限公司 164 / 250 M35 AT 命令手册 查询命令 AT+QISHOWRA? OK 响应 +QISHOWRA: (取值列表) 配置命令 AT+QISHOWRA= OK 响应 OKERROR ERROR 最大响应时间 300ms 参考 Quectel 参数 tel 数字参数;表明接收数据时是否显示发送方的 IP 地址和端口号 0 不显示(默认值) 1 显示,格式为:RECV FROM :< IP ADDRESS> :< PORT> uec tial 11.22. AT+QISCON 保存 TCPIP 应用场景配置 Q n 语法 e AT+QISCON 保存 TCPIP 应用场景配置 fid 测试命令 AT+QISCON=? 查询命令 Con AT+QISCON? 响应 OK 响应 显示 TCPIP 上下文: SHOW APPTCPIP CONTEXT +QIDNSIP: +QIPROMPT:< sendprompt> +QIHEAD: +QISHOWRA: +QICSGP: Gprs Config APN: Gprs Config UserId: Gprs Config Password: Gprs Config inactivityTimeout: CSD Dial Number: CSD Config UserId: CSD Config Password: 上海移远通信技术有限公司 165 / 250 M35 AT 命令手册 CSD Config rate: App Tcpip Mode: In Transparent Transfer Mode Number of Retry: Wait Time: Send Size: esc: 执行命令 OK 响应 AT+QISCON OK 最大响应时间 300ms 参考 Quectel l 参数 te c l ue tia Q n e fid 请参考 AT+QIDNSIP 请参考 AT+QIPROMPT 请参考 AT+QIHEAD 请参考 AT+QISHOWRA 请参考 AT+QICSGP 请参考 AT+QICSGP 请参考 AT+QICSGP 请参考 AT+QICSGP 请参考 AT+QICSGP 请参考 AT+QICSGP 请参考 AT+QICSGP 请参考 AT+QICSGP 请参考 AT+QICSGP on 以下配置仅属于透明传输模式: 请参考 AT+QITCFG C 请参考 AT+QITCFG 请参考 AT+QITCFG 请参考 AT+QITCFG 备注 1. 执行命令保存以下 AT 命令配置:AT+QIDNSIP,AT+QIPROMPT,AT+QIHEAD,AT+QISHOWRA, AT+QICSGP,AT+QITCFG; 2. 执行命令操作只影响当前前置场景各参数配置(请参考 AT+QIFGCNT)。 上海移远通信技术有限公司 166 / 250 M35 AT 命令手册 11.23. AT+QIMODE 配置 TCPIP 应用模式 语法 AT+QIMODE 配置 TCPIP 应用模式 测试命令 响应 AT+QIMODE=? +QIMODE:(取值列表) 查询命令 AT+QIMODE? OK 响应 +QIMODE: 配置命令 AT+QIMODE= l 最大响应时间 te 参考 c l Quectel OK 响应 OK ERROR 300ms ue tia 参数 Q en 0 非透传模式 1 透传模式(在该模式下,建立连接成功后,UART 将会进入数据模式。接收到的数据将 直接输出至串口,可通过'+++'退出数据模式,ATO 操作返回数据模式) fid 11.24. AT+QITCFG 配置透明传输模式 on 语法 C AT+QITCFG 配置透明传输模式 测试命令 响应 AT+QITCFG=? +QITCFG: (取值列表, 取值列表, 取值 列表, 取值列表) 查询命令 AT+QITCFG? OK 响应 +QITCFG: ,,, 上海移远通信技术有限公司 167 / 250 M35 AT 命令手册 配置命令 AT+QITCFG=,,< SendSz>, 最大响应时间 参考 Quectel OK 响应 OK ERROR 300ms 参数 一个 IP 包的重传次数 间隔发送时间,单位为 100ms 每次发送数据字节数 是否开启转义序列,缺省值是 TRUE tel 备注 c l 1. 最大值为 1460; 2. 和都可以指示发送数据操作。当发送的数据长度大于或等于时,将 ue tia 优先发送长度的数据给远程连接;当发送的数据长度小于时,将会等待 时长,时间到后将串口已输入的数据发送出去; 3. 该命令只在 AT+QIMUX=0 状态下有效。 Q fiden 11.25. AT+QISHOWPT 配置接收数据 IP 头是否显示传输协议 语法 n AT+QISHOWPT 配置接收数据 IP 头是否显示传输协议 o 测试命令 C AT+QISHOWPT=? 响应 +QISHOWPT: (取值列表) 查询命令 AT+QISHOWPT? OK 响应 +QISHOWPT: 配置命令 AT+QISHOWPT= OK 响应 OK ERROR 上海移远通信技术有限公司 168 / 250 M35 AT 命令手册 最大响应时间 参考 Quectel 300ms 参数 数字参数;配置在接收到 TCP 或 UDP 数据时,接收数据 IP 头内是否显示传输协议 0 不显示 1 显示,格式为:IPD (data length) (TCP/UDP): 备注 该=1 只在 AT+QIHEAD=1 时有效。 tel 11.26. AT+QIMUX 控制是否启用多路连接 c l 语法 ue tia AT+QIMUX 控制是否启用多路连接 测试命令 AT+QIMUX=? 响应 +QIMUX: (取值列表) Q en 查询命令 fid AT+QIMUX? OK 响应 +QIMUX: n 配置命令 AT+QIMUX= Co 最大响应时间 OK 响应 OK ERROR 300ms 参考 Quectel 参数 数字参数;控制当前场景下连接模式 0 不启用多路连接 1 启用多路连接 上海移远通信技术有限公司 169 / 250 M35 AT 命令手册 11.27. AT+QISHOWLA 控制是否显示本地 IP 地址 语法 AT+QISHOWLA 控制是否显示本地 IP 地址 测试命令 响应 AT+QISHOWLA=? +QISHOWLA: (取值列表) 查询命令 AT+QISHOWLA? OK 响应 +QISHOWLA: 配置命令 AT+QISHOWLA= l 最大响应时间 te 参考 Quectel OK 响应 OK ERROR 300ms uec tial 参数 Q en 数字参数;表明在接收到数据前是否显示数据发送的目的 IP 地址 0 不显示 1 显示,格式为:TO: fid 11.28. AT+QIFGCNT 配置前置场景 n 语法 o AT+QIFGCNT 配置前置场景 C 测试命令 响应 AT+QIFGCNT=? +QIFGCNT: (取值列表) 查询命令 AT+QIFGCNT? OK 响应 +QIFGCNT: , OK 上海移远通信技术有限公司 170 / 250 M35 AT 命令手册 配置命令 AT+QIFGCNT= 最大响应时间 参考 Quectel 响应 OK ERROR 300ms 参数 数字参数;表明当前前置场景序号,范围为 0-1 数字参数;表明当前场景受控于哪一个通道 0 VIRTUAL_UART_1 1 VIRTUAL_UART_2 2 VIRTUAL_UART_3 3 VIRTUAL_UART_4 l 255 当前场景未受控于任何通道 te 备注 c l 当 AT+CMUX=1 打开多路复用功能后,若当前通道操作指定的场景状态不是 IPINITIAL 且该 ue tia 场景被其他通道控制,操作将失败,返回 ERROR。 Q en 11.29. AT+QISACK 查询发送数据信息 fid 语法 AT+QISACK 查询发送数据信息 测试命令 n AT+QISACK=? o 查询命令 C AT+QISACK 响应 OK 响应 +QISACK: , , 配置命令 AT+QISACK= OK 响应 +QISACK: , , 最大响应时间 参考 Quectel OK 300ms 上海移远通信技术有限公司 171 / 250 参数 查询的连接序号 数字参数;表明已发送数据大小 数字参数;表明已发送并得到远程接收方确认的数据大小 数字参数;表明已发送但未得到远程接收方确认的数据大小 M35 AT 命令手册 备注 1. 执行命令仅在 AT+QIMUX=0 时有效; 2. 配置命令仅在 AT+QIMUX=1 时有效; 3. 该命令操作受控于 AT+QISRVC 配置。当 AT+QISRVC=1 时,查询的是 ME 作为 Client 向远程 Server 发送数据信息;当 AT+QISRVC=2 时,查询的是 ME 作为 Server 向远程 Client 发送的数据信息。 l 11.30. AT+QINDI 配置是否缓存接收到的数据 te 语法 c l AT+QINDI 配置是否缓存接收到的数据 ue tia 测试命令 响应 AT+QINDI=? +QINDI: (取值列表) Q n 查询命令 e AT+QINDI? OK 响应 +QINDI: fid 配置命令 AT+QINDI= on 最大响应时间 C 参考 OK 响应 OK ERROR 300ms Quectel 参数 数字参数;表明是否缓存接收到的数据 0 不缓存;接收到数据直接输出至串口 1 缓存模式 1;接收到数据将会向串口上报提示,格式为:+QIRDI: ,,(此 时可以通过 AT+QIRD 读取缓存的数据) 2 缓存模式 2;接收到数据将会向串口上报提示,格式为: 上海移远通信技术有限公司 172 / 250 M35 AT 命令手册 +QIRDI: ,,,,,。每个 Socket 将建立一个缓存,接收 的数据将被保存在缓存中,直到通过 AT+QIRD 读取缓存的数据,缓存数据不应超过 400KB 数字参数;表明哪个场景接收到了新数据并缓存到缓存器内(可参考 AT+QIFGCNT), 范围是 0-1 数字参数;表明 ME 是作为 Server 还是作为 Client 建立的连接接收到数据 1 ME 作为 Client 连接 2 ME 作为 Server 连接 数字参数;表明 ME 是哪一路连接接收到数据,范围是 0-5(当 AT+QIMUX=0 时,=0) 11.31. AT+QIRD 读取缓存的数据 语法 AT+QIRD 读取缓存的数据 l 测试命令 te AT+QIRD=? 响应 +QIRD: (取 值 列 表 , 取 值 列 表 , 取 值 列 表 , 取值列表) uec tial 配置命令 AT+QIRD=,,, OK 响应 [+QIRD::,, Q n ] e OK fid 最大响应时间 参考 n Quectel ERROR 300ms Co 参数 数字参数;表明哪个场景接收到了新数据并缓存到缓存器内(可参考 AT+QIFGCNT),范围 是 0-1 数字参数;表明 ME 是作为 Server 还是作为 Client 建立的连接接收到数据 1 ME 作为 Client 连接 2 ME 作为 Server 连接 数字参数;表明 ME 是哪一路连接接收到数据,范围是 0-5(当 AT+QIMUX=0 时,=0) 读取数据长度,范围为 1-1500 发送数据方的 IP 地址 上海移远通信技术有限公司 173 / 250 发送数据方的端口号 字符串类型;表明传输协议类型 TCP TCP 协议 UDP UDP 协议 读取到的真实数据长度 读取到的数据内容 M35 AT 命令手册 11.32. AT+QISDE 控制 AT+QISEND 是否允许数据回显 语法 AT+QISDE 控制 AT+QISEND 是否允许数据回显 测试命令 响应 AT+QISDE=? +QISDE: (取值列表) tel 查询命令 AT+QISDE? OK 响应 +QISDE: uec tial 配置命令 AT+QISDE= Q n 最大响应时间 e 参考 fid Quectel OK 响应 OK ERROR 300ms 参数 Con 数字参数;表明在操作 AT+QISEND 发送数据时,是否允许数据回显 0 不回显 1 回显 上海移远通信技术有限公司 174 / 250 M35 AT 命令手册 11.33. AT+QPING PING 远程服务器 语法 AT+QPING PING 远程服务器 测试命令 AT+QPING=? 响应 +QPING: 'HOST',(取值列表),(取值列 表) OK 配置命令 响应 AT+QPING=''[,[][,]] uectel tial 最大响应时间 参考 Quectel [+QPING: [,,,,] …] +QPING:[,,,,,, ] ERROR 取决于 Q en 参数 fid 字符串参数;远程服务器地址,可以是 IP 地址格式亦可以是域名格式 数字参数;每一次 PING 请求响应最大超时时间;单位:秒,范围:1-255,默认 1s n 数字参数;PING 请求次数;范围:1-10,默认:4 PING 请求结果: o 0 收到远程服务器响应,提示:, , , C1 PING 请求超时 远程服务器 IP 地址 每一次 PING 发送的数据长度 PING 请求耗时,单位:毫秒 PING 请求返回的当前时间 结束结果码 2 正常结束;成功激活 GPRS 连接上远程服务器,提示: ,,,,, 3 TCP/IP 协议栈忙 4 未找到远程服务器 上海移远通信技术有限公司 175 / 250 5 激活 PDP 场景失败 发送 PING 请求总次数 发送 PING 请求并收到响应总次数 PING 请求超时次数 最小响应时间,单位:毫秒 最大响应时间,单位:毫秒 平均响应时间,单位:毫秒 M35 AT 命令手册 11.34. AT+QNTP 通过网络时间服务器同步本地时间 语法 AT+QNTP 通过网络时间服务器同步本地时间 测试命令 响应 AT+QNTP=? +QNTP: 'SERVER',(取值列表) tel 查询命令 c l AT+QNTP? OK 响应 +QNTP: '', ue tia 执行命令 Q n AT+QNTP OK 响应 OK +QNTP: fide 配置命令 AT+QNTP=''[,] ERROR 响应 OK +QNTP: on 最大响应时间 C 参考 ERROR 120s,受网络状态影响 Quectel 参数 字符串参数;时间服务器的 IP 地址或域名 时间服务器的端口号 时间同步结果 0 本地时间同步成功 上海移远通信技术有限公司 176 / 250 1 本地时间同步失败,未知错误 2 时间服务器无响应 3 TCP/IP 协议栈忙 4 未找到时间服务器 5 激活 PDP 场景失败 备注 中国默认国际时间服务器地址为'210.72.145.44' ,端口号是 123。 M35 AT 命令手册 CQouneficdteenl tial 上海移远通信技术有限公司 177 / 250 M35 AT 命令手册 12 补充业务命令 12.1. AT+CCFC 设置呼叫转移 AT+CCFC 根据 GSM 02.82[4],对呼叫转移业务进行控制,同时支持注册、删除、激活、去激活和状 态查询。 语法 l AT+CCFC 设置呼叫转移 测试命令 te AT+CCFC=? 响应 +CCFC: (取值列表) uec tial 设置命令 AT+CCFC=, [,,[,[,[,[,time]]]]]] OK 响应 若不等于2且操作成功: OK 若等于2且操作成功(当且仅当=0~3): +CCFC: , [, , [,,[,]]] [+CCFC: ....] OK Con 最大响应时间 功能相关报错: +CME ERROR: 300ms 参考 GSM 07.07 参数 0 无条件 1 移动遇忙 2 无应答 上海移远通信技术有限公司 178 / 250 M35 AT 命令手册 3 不可及 4 所有呼叫转移(0-3)(请参考GSM 02.30[19]) 5 所有条件呼叫转移(1-3)(请参考GSM 02.30[19]) 0 禁用 1 启用 2 状态查询 3 注册 4 删除 字符型;呼叫转移地址的电话号码,其格式符合所规定的 整数型的八位字节地址类型(请参考GSM 04.08[8]第10.5.4.7小节);当拨号字符串包括国际 接入代码字符'+'时,缺省值为145;其他情况下,缺省值为129 字符型;由规定的字符型子地址的格式 ctel l ue tia 整数型的八位字节子地址类型(请参考GSM 04.08[8]第10.5.4.8小节) 1 语音 2 数据 4 传真 7 语音,数据和传真 8 短消息 16 同步数据电路 32 异步数据电路 1…30 如果启用或禁止'无应答',该参数使得再改呼叫转移前有秒数的等待时间,默认值 为20 0 非激活 1 激活 Q n 举例 e AT+CCFC=0, 2,'15021012496' fid OK //设置无条件转移至 15021012496 AT+CCFC=0,2 //查询无条件转移设置,转移成功 +CCFC: 1, 1,'+8615021012496',145 n OK o AT+CCFC=0,4 C OK //删除无条件转移 AT+CCFC=0,2 //查询无条件转移设置,设置删除 +CCFC: 0, 15 OK 上海移远通信技术有限公司 179 / 250 M35 AT 命令手册 12.2. AT+CCUG 封闭用户组 该命令可控制 CUG(Closed User Group)附加业务(详情请参考 GSM 02.85[21])。用户可选择 CUG 索引、抑制 OA(Outgoing Access)、抑制优先 CUG。 语法 AT+CCUG 封闭用户组 测试命令 AT+CCUG=? 响应 +CCUG: ,, OK 设置命令 AT+CCUG=[][,[,]] l 最大响应时间 参考 te GSM 07.07 响应 OK +CME ERROR: 300ms uec tial 参数 0 Q n 1 0...9 e 10 0 fid 1 2 4 禁用暂时模式下提供的 CUG 业务 启用暂时模式下提供的 CUG 业务 CUG 索引 无索引(优先 CUG 取自用户数据) 无信息 抑制 OA 抑制优先 CUG 抑制 OA 和优先 CUG Con 12.3. AT+CCWA 呼叫等待 该命令根据 GSM02.83[5],对呼叫等待业务进行禁用,启用及查询控制。 语法 AT+CCWA 呼叫等待 测试命令 AT+CCWA=? 响应 +CCWA: (取值列表) 上海移远通信技术有限公司 180 / 250 M35 AT 命令手册 查询命令 AT+CCWA? OK 响应 +CCWA: 配置命令 AT+CCWA=[],[,]] OK 响应 当不等于2且操作成功: OK 当等于2且操作成功: +CCWA:,[+CCWA:,< 最大响应时间 l 参考 te GSM 07.07 class2>[...]] OK +CME ERROR: 300ms 相关 URC 上报: +CCWA: ,,[,] c l 参数 ue tia Q n Confide 在 TA 设置或显示结果码的显示状态 0 禁用 1 启用 若没有给定该参数,则不能询问网络 0 禁用 1 启用 2 查询状态 代表每一种信息类别的整数的总和 1 语音(电话业务) 2 数据 4 传真 16 同步数据电路 32 异步数据电路 0 非激活 1 激活 字符串类型。电话号码的地址类型必须符合的要求 整型格式的地址类型 129 未知类型(IDSN 格式号码) 145 国际号码类型(ISDN 格式) 可选字符类型,字母数字的表示对应电话号码簿中的位置 上海移远通信技术有限公司 181 / 250 M35 AT 命令手册 备注 1. 如果对于任何,例如+CCWA: 0,7,服务都没有被激活,这种情况下,=0 将会返 回; 2. 当=2,所有的激活的呼叫转移号码将被上报,在这种模式下,按任何键,命令都可以被终 止。 举例 AT+CCWA=1,1 //启用在 TA 设置或显示结果码的显示状态 OK ATD10086; //建立通话 OK +CCWA: '02154450293',129,1 //通话中来电,来电处于呼叫等待状态中 tel 12.4. AT+CHLD 呼叫保持和多方通话 c l 使用该命令,可将当前通话暂时从 ME 释放,但是网络和多方通话仍然保持该连接。具有两个通话(一 ue tia 个通话保持,另一个通话在用或提示)的用户可以连接到其他各方的通话,并释放自己的连接。 语法 Q n AT+CHLD 呼叫保持和多方通话 e 测试命令 AT+CHLD=? 响应 +CHLD: (取值列表) fid 配置命令 n AT+CHLD=[] Co 最大响应时间 OK 响应 OK +CME ERROR: 300ms 参考 GSM 07.07 参数 0 释放所有保持的呼叫或者等待中的呼叫(UDUB 用户决定忙)。如果有电话处于等待状 态,终止等待的电话,否则,终止所有保持的电话 1 如果存在当前呼叫,释放所有当前呼叫并将接听另外一个已保持或等待中的呼叫。当只 有一路通话时,该操作不能结束已激活的通话 上海移远通信技术有限公司 182 / 250 M35 AT 命令手册 1X 释放当前某一特定的呼叫 X(X=1~7) 2 如果存在当前呼叫,保持所有当前呼叫并接听另外一个已保持或等待中的呼叫 2X 保持除通讯必须支持的呼叫 X(X=1~7)外的所有当前呼叫 3 为会话增加一个已保持通话 备注 该业务仅适用于电信服务 11(报告:电话)。 举例 AT+CCWA=1,1 OK ATD10086; OK //启用在 TA 设置或显示结果码的显示状态 //建立通话 l +CCWA: '02154450293',129,1 te AT+CHLD=2 OK c l AT+CLCC ue tia +CLCC: 1,0,1,0,0,'10086',129,'' //通话中来电,来电处于呼叫等待状态中 //保持第一路通话,并接入第二路呼叫等待的通话 //第一路通话被保持 +CLCC: 2,1,0,0,0,'02154450293',129,'' //第二路通话被接入 Q n OK e AT+CHLD=21 OK fid AT+CLCC +CLCC: 1,0,0,0,0,'10086',129,'' //激活第一路通话,保持第二路通话 //第一路通话被接入 n +CLCC: 2,1,1,0,1,'02154450293',129,'' //第二路通话被保持 o OK C AT+CHLD=3 //激活所有通话,实现 3 方通话 OK AT+CLCC +CLCC: 1,0,0,0,1,'10086',129,'' +CLCC: 2,1,0,0,1,'02154450293',129,'' OK 上海移远通信技术有限公司 183 / 250 M35 AT 命令手册 12.5. AT+CLIP 来电号码显示设置 语法 AT+CLIP 来电号码显示设置 测试命令 AT+CLIP=? 响应 +CLIP: (取值列表),(取值列表) 查询命令 AT+CLIP? OK 响应 +CLIP: 配置命令 AT+CLIP=[] l 最大响应时间 cte l 参考 ue tia GSM07.07 OK 响应 OK +CME ERROR: 15s,受网络状态影响 URC 上报: 当可在 TE 显示 CLI 且主叫方允许的情况下,当所有 RING 或 +CRING: 的返回结果从 TA 发送到 TE 后,将返回: +CLIP: ,,'',,, 参数 Q en fid n Co 0 不显示结果码 1 显示结果码 0 未提供 CLIP 业务 1 提供 CLIP 业务 2 未知 字符型;由规定的电话号码格式 整数型的八位字节地址类型 129 未知类型(IDSN 格式号码) 145 国际号码类型(ISDN 格式) 字符串类型;电话本中条目对应的字符表示(该参数由 AT+QCLIP 控制 是否显示字符串内容) 0 CLI 有效 1 CLI 由发起端保留 2 CLI 由于网络问题或者由于发起端网络的限制而不可行 上海移远通信技术有限公司 184 / 250 M35 AT 命令手册 备注 1. 配置命令可启用或禁用 CLI 显示在 TE 上。但对附加业务 CLIP 在网络中的执行没有影响; 2. 查询命令给定的状态,并根据 GSM02.81[3]触发对 CLIP 业务的配置状态的查询。 举例 AT+CPBW=1,'02151082965',129,'QUECTEL' OK AT+CLIP=1 OK RING +CLIP: '02151082965',129,'',,'',0 tel 12.6. AT+QCLIP 配置来电是否显示主叫号码名称 c l 语法 ue tia AT+QCLIP 配置来电是否显示主叫号码名称 测试命令 响应 Q n AT+QCLIP=? +QCLIP: (取值列表) e 查询命令 fid AT+QCLIP? OK 响应 +QCLIP: n 配置命令 AT+QCLIP= Co 最大响应时间 OK 响应 OK +CME ERROR: 300ms 参考 Quectel 参数 来电是否显示主叫号码名称 0 不显示 1 显示 上海移远通信技术有限公司 185 / 250 备注 该命令仅在 AT+CLIP=1 下有效。 M35 AT 命令手册 举例 AT+CPBW=1,'02151082965',129,'QUECTEL' OK AT+QCLIP=1 OK AT+CLIP=1 OK RING +CLIP: '02151082965',129,'',,'QUECTEL',0 ctel l 12.7. AT+CLIR 主叫识别限制 ue tia 当主叫方发起呼叫时,使用该命令可启用或禁止在被叫方显示 CLI。对于所有的接下来的去电,已经设 置了一个默认值作为临时模式,那么这个命令将会覆盖 CLIR 设置(默认是限制或者允许)。通过使用相反 的命令,这个设置被撤销。 Q en 语法 fid AT+CLIR 主叫识别限制 测试命令 AT+CLIR=? 响应 +CLIR: (取值列表) on 查询命令 C AT+CLIR? OK 响应 +CLIR: , 配置命令 AT+CLIR=[] 最大响应时间 OK 功能相关报错: +CME ERROR: 响应 OK +CME ERROR: 15s,受网络状态影响 上海移远通信技术有限公司 186 / 250 M35 AT 命令手册 参考 GSM 07.07 参数 设置出局呼叫的调整状态 0 依据 CLIR 业务的开通状态使用提示指示语 1 CLIR 调用 2 CLIR 抑制 显示主叫在网络中的 CLIR 业务状态 0 未提供 CLIR 业务 1 永久方式下提供的 CLIR 业务 2 未知(如:无网络等) 3 暂时模式下提供的 CLIR 业务受限 4 暂时模式下提供的 CLIR 业务不受限 l 备注 cte l 使用该命令功能,需要注意对应 SIM 卡是否支持号码隐藏业务。 ue tia 12.8. AT+COLP 显示被叫识别 Q en 当主叫方在发起呼叫时,使用该命令可启用或禁止显示呼叫识别。在任何的+CR 或者 V.25ter 响应之 前,中间结果码直接从 TA 返回给 TE。 fid 语法 n AT+COLP 显示被叫识别 测试命令 Co AT+COLP=? 响应 +COLP: (取值列表) 查询命令 OK 响应 AT+COLP? +COLP: , 配置命令 AT+COLP=[] 最大响应时间 OK 响应 OK +CME ERROR: 15s,受网络状态影响 上海移远通信技术有限公司 187 / 250 M35 AT 命令手册 参考 GSM 07.07 URC 上报: 当使能(并且被叫用户容许),在任何+CR 和 V.25ter 响应之 前,一个中间结果码返回: +COLP:,[,,[, ]] 参数 0 不显示结果码 1 显示结果码 0 未提供 COLP 业务 1 提供 COLP 业务 tel c l 2 未知 字符型;由规定的电话号码格式 整数型的八位字节地址类型 129 未知类型(IDSN 格式号码) 145 国际号码类型(ISDN 格式) 字符串类型,子地址格式符合 整型格式的子地址类型(参考 GSM04.08[8]章节 10.5.4.8) 字符串类型;电话本中条目对应的字符表示(该参数由 AT+QCOLP 控制是 否显示字符串内容) ue tia 备注 Q n 查询命令给定的状态,并根据 GSM02.81[3],可触发对 COLP 业务的配置状态的查询(中给定)。 fide 举例 AT+CPBW=1,'02151082965',129,'QUECTEL' n OK AT+COLP=1 o OK C ATD02151082965; +COLP: '02151082965',129,'',0,'' OK 上海移远通信技术有限公司 188 / 250 M35 AT 命令手册 12.9. AT+QCOLP 配置去电是否显示主叫号码名称语法 AT+QCOLP 配置去电是否显示主叫号码名称语法 测试命令 响应 AT+QCOLP=? +QCOLP: (取值列表) 查询命令 AT+QCOLP? OK 响应 +QCOLP: OK 配置命令 响应 AT+QCOLP= 最大响应时间 l 参考 te Quectel OK +CME ERROR: 300ms c l 参数 Que ntia 是否显示+COLP 字符串名称 0 不显示 1 显示 e 备注 fid 该命令仅在 AT+COLP=1 下有效。 n 举例 o AT+CPBW=1,'02151082965',129,'QUECTEL' C OK AT+QCOLP=1 OK AT+COLP=1 OK ATD02151082965; +COLP: '02151082965',129,'',0,'QUECTEL' OK 上海移远通信技术有限公司 189 / 250 M35 AT 命令手册 12.10. AT+CUSD 非结构化附加业务 该命令根据 GSM02.90[23],用于对 USSD(Unstuctured Supplementary Service Data)进行控制。 该命令支持网络和移动发起的操作。用于启用或禁用非请求结果码(网络返回的 USSD 返回结果 或网络发起操作)+CUSD : [,,]显示在 TE 上的。 指定时,移动发起的 USSD 字符串或网络发起操作的返回结果 USSD 字符串将发送给网络。通 过非请求结果码+CUSD,返回网络侧的返回结果 USSD 字符串。 语法 AT+CUSD 非结构化附加业务 测试命令 AT+CUSD=? tel 查询命令 AT+CUSD? uec tial 配置命令 AT+CUSD=[[,[,]] Q n 最大响应时间 e 参考 fid GSM 07.07 响应 +CUSD: (取值列表) OK 响应 +CUSD: OK 响应 OK +CME ERROR: 120s,受网络状态影响 参数 on 用于指示非结构化附加业务数据控制的数字参数 0 禁用结果码显示在 TA 上 C1 启用结果码显示在 TA 上 2 取消会话(不适用于查询命令的返回结果) 字符串类型,USSD 字符串(如果表示使用 GSM03.38[25]中的缺省符号值,ME/TA 将根 据 GSM07.05[24]Annex A,将 GSM 中的符号集转换为当前 TE 的字符集) GSM03.38[25]中采用整数型的小区广播数据编码方案(默认值为 0) 举例 AT+CSCS='UCS2' OK 上海移远通信技术有限公司 190 / 250 M35 AT 命令手册 AT+CUSD=1,'002A0031003000300023' +CUSD: 1,'0031002E59296C14000A0032002E65B095FB000A0033002E8BC15238000A0034002E5F6979680 00A0035002E751F6D3B000A0036002E5A314E50000A0037002E5E385DDE98CE91C7000A002A002 E900051FA000A', 72 OK 12.11. AT+CSSN 附加业务通知 该命令表示与附加业务有关的由网络发起的通知。使用该配置命令,可启用或禁用 TA 的通知结果码显 示在 TE 上。 当 =1 , 并 且 在 移 动 终 端 发 起 呼 叫 的 过 程 中 收 到 附 加 业 务 通 知 时 , 中 间 结 果 码 +CSSI : l [,]将被发送给 TE。 te 当=1,并且在移动终端终止呼叫过程中收到附加业务通知时,或在收到前转校验附加业务通知时, 非请求结果码+CSSU:将被发送给 TE。 uec tial 语法 AT+CSSN 附加业务通知 Q n 测试命令 AT+CSSN=? 响应 +CSSN: (取值列表), (取值列表) fide 查询命令 AT+CSSN? OK 响应 +CSSN: , n 配置命令 Co AT+CSSN=[[,]] OK 响应 OK +CME ERROR: 最大响应时间 300ms 参考 GSM 07.07 参数 在发起呼叫建立后,用以表示是否显示+CSSI: [,]结果码状态的数字参数 0 禁用 上海移远通信技术有限公司 191 / 250 M35 AT 命令手册 1 启用 当接收到呼叫转移补充业务通知,一个终端呼叫建立或者在呼叫进行中的时候,用以表示是 否显示+CSSU: 结果码状态的数字参数 0 禁用 1 启用 0 激活无条件呼叫转移 1 激活有条件呼叫转移 2 呼叫已经被转移 3 呼叫等待中 4 是CUG呼叫(也会出现) 5 禁止出局呼叫 6 禁止入局呼叫 7 CLIR抑制关闭 关闭的用户组索引号 CQouneficdteenl tial 0指示这是一个呼叫转移的呼叫 上海移远通信技术有限公司 192 / 250 M35 AT 命令手册 13 音频控制命令 13.1. ATL 设置监听扬声器音量 语法 ATL 设置监听扬声器音量 执行命令 ATL l 最大响应时间 te 参考 V.25ter uec tial 参数 0 低扬声器音量 Q n 1 中低扬声器音量 e 2 中扬声器音量 3 高扬声器音量 fid 备注 Con GSM无效。 响应 OK 300ms 13.2. ATM 设置监听扬声器模式 语法 ATM 设置监听扬声器模式 执行命令 响应 ATM OK 上海移远通信技术有限公司 193 / 250 M35 AT 命令手册 最大响应时间 参考 V.25ter 300ms 参数 0 扬声器关闭 1 扬声器被打开,当有载波被检测到 2 扬声器打开 备注 ATL 以及 ATM 命令仅在 V.25ter 生效,对 GSM 无效。 tel 13.3. AT+VTD 配置 DTMF 音播放时长 c l 语法 ue tia AT+VTD 配置 DTMF音播放时长 测试命令 Q n AT+VTD=? 响应 +VTD: ( 取 值 列 表 )[,( 取 值 列 表)] fide 查询命令 AT+VTD? OK 响应 +VTD: , nOK o 配置命令 响应 C AT+VTD=[,] +CME ERROR: 最大响应时间 300ms 参考 GSM 07.07 上海移远通信技术有限公司 194 / 250 M35 AT 命令手册 参数 1-255 0 1-100000 以 100ms 为单位,设置播放 DTMF 的间隔时长 以 1/1000 秒为单位的 DTMF 音调播放时长,缺省默认为 0 单个 DTMF 音播放的时长,单位为 ms 备注 该命令控制 AT+VTS 产生的 DTMF 音播放时长。 13.4. AT+VTS DTMF 音调发送 该命令可发送一个或多个 ASCII 字符,这些字符的作用是使 MSC(Mobile Switching Center)为远程 l 用户发射双音多频 DTMF(Dual Tone Multi Frequency)音调。 te 语法 c l AT+VTS DTMF 音调发送 ue tia 测试命令 AT+VTS=? 响应 +VTS: (取值列表),,( 取值列表) Q n 配置命令 e AT+VTS= fid 最大响应时间 参考 n GSM 07.07 OK 响应 OK +CME ERROR: 取决于的长度 Co 参数 最大值为 20 个字符。必须放在双引号间。它由下面的字符串构成,间隔以','隔开。但 是单个字符不需要引号 单个 ASCII 字符,范围:0-9, #,*, A-D。它作为一个 DTMF 音调的序列被解 析,持续时间通过 AT+VTD 命令来控制 {, }作为一个 DTMF 音调被解析,持续时间由控制 1-255 以 1/10 秒为单位的 DTMF 音调播放时长 上海移远通信技术有限公司 195 / 250 M35 AT 命令手册 备注 1. 该配置命令仅适用于当前语音呼叫; 2. 允许用户在一段时间内发送一个序列的 DTMF 音调; 3. 允许用户发送单一的 DTMF 音调。在这种情况下,时间段可以在呼叫过程中单独决定。 举例 ATD10086; OK AT+VTS=1 OK //建立呼叫 //根据语音提示输入 1 的 DTMF 音 13.5. AT+CALM 来电警报模式 l 语法 te AT+CALM 来电警报模式 c l 测试命令 ue tia AT+CALM=? 查询命令 Q n AT+CALM? fide 配置命令 AT+CALM= n 最大响应时间 o 参考 C GSM 07.07 响应 +CALM: (取值列表) OK 响应 +CALM: OK 响应 OK +CME ERROR: 300ms 参数 0 1 正常模式 静音模式(禁止播放来自 ME 的所有声音) 上海移远通信技术有限公司 196 / 250 备注 该配置命令仅适用于来电铃音控制。 M35 AT 命令手册 13.6. AT+CRSL 来电音量等级 语法 AT+CRSL 来电音量等级 测试命令 响应 AT+CRSL=? 查询命令 l AT+CRSL? cte l 配置命令 AT+CRSL= ue tia 最大响应时间 Q n 参考 GSM 07.07 +CRSL: (取值列表) OK 响应 +CRSL: OK 响应 OK +CME ERROR: 300ms fide 参数 Con 整数型,制造商自定义范围:0-100。最小值为最低音量等级。 13.7. AT+CLVL 扬声器音量等级 语法 AT+CLVL 扬声器音量等级 测试命令 AT+CLVL=? 响应 +CLVL: (取值列表) OK 上海移远通信技术有限公司 197 / 250 M35 AT 命令手册 查询命令 AT+CLVL? 配置命令 AT+CLVL= 最大响应时间 参考 GSM 07.07 响应 +CLVL: OK 响应 OK +CME ERROR: 300ms 参数 整数型,制造商自定义范围:0-100。最小值为最低音量等级。 tel 13.8. AT+CMUT 上行静音控制 uec tial 语法 AT+CMUT 上行静音控制 Q n 测试命令 AT+CMUT=? fide 查询命令 AT+CMUT? on 配置命令 C AT+CMUT= 响应 +CMUT: (取值列表) OK 响应 +CMUT: OK 响应 OK +CME ERROR: 最大响应时间 300ms 参考 GSM 07.07 上海移远通信技术有限公司 198 / 250 参数 0 关闭静音 1 打开静音(MIC 被静音) 备注 仅在呼叫过程中,该命令操作有效。 M35 AT 命令手册 13.9. AT+QSIDET 配置侧音增益等级 语法 l AT+QSIDET 配置侧音增益等级 测试命令 te AT+QSIDET= ? uec tial 查询命令 AT+QSIDET? Q fiden 配置命令 AT+QSIDET= n 最大响应时间 o 参考 C Quectel 响应 +QSIDET: (取值列表) OK 响应 +QSIDET(NORMAL_AUDIO): OK +QSIDET(HEADSET_AUDIO): OK 响应 OK +CME ERROR: 300ms 参数 增益等级范围:0-255 上海移远通信技术有限公司 199 / 250 M35 AT 命令手册 13.10. AT+QMIC 配置麦克风增益等级 语法 AT+QMIC 配置麦克风增益等级 测试命令 AT+QMIC=? 响应 +QMIC: (取值列表), (取值列表) OK 查询命令 响应 AT+QMIC? +QMIC: ,,<gai l 配置命令 AT+QMIC=, te 最大响应时间 c l 参考 ue tia Quectel nlevel(Loudspeaker_Mic)> OK 响应 OK +CME ERROR: 300ms Q n 参数 e fid 0 主通道 1 耳机通道 2 主免提通道 侧音增益等级范围:0-15 Con 13.11. AT+QLDTMF 产生本地 DTMF 音 语法 AT+QLDTMF 产生本地 DTMF 音 测试命令 AT+QLDTMF=? 响应 +QLDTMF: (取值列表), (取值列 表) OK 上海移远通信技术有限公司 200 / 250 M35 AT 命令手册 配置命令 AT+QLDTMF=[,] 执行命令 AT+QLDTMF 最大响应时间 参考 Quectel 响应 OK +CME ERROR: 响应 OK 取决于的长度 参数 数字参数1~1000,表明所有DTMF音的持续时间,以1/10秒为单位 字符串参数,最大输入20个DTMF音,用逗号隔开,DTMF音为ASCII字符,含0-9,#, *,A-D l 备注 te AT+QLDTMF 执行命令操作用于终止当前所有正在生成的 DTMF 音和任何 DTMF 音序列。 uec tial 13.12.AT+QAUDCH 切换音频通道 Q en 语法 fid AT+QAUDCH 切换音频通道 测试命令 AT+QAUDCH=? on 查询命令 C AT+QAUDCH? 响应 +QAUDCH: (取值列表) OK 响应 +QAUDCH: 配置命令 AT+QAUDCH=[] 最大响应时间 参考 Quectel OK 响应 OK +CME ERROR: 300ms 上海移远通信技术有限公司 201 / 250 参数 0 主通道(默认) 1 耳机通道 2 主免提通道 M35 AT 命令手册 13.13. AT+QAUDLOOP 音频通道回环测试 语法 AT+QAUDLOOP 音频通道回环测试 测试命令 响应 AT+QAUDLOOP=? +QAUDLOOP: (取值列表), (取值列表) l 配置命令 te AT+QAUDLOOP=[,] c l 最大响应时间 ue tia 参考 Quectel OK 响应 OK +CME ERROR: 300ms Q n 参数 fide Con 0 停止测试 1 开始测试 0 主通道(默认值) 1 辅助耳机通道 2 主免提通道 13.14. AT+QLTONE 产生本地定制单音 语法 AT+QLTONE 产生本地定制单音 测试命令 AT+QLTONE=? 响应 +QLTONE: ( 取 值 列 表 ),( 取 值 列 表 ),( 取 值 列 表 ),( 取 值 列 表 ) , 上海移远通信技术有限公司 202 / 250 M35 AT 命令手册 (取值列表) 配置命令 AT+QLTONE=,,< periodOn>,, 最大响应时间 OK 响应 OK +CME ERROR: 取决于要播放的定制单音长度 参考 Quectel 参数 l te 0 停止播放 1 开始播放 播放单音频率 一个周期内播放单音的时长 一个周期内静音的时长 单音播放总时长,单位为毫秒 uec tial 备注 当开始播放指定频率单音时,模块会持续播放该单音时长,然后再停止播放单音 时长,依次循环。直至总时长结束。 Q fiden 13.15. AT+QTONEP 配置 DTMF/TONE 输出路径 语法 n AT+QTONEP 配置 DTMF/TONE 输出路径 o 测试命令 C AT+QTONEP=? 响应 +QTONEP: (取值列表) 查询命令 AT+QTONEP OK 响应 +QTONEP: 配置命令 AT+QTONEP= OK 响应 OK ERROR 上海移远通信技术有限公司 203 / 250 M35 AT 命令手册 最大响应时间 参考 Quectel +CME ERROR: 300ms 参数 0 从正常通道输出 DTMF 音 1 从辅助通道输出 DTMF 音 2 从主通道输出 DTMF 音 3 自动 备注 l 当 AT+QTONEP=3 时,DTMF 音输出由当前 AT+QAUDCH 所配置的值控制。 uecte tial 13.16.AT+QTDMOD 设置 DTMF检测模式 语法 Q n AT+QTDMOD 设置 DTMF 检测模式 e 测试命令 响应 fid AT+QTDMOD=? +QTDMOD:(取值列表), (取值列表) n 查询命令 o AT+QTDMOD? OK 响应 +QTDMOD: , C OK 配置命令 响应 AT+QTDMOD=, ERROR +CME ERROR: 最大响应时间 300ms 参考 Quectel 上海移远通信技术有限公司 204 / 250 M35 AT 命令手册 参数 1 设置DTMF检测范围 2 设置检测模式 0 当=1时,检测所有的DTMF音。包含1400和2300的交接信号 当=2时,一般算法去侦测音 1 当=1时,仅支持检测1400和2300的交接信号 当=2时,加强抖动算法去侦测音 2 当=1时,不检测1400和2300的交接信号 备注 1. 当 AT+QTDMOD =1,0 时,侦测所有的音,包括 DTMF、1400Hz 和 2300Hz; 2. 当 AT+QTDMOD =1,1 时,优化侦测并且仅仅侦测 1400Hz 和 2300Hz; 3. 当 AT+QTDMOD =1,2 时,检测 DTMF 音但不包含 1400Hz 和 2300Hz 的交接信号; 4. 当 AT+QTDMOD =2,0 时,一般算法去侦测音(包括 DTMF、1400Hz 和 2300Hz); l 5. 当 AT+QTDMOD =2,1 时,加强抖动算法去侦测音; 6. 请参考 AT+QTONEDET。 uecte tial 13.17.AT+QTONEDET DTMF检测 语法 Q n AT+QTONEDET DTMF 检测 e 测试命令 fid AT+QTONEDET=? n 查询命令 Co AT+QTONEDET? 响应 +QTONEDET: (取值列表) OK 响应 +QTONEDET: OK 配置命令 响应 AT+QTONEDET=[,][ OK ,][,][,] +CME ERROR: 最大响应时间 300ms 参考 Quectel 上海移远通信技术有限公司 205 / 250 M35 AT 命令手册 参数 < mode> 0 关闭DTMF检测 1 开启DTMF检测 2 检测1400Hz和2300Hz,100ms的DTMF 3 检测1400Hz和2300Hz,400ms的DTMF 4 配置DTMF检测入点 5 开启调试模式 当=2,配置如下: 0 查询1400Hz和2300Hz两个频率点100ms侦测阀值 1 设置1400Hz和2300Hz两个频率点100ms侦测阀值. 有效音前 空闲值个数, 有效音最低阀值,有效音最高 阀值 当=3,配置如下: 0 查询1400Hz和2300Hz两个频率点400ms侦测阀值 l 1 设置1400Hz和2300Hz两个频率点400ms侦测阀值. 有效音前 空闲值个数, 有效音最低阀值, 有效音最高 te 阀值 uec tial Q fiden Con 当=4,配置如下: 0 查询DTMF侦测阀值 1 设置DTMF侦测阀值. 有效音前空闲值个数 有效音最低阀值, 有消音最高阀值 当=5,配置如下: 0 正常工作状态, 报告+QTONEDET: x,x 1 调试状态,报告+QTONEDTD:x,x,… 2 混合状态,报告+QTONEDTD:x,x,…和+QTONEDET: x,x, 有效音前空闲值个数 有效音最低阀值 有效音最高阀值 DTMF代码 48 DTMF 0 49 DTMF 1 50 DTMF 2 51 DTMF 3 52 DTMF 4 53 DTMF 5 54 DTMF 6 55 DTMF 7 56 DTMF 8 57 DTMF 9 65 DTMF A 66 DTMF B 上海移远通信技术有限公司 206 / 250 M35 AT 命令手册 67 68 42 35 69 70 100 400 DTMF C DTMF D DTMF * DTMF # 1400Hz 频率 2300Hz 频率 被侦测到100ms的1400Hz and 2300 Hz 被侦测到400ms的1400Hz and 2300 Hz 备注 1. 仅在通话中有效; 2. 若 DTMF 音的播放时长在阀值范围内,则该指令设置生效,单位为 20ms; 3. 在调试状态下,上报+QTONEDTD: ,,,, ,,; 4. 上报时: l a) +QTONEDET: 50 检测到 DTMF 2 b) +QTONEDET: 69,100 检测到 100ms 的 1400Hz 单音 te c) +QTONEDET: 70,100 检测到 100ms 的 2300Hz 单音 c l d) +QTONEDET: 69,400 检测到 400ms 的 1400Hz 单音 e) +QTONEDET: 70,400 检测到 400ms 的 2300Hz 单音 ue tia 5. 请参考AT+QTDMOD。 Q n 13.18. AT+QWDTMF 通话中播放 DTMF 音 fide 语法 AT+QWDTMF 通话中播放 DTMF 音 n 测试命令 响应 Co AT+QWDTMF=? +QWDTMF: (取值列表), (取值列 表), (',,'), (取值列表), (取值列表) 配置命令 AT+QWDTMF=, ,(',,')[,][ ,] OK 响应 执行成功: +QWDTMF: 5 OK 执行失败: +QWDTMF: 上海移远通信技术有限公司 207 / 250 M35 AT 命令手册 最大响应时间 参考 Quectel OK +CME ERROR: 取决于要播放的 DTMF 音的长度 参数 控制对方听到的音量 0 静音,7 最大音量值 本地Speack输出音量 0 静音,7 最大音量值,推荐设置为0 播放的TONE串 '0' DTMF 0 l '1' DTMF 1 '2' DTMF 2 te '3' DTMF 3 c l '4' DTMF 4 '5' DTMF 5 ue tia '6' DTMF6 '7' DTMF 7 '8' DTMF 8 Q n '9' DTMF 9 'A' DTMF A e 'B' DTMF B 'C' DTMF C fid 'D' DTMF D '*' DTMF * '#' DTMF # n 'E' 1400Hz频率 o'F' 2300Hz频率 'G' 1KHz频率 C 播放每个TONE时间长度,单位ms 播放TONE串时每个TONE间隔静音时间长度,单位ms 播放成功或失败提示 值为5表示播放成功,其它表示失败 播放通道,仅非通话时起作用。通话时与语音同一个通道, 即由 AT+QAUDCH 控 制。此参数缺省时,播放通道也是由 AT+QAUDCH 控制。 0 主通道(默认) 1 耳机通道 2 主免提通道 DTMF 音合成算法。缺省为 0。 上海移远通信技术有限公司 208 / 250 M35 AT 命令手册 0 算法 1 1 算法 2 备注 1. AT+QWDTMF=7,0,'0A5,50,50,1,55,50,23,100,50' 发送 DTMF „0‟ 音 50ms,静音 50ms;发送 DTMF „A‟ 音 50ms,静音 50ms;发送 DTMF „5‟ 音 50ms, 静音 50ms;发送 DTMF „1‟ 音 55ms,静音 50ms;发送 DTMF „2‟ 音 100ms,静音 50ms;发送 DTMF „3‟ 音 100ms,静音 50ms; 2. 非通话中有效。 CQouneficdteenl tial 上海移远通信技术有限公司 209 / 250 M35 AT 命令手册 14 硬件相关命令 14.1. AT+CCLK 实时时钟 语法 AT+CCLK 实时时钟 测试命令 AT+CCLK=? l 查询命令 te AT+CCLK? c l 配置命令 ue tia AT+CCLK= Q n 最大响应时间 e 参考 GSM 07.07 响应 OK 响应 +CCLK: OK 响应 OK ERROR +CME ERROR: 300ms fid 参数 Con 字符串类型;格式:yy/MM/dd,hh:mm:ss±zz,各指年,月,日,小时,分钟,秒和时 区(用当地时间和 GMT 时间之间的差别来表示,以四分之一小时格式来表示;范围 -47~+48) 举例 AT+CCLK? //查询当前 ME 时间 +CCLK: '08/01/04, 00:19:43+00' OK 上海移远通信技术有限公司 210 / 250 M35 AT 命令手册 14.2. AT+QALARM 闹铃设置 语法 AT+QALARM 闹铃设置 测试命令 AT+QALARM=? 响应 +QALARM: ( 取 值 列 表 ),,( 取 值 列 表),(取值列表) OK 配置命令 响应 AT+QALARM=,,, 最大响应时间 l 参考 te Quectel ERROR +CME ERROR: 300ms c l 参数 ue tia Q n e Confid 整数型;闹铃状态指示 0 删除闹铃 1 设置闹铃 字符串类型;格式:yy/MM/dd,hh:mm:ss±zz,各指年、月、日、小时、分钟、秒和时区(用 当地时间和 GMT 时间之间的差别来表示,以四分之一小时格式来表示;范围-47~+48) 整数型;指示闹铃重复模式 0 一次性闹铃 1 日重复闹铃 2 周重复闹铃 3 月重复闹铃 整数型;指示闹铃时间到,ME 开关机操作 0 无任何操作,只上报'ALARM RING' 提示 1 关机闹铃,上报'ALARM RING'提示且 5S 后关机 2 开机闹铃,上报'ALARM MODE'提示,模块开机并进入闹铃模式 备注 闹铃模式下,协议栈和 SIM 卡协议关闭。只支持一些 AT 命令。若未按电源开关或未切换至全功能模式 (AT+CFUN=1),ME 将在 90S 内关机。如果按下电源开关,ME 将会进入关机状态。 上海移远通信技术有限公司 211 / 250 M35 AT 命令手册 14.3. AT+CBC 查询电池电量和充电状态 语法 AT+CBC 查询电池电量和充电状态 测试命令 AT+CBC=? 响应 +CBC: (取值列表),(取值列表),(voltage) OK 执行命令 响应 AT+CBC +CBC: , , OK 最大响应时间 l 参考 te GSM 07.07 +CME ERROR: 300ms c l 参数 ue tia Q n e 充电状态 0 不在充电 电池电量级别 0...100 电池相对于其原始电量的百分比 电池电压(单位:mV) fid 备注 Con 由于 M35 不支持充电功能,和不适用;仍然有效反映 VBATT 的电压值。 14.4. AT+QSCLK 慢时钟配置 语法 AT+QSCLK 慢时钟配置 测试命令 AT+QSCLK=? 响应 +QSCLK: (取值列表) OK 上海移远通信技术有限公司 212 / 250 M35 AT 命令手册 查询命令 AT+QSCLK? 响应 +QSCLK: 配置命令 AT+QSCLK= 最大响应时间 参考 Quectel OK 响应 OK ERROR +CME ERROR: 300ms 参数 l 0 禁用慢时钟 1 启用慢时钟,拉高 DTR 生效,拉低 DTR 唤醒 2 启用慢时钟,5 秒内串口无数据交互即进入睡眠模式;有数据时唤醒 cte l 备注 ue tia 模式 2 下,第一次串口数据会被丢弃,仅仅起唤醒作用。建议此模式下先发一个 AT 来唤醒模块再继续其 他业务。 Q en 14.5. AT+QLEDMODE 网络指示灯配置 fid 语法 n AT+QLEDMODE 网络指示灯配置 测试命令 Co AT+QLEDMODE=? 响应 +QLEDMODE: (取值列表) OK 查询命令 响应 AT+QLEDMODE? +QLEDMODE: 配置命令 AT+QLEDMODE= OK 响应 OK ERROR +CME ERROR: 上海移远通信技术有限公司 213 / 250 M35 AT 命令手册 最大响应时间 参考 Quectel 300ms 参数 0 1 2 来电振铃时网络指示灯快速闪烁 来电振铃对网络指示灯无影响 来电振铃对网络指示灯无影响,但此时有 URC 上报,串口 RI 引脚不会变化,直到振铃 结束 CQouneficdteenl tial 上海移远通信技术有限公司 214 / 250 M35 AT 命令手册 15 其他命令 15.1. A/ 重复上一条 AT 指令 语法 A/ 重复上一条 AT 指令 执行命令 A/ l 最大响应时间 te 参考 V.25ter 响应 上一条 AT 指令执行的返回 取决于上一个 AT 命令 uec tial 举例 AT Q n OK A/ e OK //重复上一次执行的 AT 操作 fid 15.2. ATE 命令回显模式 Con 使用该命令,可设置 TA 在命令状态下是否回显从 TE 接收到的字符。 语法 ATE 命令回显模式 执行命令 响应 ATE[] OK 最大响应时间 参考 V.25ter 300ms 上海移远通信技术有限公司 215 / 250 参数 0 关闭回显 1 启用回显 M35 AT 命令手册 15.3. ATS3 配置命令行终止符 使用该命令,可设置用于 AT 命令行终止符,该字符能被 TA 识别。 语法 ATS3 配置命令行终止符 查询命令 ATS3? tel 配置命令 ATS3= c l 最大响应时间 ue tia 参考 V.25ter 响应 OK 响应 OK 300ms Q en 参数 fid 0-13-127 命令行终止符(默认为 13=) Con 15.4. ATS4 设置响应格式字符 使用该命令,可设置用于获取结果码和信息文本的字符,该字符是由 TA 产生的。 语法 ATS4 设置响应格式字符 查询命令 响应 ATS4? OK 上海移远通信技术有限公司 216 / 250 配置命令 ATS4= 最大响应时间 参考 V.25ter 响应 OK 300ms 参数 0-10-127 响应格式字符(默认为 10=) M35 AT 命令手册 15.5. ATS5 配置命令行编辑字符 l 使用该命令,可设置用于删除命令行中的字符,该字符由 TA 产生。 te 语法 c l ATS5 设置响应格式字符 ue tia 查询命令 响应 ATS5? Q n 配置命令 e ATS5= fid 最大响应时间 参考 V.25ter OK 响应 OK 300ms Con 参数 0-8-127 命令行编辑字符(默认为 8=) 上海移远通信技术有限公司 217 / 250 M35 AT 命令手册 15.6. AT+QRIMODE 设置 RI 时长 语法 AT+QRIMODE 设置 RI 时长 查询命令 AT+QRIMODE=? 响应 +QRIMODE: (取值列表) 查询命令 AT+QRIMODE? OK 响应 +QRIMODE: 配置命令 AT+QRIMODE= tel 最大响应时间 c l 参考 Quectel OK 响应 OK ERROR +CME ERROR: 300ms ue tia 参数 CQonfiden 0 收到短消息时 RI 拉低 120ms,收到其他 URC 提示时 RI 拉低 120ms 1 收到短消息时 RI 拉低 120ms,收到其他 URC 提示时 RI 拉低 50ms 2 接收到新短信时,RI 拉低 120ms,其他 URC 对 RI 引脚无影响 上海移远通信技术有限公司 218 / 250 M35 AT 命令手册 16 附录 16.1. 参考文档 表 1:参考文档 序号 [1] l [2] te [3] c l [4] ue tia [5] [6] 文档名 Quectel_GSM 模块 AT 命令应用指导 Quectel_GSM_TCPIP_Application_Notes Quectel_GPRS_Startup_User_Guide Quectel_GSM_MUX_Application_Notes Quectel_SMS_Application_Notes Quectel_M35_Hardware_Design 备注 GSM 模块 AT 命令应用指导 TCPIP 应用指导 GPRS 配置应用指导 MUX 应用指导 短消息应用指导 M35 硬件设计手册 Q fiden 16.2.术语缩写 n 表 2:术语缩写 o 缩写 C ADC 描述 Analog-to-Digital Converter AMR Adaptive Multi-Rate ARP Antenna Reference Point ME Mobile Equipment TA Terminal Adapter MS Mobile Station 上海移远通信技术有限公司 219 / 250 M35 AT 命令手册 DCE Data Communication Equipment TE Terminal Equipment DTE Data Terminal Equipment RTS/CTS Request To Send/Clear To Send GPRS General Packet Radio Service DCD Dynamic Content Delivery DTR Data Terminal Ready CSD PSC l PDP te TCP c l UDP Circuit Switch Data Primary Synchronization Code Packet Data Protocol Transmission Control Protocol User Datagram Protocol ue tia 16.3. AT&F 影响到的 AT 命令及参数 Q en 表 3:AT&F 影响到的 AT 命令及参数 fid AT命令 ATE n ATQ Co ATS0 参数名称 默认值 1 0 0 ATS3 13 ATS4 10 ATS5 8 ATS6 2 ATS7 60 上海移远通信技术有限公司 220 / 250 M35 AT 命令手册 ATS8 ATS10 ATV ATX AT&C AT&D AT+ILRR AT+CREG AT+CCUG AT+CCWA AT+CSCS AT+CSTA AT+CLIP AT+CLIR AT+CMEE AT+COLP AT+QDISH AT+CRSL AT+CLVL AT+CUSD AT+CSSN AT+CSNS AT+CMGF AT+CNMI 2 15 1 4 1 0 0 ,, l te c l ue tia Q n e fid Con 0 0,0,0 0 'GSM' 129 0 0 1 0 0 55 当 AT+QAUDCH=0 时,默认值为:60 当 AT+QAUDCH=1 时,默认值为:40 当 AT+QAUDCH=2 时,默认值为:36 0 , 0,0 0 0 ,,,, 2,1,0,0,0 上海移远通信技术有限公司 221 / 250 M35 AT 命令手册 AT+CSDH 0 AT+CSMS AT+QSIDET AT+QMIC AT+QSCLK 0,1,1,1 ,, 当 AT+QAUDCH=0 时,默认值为:80 当 AT+QAUDCH=1 时,默认值为:144 4,9,8 0 AT+QCLIP 0 AT+QCOLP AT+QIURC l AT+QEXTUNSOL te AT+QRIMODE uec tial 16.4. AT&W 影响到 AT 命令参数列表 Q n 表 4:AT&W 影响到的 AT 命令参数列表 e AT 指令 fid ATE ATQ n ATS0 Co ATS3 参数名称 0 1 0 0 是否通过 AT&V 显示 是 是 是 是 ATS4 是 ATS5 是 ATS6 是 ATS7 是 ATS8 是 上海移远通信技术有限公司 222 / 250 M35 AT 命令手册 ATS10 ATV ATX AT&C AT&D AT+ICF AT+IFC AT+ILRR AT+IPR AT+QMUXC AT+CREG AT+CCUG AT+CCWA AT+CSCS AT+CSTA AT+CLIP AT+CMEE AT+COLP AT+CR AT+QDISH AT+CRSL AT+CLVL AT+CUSD AT+CSNS AT+CMGF AT+CNMI 是 是 否 是 是 , 是 , 是 是 是 否 tel 是 ,, 是 uec tial 是 是 Q n 是 e 是 fid 是 是 n 是 Co 否 否 否 是 是 是 ,,,, 是 上海移远通信技术有限公司 223 / 250 M35 AT 命令手册 AT+CSDH 是 AT+QSIDET AT+QMIC AT+QSCLK 是 ,, 否 AT+QCLIP 是 AT+QCOLP 是 AT+QIURC AT+QEXTUNSOL AT+QRIMODE l AT+QSIMDET te AT+QSIMSTAT 否 否 否 ,, 是 是 uec tial 16.5. ATZ 影响到的 AT 命令参数列表 Q n 表 5:ATZ 影响到的 AT 命令参数列表 fide AT指令 ATE n ATQ Co ATS0 参数名称 默认值 1 0 0 ATS3 13 ATS4 10 ATS5 8 ATS6 2 ATS7 60 上海移远通信技术有限公司 224 / 250 M35 AT 命令手册 ATS8 ATS10 ATV ATX AT&C AT&D AT+ILRR AT+CREG AT+CCUG AT+CCWA AT+CSCS AT+CSTA AT+CLIP AT+CLIR AT+CMEE AT+COLP AT+CR AT+QDISH AT+CRLP AT+CRSL AT+CLVL AT+CUSD AT+CSSN AT+CSNS AT+CMGF 2 15 1 4 1 0 0 0 ,, 0,0,0 0 tel 'GSM' 129 uec tial 0 0 Q n 1 e 0 fid 0 0 n ,,,,, 61,61,128,6,0,3 Co 55 当 AT+QAUDCH=0 时,默认值为:60 当 AT+QAUDCH=1 时,默认值为:40 当 AT+QAUDCH=2 时,默认值为:35 0 , 0,0 0 0 上海移远通信技术有限公司 225 / 250 M35 AT 命令手册 AT+CNMI ,,,, 2,1,0,0,0 AT+CSDH 0 AT+CSMS AT+QSIDET AT+QMIC AT+QSCLK 0 ,, 当 AT+QAUDCH=0 时,默认值为:80 当 AT+QAUDCH=1 时,默认值为:144 4,9,8 0 AT+QCLIP AT+QCOLP AT+QIURC tel AT+QEXTUNSOL AT+QRIMODE uec tial AT+QSIMDET AT+QSIMSTAT ,, 0 0 1 0 0 0,0,0 0 Q en 16.6. AT&V 显示当前配置信息 fid 表 6:AT&V 显示当前配置信息 n AT&V or AT&V0 o AT&V C ACTIVE PROFILE E: 1 Q: 0 V: 1 X: 4 S0: 0 S2: 43 S3: 13 S4: 10 上海移远通信技术有限公司 226 / 250 M35 AT 命令手册 S5: 8 S6: 2 S7: 60 S8: 2 S10: 15 +CR: 0 +FCLASS: 0 +CMGF: 0 +CSDH: 0 +ILRR: 0 +CMEE: 1 +CBST: 7,0,1 +IFC: 0,0 +ICF: 3,3 +CNMI: 2,1,0,0,0 +CSCS: 'GSM' l +IPR: 0 &C: 1 te &D: 0 +CSTA: 129 c l +CRLP: 61,61,128,6,0,3 ue tia +CCWE:0 +QSIMSTAT: 0 +CMUX: -1 +CCUG: 0,0,0 Q n +CLIP:0 e +COLP: 0 +CCWA: 0 fid +CAOC: 1 +CLIR: 0 +CUSD: 0 n +CREG: 0 +QSIMDET: 0,0 o +QMIC: 4,9,8 C +QECHO(NORMAL_AUDIO): 253,96,16388,57351,0 +QECHO(Earphone_AUDIO): 253,0,10756,57351,1 +QECHO(LoudSpk_AUDIO): 224,96,5256,57351,2 +QSIDET(NORMAL_AUDIO): 80 +QSIDET(HEADSET_AUDIO): 144 +QCLIP: 0 +QCOLP: 0 +CSNS: 0 OK 上海移远通信技术有限公司 227 / 250 M35 AT 命令手册 16.7. AT&V 内容格式对照表 表 7:ATV 内容格式对照表 ATV1 ATV0 描述 OK 0 执行命令的正确确认 CONNECT 1 连接已经建立,DCE 从命令状态切换为数据状态 RING 2 DCE 已经检测到一个来自网络的呼叫 NO CARRIER ERROR NO DIALTONE tel BUSY c l NOANSWER ue tia PROCEEDING Q n CONNECT 3 4 6 7 8 9 制造商特殊需求 连接中断或尝试建立连接失败 命令不能被识别,超出命令行的最大长度,参数值无效 或命令进程中的其他问题 无法检测到拨号音 检测到忙音信号(占线) 若'@'拨号修改量被使用,则紧跟 5 秒静默时间的远程振 铃没有在定时器(S7)超时前检测到,即无应答。 一条 AT 命令正在被处理 与 CONNECT 相同,但包含制造商特殊需求定义的文本, 该文本可以是指定的 DTE 速率,行速度,错误控制,数 据压缩或其他状态 fide 16.8. URCs 说明列表 n 表 8:URCs 说明列表 Co 序号 URC 显示 含义 条件 1 +CMTI:, 新短消息到达并存储在存储器内 AT+CNMI=2,1 +CMT:[], 模式) AT+CNMI=2,2 +CMT:,[],[,,,,,,,] 4 +CBM: 新小区广播消息到达并直接输出至 TE(PDU 模式) AT+CNMI=2,2 上海移远通信技术有限公司 228 / 250 M35 AT 命令手册 +CBM:,,, 新小区广播消息到达并直接输出至 5 ,,, TE(TEXT 模式) AT+CNMI=2,2 短 消 息 状 态 报 告 并 直 接 输 出 至 TE 6 +CDS: (PDU 模式) AT+CNMI=2,2 +CDS:,,[],[],< 短 消 息 状 态 报 告 并 直 接 输 出 至 TE 7 scts>,, (TEXT 模式) AT+CNMI=2,2 +CGEV:NW 8 DEACT, 网络去 GPRS 附着 AT+CGEREP=1 [,] +CGEV:ME 9 DEACT, ME 去 GPRS 附着 AT+CGEREP=1 [,] 10 11 12 13 14 15 16 17 18 19 20 21 +CGEV:NW DETACH +CGEV:ME DETACH l +CGREG:1 te +CGREG:0 c l +CGREG:1, ue tia +CGREG:0, +CSQN:, 网络去 GPRS 附着 ME 去 GPRS 附着 网络去注册 网络未注册 网络注册及本地小区信息 网络未注册及本地小区信息 信号质量改变 Q en 禁止可用网络 fid +CMWT:,,, 短消息等待 ,, +QGURC: 通话状态相关结果码 n +CBCN:, 显示电池充电状态及电量等级 Co +QBAND: 显示频率模式 AT+CGEREP=1 AT+CGEREP=1 AT+CGREG=1 AT+CGREG=1 AT+CGREG=2 AT+CGREG=2 AT+QEXTUNSOL ='SQ',1 AT+QEXTUNSOL ='FN',1 AT+QEXTUNSOL ='MW',1 AT+QEXTUNSOL ='UR',1 AT+QEXTUNSOL ='BC',1 AT+QEXTUNSOL ='BM',1 22 +TSMSINFO: 附加短消息信息 AT+QEXTUNSOL ='SM',1 +CCINFO:, 的呼叫序号且保留剩余的通话数目 ='CC',1 24 RING 来电指示 N/A 25 Call Ready 设置准备好建立或接受呼叫 N/A 上海移远通信技术有限公司 229 / 250 M35 AT 命令手册 26 UNDER_VOLTAGE POWER 低电压关机指示 N/A DOWN 27 UNDER_VOLTAGE WARNING 低电压报警 N/A OVER_VOLTAGE POWER 28 高电压关机指示 N/A DOWN 29 OVER_VOLTAGE WARNING 高电压报警 N/A 30 UNDER_VOLTAGE POWER 正常关机 N/A DOWN +COLP:,[,,[CLI validity]], 相关信息 AT+COLP=1 32 33 34 35 36 37 38 39 40 41 42 43 +CLIP:,'',,, +CRING: 显示主叫识别相关信息 来电指示 AT+CLIP=1 AT+CRC=1 l +CREG: ME GSM 网络注册状态指示 AT+CREG=1 te +CREG:[,,] c l +CCWA:,,[,] ME GSM 网络注册状态及小区信息指 示,当网络注册状态及小区信息更改 AT+CREG=2 时上报 呼叫等待指示 AT+CCWA=1,1 RDY ME 初始化完毕 N/A Q n +CFUN:1 ME 全功能模式 N/A e +CPIN: SIM 卡 PIN 状态 N/A fid MO RING 去电呼叫振铃 AT+QMOSTAT=1 MO CONNECTED on ALARM RING CALARM MODE 去电呼叫建立成功 闹铃时间到 ME 闹铃开机 AT+QMOSTAT=1 AT+QALARM=1,,,0/1 AT+QALARM=1,,,2 上海移远通信技术有限公司 230 / 250 M35 AT 命令手册 16.9. +CME ERROR 错误报告列表 非请求结果码+CME ERROR: 表示移动设备或网络报错,类似于 ERROR 错误结果码。一旦命 令被执行,不管正确与否,都要返回 OK 或者 ERROR 结果。 表 9:+CME ERROR 错误代码列表 含义 0 Phone failure 1 No connection to phone 2 3 4 5 6 7 10 11 12 13 14 15 Phone-adaptor link reserved Operation not allowed l Operation not supported te PH-SIM PIN required c l PH-FSIM PIN required ue tia PH-FSIMPUK required SIM not inserted Q en SIM PIN required fid SIM PUK required SIM failure nSIM busy CoSIM wrong 16 Incorrect password 17 SIM PIN2 required 18 SIM PUK2 required 20 Memory full 21 Invalid index 22 Not found 上海移远通信技术有限公司 231 / 250 M35 AT 命令手册 23 Memory failure 24 Text string too long 25 Invalid characters in text string 26 Dial string too long 27 Invalid characters in dial string 30 No network service 31 Network timeout 32 40 41 42 43 44 45 46 47 103 106 107 111 Network not allowed - emergency calls only Network personalization PIN required l Network personalization PUK required te Network subset personalization PIN required c l Network subset personalization PUK required ue tia Service provider personalization PIN required Service provider personalization PUK required Q n Corporate personalization PIN required e Corporate personalization PUK required fid Illegal MS Illegal ME nGPRS services not allowed CoPLMN not allowed 112 Location area not allowed 113 Roaming not allowed in this location area 132 Service option not supported 133 Requested service option not subscribed 134 Service option temporarily out of order 上海移远通信技术有限公司 232 / 250 M35 AT 命令手册 148 Unspecified GPRS error 149 PDP authentication failure 150 Invalid mobile class 151 Link NS SP person PIN required 152 Link NS SP person PUK required 153 Link SIM C person PIN required 154 Link SIM C person PUK required 302 601 602 603 604 605 606 607 608 609 610 3513 3515 Command conflict Unrecognized command l Return error te Syntax error c l Unspecified ue tia Data transfer already Action already Q n Not AT command e Multi command too long fid Abort COPS No call disconnect nUnread records on SIM CoPS busy 3516 Couldn't read SMS parameters from SIM 3517 SM not ready 3518 Invalid parameter 3738 CSCS mode not found 3742 CPOL operation format wrong 上海移远通信技术有限公司 233 / 250 M35 AT 命令手册 3765 Invalid input value 3769 Unable to get control 3771 Call setup in progress 3772 SIM powered down 3773 Invalid CFUN state 3774 Invalid ARFCN 3775 The pin is not in GPIO mode 16.10. +CMS ERROR 错误代码列表 tel 非请求结果码+CMS ERROR: 表示移动设备或网络报错,类似于 ERROR 错误结果码。一旦命 令被执行,不管正确与否,都要返回 OK 或者 ERROR 结果。 c l 表 10:+CMS ERROR 错误代码列表 ue tia Q n 300 e 301 fid 302 303 n 304 Co 305 含义 ME failure SMS ME reserved Operation not allowed Operation not supported Invalid PDU mode Invalid text mode 310 SIM not inserted 311 SIM pin necessary 312 PH SIM pin necessary 313 SIM failure 314 SIM busy 上海移远通信技术有限公司 234 / 250 M35 AT 命令手册 315 SIM wrong 316 SIM PUK required 317 SIM PIN2 required 318 SIM PUK2 required 320 Memory failure 321 Invalid memory index 322 Memory full 330 331 332 500 512 513 514 515 517 528 529 530 531 SMSC address unknown No network l Network timeout te Unknown c l SIM not ready ue tia Message length exceeds Invalid request parameters Q n ME storage failure e Invalid service mode fid More message to send state error MO SMS is not allow nGPRS is suspended CoME storage full 3513 Unread records on SIM 3515 PS busy 3516 Couldn't read SMS parameters from SIM 3517 SM not ready 3518 Invalid parameter 上海移远通信技术有限公司 235 / 250 M35 AT 命令手册 3742 Incorrect format 3765 Invalid input value 3769 Unable to get control of required module 3771 Call setup in progress 3772 SIM powered down 3773 Unable to operate in this cfun state 3774 Invalid arfcn in this band 3775 The pin is not in GPIO mode l 16.11. 错误扩展列表 te 16.11.1. Location ID 扩展错误报告列表 uec tial 表11:LocationID 扩展错误报告列表 ID 描述 Q n 0 No error (default) e 1 Cause for protocol stack(PS) layer fid 2 Internal cause for Mobility Management(MM) layer Con 3 Cause for PPP/IP-Stack 上海移远通信技术有限公司 236 / 250 M35 AT 命令手册 16.11.2. 协议栈层(PS)错误列表 表 12:协议栈层(PS)错误列表 原因 CM Cause 0 1 3 6 8 10 11 16 17 18 19 21 22 25 26 27 28 29 30 31 描述 Radio link fail Unassigned number No route to destination Channel unacceptable Operator determined barring l Call barred te Reserved c l Normal call clearing ue tia Userbusy Q n No user responding e User alerting, no answer fid Call rejected Number changed nPre-emption CoNon-selected user clearing Destination out of order Invalid number format (incomplete number) Facility rejected Response to STATUS ENQUIRY Normal, unspecified 上海移远通信技术有限公司 237 / 250 M35 AT 命令手册 34 No circuit/channel available 38 Network out of order 41 Temporary failure 42 Switching equipment congestion 43 Access information discarded 44 Requested circuit/channel not available 47 Resource unavailable, unspecified 49 50 55 57 58 63 65 68 69 70 79 81 87 Quality of service unavailable Requested facility not subscribed l Incoming calls barred within the CUG te Bearer capability not authorized c l Bearer capability not presently available ue tia Service or option not available, unspecified Bearer service not implemented Q n ACM equal or greater than ACM maximum e Requested facility not implemented fid Only restricted digital information bearer capability is available Service or option not implemented, unspecified nInvalid transaction identifier value CoUser not member of CUG 88 Incompatible destination 91 Invalid transit network selection 95 Semantically incorrect message 96 Invalid mandatory information 97 Message type non-existent or not implemented 上海移远通信技术有限公司 238 / 250 M35 AT 命令手册 98 Message type not compatible with protocol state 99 Information element non-existent or not implemented 100 Conditional information element error 101 Message not compatible with protocol 102 Recovery on timer expiry 111 Protocol error, unspecified 127 Interworking, unspecified 128 129 130 143 144 145 159 160 161 175 176 192 193 Telematic interworking not supported Short message Type 0 not supported l Cannot replace short message te Unspecified TP-PID error c l Data coding scheme (alphabet) not supported ue tia Message class not supported Unspecified TP-DCS error Q n Command cannot be acted e Command unsupported fid Unspecified TP-Command error TPDU not supported nSC busy CoNo SC subscription 194 SC system failure 195 Invalid SME address 196 Destination SME barred 197 SM Rejected-Duplicate SM 198 TP-VPF not supported 上海移远通信技术有限公司 239 / 250 M35 AT 命令手册 199 TP-VP not supported 208 SIM SMS storage full 209 No SMS storage capability in SIM 210 Error in MS 211 Memory Capacity Exceeded 212 SIM Application Toolkit Busy 213 SIM data download error 224 225 226 255 304 305 313 320 321 322 330 340 500 CP retry exceed RP trim timeout l SMS connection broken te Unspecified error cause c l Invalid PDU mode parameter ue tia Invalid TEXT mode parameter SIM failure Q n Memory failure e Invalid memory index fid Memory full SMSC address unknown nNo+CNMA acknowledgement expected CoUnknown error 512 SMS no error 513 Message length exceeds maximum length 514 Invalid request parameters 515 ME storage failure 516 Invalid bearer service 上海移远通信技术有限公司 240 / 250 M35 AT 命令手册 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 CC Cause 768 769 770 771 772 773 774 775 Invalid service mode Invalid storage type Invalid message format Too many MO concatenated messages SMSAL not ready SMSAL no more service Not support TP-Status-Report&TP-Command in storage Reserved MTI No free entity in RL layer l The port number is already registered te There is no free entity for port number c l More message to send state error ue tia MOSMSisnotallow GPRS is suspended Q n ME storage full e Doing SIM refresh fid Command not allowed nIllegal card ID CoCall allocation fail BC fill fail Call REEST Illegal DTMF tone Illegal BC Modify actual mode 上海移远通信技术有限公司 241 / 250 M35 AT 命令手册 776 777 778 896 897 898 SS Cause 1024 1025 1033 1034 1035 1036 1037 1040 1041 1042 1043 1044 1045 1051 1053 1054 1058 1059 Data action fail No response from network Call accept not allowed General cause CSD call is aborted by user during call establishment or MT call abort MO call/USSD CSD call is disconnected due to lower layer failure Cause none Unknown subscriber l Illegal subscriber te Bearer service not provisioned c l Tele service not provisioned ue tia Illegalequipment Call barred Q n Illegal SS operation e SS error status fid SS not available nSS subscription violation oSS incompatibility C Facility not supported Absent subscriber Short term denial Long term denial System failure Data missing 上海移远通信技术有限公司 242 / 250 M35 AT 命令手册 1060 Unexpected data value 1061 PW registration failure 1062 Negative PW check 1067 Number of PW attempts violation 1078 Position method failure 1095 Unknown alphabet 1096 USSD busy 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 Rejected by user Rejected by network l Deflection to served subscriber te Special service code c l Invalid deflection to number ue tia Max number of MPTY participants exceeded Resources not available Q n General problem, unrecognized component e General problem, mistyped component fid General problem, badly structured component Invoke problem, duplicate invoked nInvoke problem, unrecognized operation CoInvoke problem, mistyped parameter 1158 Invoke problem, resource limitation 1159 Invoke problem, initiating release 1160 Invoke problem, unrecognized linked ID 1161 Invoke problem, linked resource unexpected 1162 Invoke problem, unexpected linked operation 上海移远通信技术有限公司 243 / 250 M35 AT 命令手册 1163 1164 1165 1166 1167 1168 1169 1170 MM Cause 2048 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 Return result problem, RR unrecognized invoked Return result problem, RR, return result unexpected Return result problem, RR mistyped parameter Return error problem, RE, unrecognized invoked Return error problem, RE return error unexpected Return error problem, RE unrecognized error Return error problem, RE unexpected error Return error problem, RE mistyped parameter l Cause none te IMSI unknown in HLR c l Illegal MS ue tia IMSIunknowninVLR IMEI not accepted Q n Illegal ME e GPRS not allowed fid None GPRS not allowed MS ID not derived by network nImplicit detach CoPLMN not allowed Location area not allowed Roaming area not allowed GPRS not allowed in PLMN No suitable cells in LA MSC temp not reachable 上海移远通信技术有限公司 244 / 250 M35 AT 命令手册 2065 Network failure 2068 MAC failure 2069 Sync failure 2070 Congestion 2080 Serve option not supported 2081 Request serve option not subscribed 2082 Serve option temp out of order 2086 2088 2096 2111 2143 2144 2145 2146 2147 2148 2149 2159 2160 Call cannot be identified No PDP context activated l Retry upon entry into a new cell te Retry upon entry into a new cell c l Semantically incorrect message ue tia InvalidMMinfo Message type non existent Q n Message type incompatible with protocol state e IE not implemented fid Conditional MM IE error Message not compatible with protocol state nProtocol error unspecified CoAccess barred 2161 Assignment reject 2162 Random access failure 2163 RR no service 2164 PLMN search reject emergency 2165 RR connection release 上海移远通信技术有限公司 245 / 250 M35 AT 命令手册 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 SIM Cause 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 SM Cause Authentication failure IMSI detach Abort by network Connection timeout Enqueue fail Not updated State not allowed Emergency not allowed No service l Access class barred cte l Command success ue tia Commandfail Fatal error Q n No inserted e CHV not init fid CHV verify error CHV block nAccess not allow CoSAT command busy DL error Memory problem Technical problem PUK unlock 上海移远通信技术有限公司 246 / 250 M35 AT 命令手册 3080 Operator determined barring 3097 LLC SND failure 3098 Insufficient resource 3099 Unknown APN 3100 Unknown PDP address or type 3101 Authentication failure 3102 Activation reject GGSN 3103 3104 3105 3106 3108 3109 3110 3111 3112 3113 3114 3115 3116 Activation reject Unsupported service option l Unsubscribed service option te Out of order service option c l Regular deactivation ue tia QOSnotaccepted Network fail Q n Reactivation required e Unsupported network context activation fid Semantic error in TFT operation Syntactical error in TFT operation nUnknown PDP context CoSemantic error in packet filter 3117 Syntax error in packet filter 3118 PDP context WO TFT already act 3153 Invalid TI 3167 Incorrect message 3168 Invalid MAND info 上海移远通信技术有限公司 247 / 250 M35 AT 命令手册 3169 Unimplemented message type 3170 Incompatible message type protocol state 3171 Unimplemented IE 3172 Conditional IE error 3173 Incompatible message protocol state 3183 Unspecified 3184 ABM Cause 3273 3274 3275 3276 3277 3278 3279 3280 3283 3284 3285 3286 TCM Cause Startup failure Success l Invalid network account ID te GPRS reactivate c l GPRS protocol rejection ue tia CSDreactivate CSD PPP negotiated failed Q n CSD action failed e CSD call setup failed fid Rejected Slot limited nAbort CoNone auto deactivation 3372 Invalid parameter 3373 NSAPI not in use 3374 ACL action not allowed 3375 ACL SIM file full 上海移远通信技术有限公司 248 / 250 3376 3377 3378 3379 3380 ACL add entry failed ACL del entry failed ACL set entry failed ACL SIM read failed ACL SIM write failed M35 AT 命令手册 16.11.3. MM 层内部错误列表 表 13:MM 层内部错误列表 原因 l 112 te 113 c l 114 ue tia 115 116 Q n 117 fide 118 119 n 120 Co 121 描述 Forbidden PLMN Access class barred No coverage GPRS service not allowed Timer expiry SIM inserted SIM removed SIM absent SIM invalid for PS SIM invalid for CS 122 SIM invalid for PS and CS 123 Low layer fail 124 Connection in progress 125 Not updated 126 Connection establish failure 127 Connection abort 上海移远通信技术有限公司 249 / 250 M35 AT 命令手册 128 Connection failure 129 Emergency not allowed 130 No GPRS coverage 131 Abnormal LU 132 Abnormal LU less then 4 times 133 Same LAI IMSI attaching 16.11.4. PPP/IP 栈错误列表 表 14:PPP/IP 栈错误列表 l 原因 te 0 c l 1 ue tia 2 3 Q n 4 fide 5 6 n 7 Co 8 描述 No error LCP fail Authentication fail IPCP fail ESC detect Plug out detect PPP GPRS dialup already activated PPP not activated by external modem yet PPP already activated by external modem 9 PPP not activated by WAP over CSD yet 10 PPP already activated by WAP over CSD 11 PPP wrong CSD mode ID 12 PPP detect AT command during dialup 13 PPP detect escape during dialup 上海移远通信技术有限公司 250 / 250
2.06 MB
BC260Y-CN AT 命令手册 NB-IoT 模块系列 版本:BC260Y-CN_AT_命令手册_V1.0 日期:2020-07-11 状态:受控文件 www.quectel.com BC260Y-CN AT 命令手册 上海移远通信技术股份有限公司始终以为客户提供最及时、最全面的服务为宗旨。如需任何帮助,请随时 联系我司上海总部,联系方式如下: 上海移远通信技术股份有限公司 上海市闵行区田林路 1016 号科技绿洲 3 期(B 区)5 号楼 电话:+86 21 51086236 邮箱:info@quectel.com 邮编:200233 或联系我司当地办事处,详情请登录: http://www.quectel.com/cn/support/sales.htm 如需技术支持或反馈我司技术文档中的问题,可随时登陆如下网址: http://www.quectel.com/cn/support/technical.htm 或发送邮件至:support@quectel.com 前言 上海移远通信技术股份有限公司提供该文档内容用以支持其客户的产品设计。客户须按照文档中提供的规 范、参数来设计其产品。由于客户操作不当而造成的人身伤害或财产损失,本公司不承担任何责任。在未 声明前,上海移远通信技术股份有限公司有权对该文档进行更新。 版权申明 本文档版权属于上海移远通信技术股份有限公司,任何人未经我司允许而复制转载该文档将承担法律责任。 版权所有 ©上海移远通信技术股份有限公司 2020,保留一切权利。 Copyright © Quectel Wireless Solutions Co., Ltd. 2020. 上海移远通信技术股份有限公司 1 / 88 BC260Y-CN AT 命令手册 文档历史 修订记录 版本 日期 1.0 2020-07-11 作者 饶晨 变更表述 初始版本 上海移远通信技术股份有限公司 2 / 88 BC260Y-CN AT 命令手册 目录 文档历史 ....................................................................................................................................................... 2 目录 .............................................................................................................................................................. 3 表格索引 ....................................................................................................................................................... 5 1 引言 ....................................................................................................................................................... 6 1.1. 定义 ............................................................................................................................................ 6 1.2. AT 命令语法 ............................................................................................................................... 6 1.3. AT 命令响应 .............................................................................................................................. 7 2 产品信息查询命令 ................................................................................................................................. 8 2.1. ATI 显示产品标识信息 ............................................................................................................. 8 2.2. AT+CGMI 查询制造商信息 ...................................................................................................... 9 2.3. AT+CGMM 查询模块型号........................................................................................................ 9 2.4. AT+CGMR 查询制造商版本号............................................................................................... 10 2.5. AT+CGSN 查询产品序列号 ................................................................................................... 11 3 UART 功能命令................................................................................................................................... 13 3.1. ATE 设置命令回显模式.......................................................................................................... 13 3.2. AT+IPR 设置 TE-TA 的波特率............................................................................................... 14 4 网络状态查询命令 ............................................................................................................................... 16 4.1. AT+CSQ 上报信号质量 ......................................................................................................... 16 4.2. AT+CESQ 扩展信号质量 ....................................................................................................... 17 4.3. AT+CEREG EPS 网络注册状态 ............................................................................................ 19 4.4. AT+CGATT PS 域附着或去附着 ........................................................................................... 22 4.5. AT+CGPADDR 显示 PDP 地址 ............................................................................................. 23 4.6. AT+CREG 网络注册状态....................................................................................................... 25 4.7. AT+CSCON RRC 连接状态................................................................................................... 26 4.8. AT+QENG 查询工程模式 ...................................................................................................... 28 5 PDN 和 APN 相关命令 ........................................................................................................................ 32 5.1. AT+CGACT PDP 上下文激活/去激活.................................................................................... 32 5.2. AT+CGDCONT 定义 PDP 上下文 ......................................................................................... 33 5.3. AT+CGAPNRC APN 速率控制.............................................................................................. 37 5.4. AT+QCGDEFCONT 配置默认的 APN/PDN 连接.................................................................. 38 6 其他网络命令....................................................................................................................................... 40 6.1. AT+QPLMNS 触发 PLMN 搜索 ............................................................................................. 40 6.2. AT+COPS PLMN 选择 .......................................................................................................... 41 6.3. AT+CCIOTOPT CloT 优化配置 ............................................................................................. 43 6.4. AT+QBAND 查询/设置工作频段 ............................................................................................ 44 6.5. AT+QLOCKF 锁定 NB-IoT 频点及 PCI.................................................................................. 46 6.6. AT+QCSEARFCN 清除 NB-IoT 存储的 EARFCN 列表 ........................................................ 47 7 (U)SIM 相关命令 ................................................................................................................................. 48 上海移远通信技术股份有限公司 3 / 88 BC260Y-CN AT 命令手册 7.1. AT+CCHO 打开一个逻辑通道 ............................................................................................... 48 7.2. AT+CCHC 关闭一个逻辑通道 ............................................................................................... 49 7.3. AT+CGLA 通用 UICC 逻辑通道接入 ..................................................................................... 50 7.4. AT+CIMI 查询(U)SIM 卡 IMSI................................................................................................ 51 7.5. AT+CPIN 输入 PIN ................................................................................................................ 51 7.6. AT+CPINR 查询输入 PIN 剩余重试次数 ............................................................................... 53 7.7. AT+CSIM 通用(U)SIM 卡访问 ............................................................................................... 54 7.8. AT+CRSM 有限(U)SIM 卡访问.............................................................................................. 54 7.9. AT+QCCID (U)SIM 卡识别 .................................................................................................... 56 8 功耗相关命令....................................................................................................................................... 57 8.1. AT+CFUN 设置 UE 功能等级 ................................................................................................ 57 8.2. AT+CPSMS PSM(省电模式)设置 ..................................................................................... 58 8.3. AT+CEDRXS eDRX 设置 ...................................................................................................... 60 8.4. AT+CEDRXRDP 读取 eDRX 动态参数 ................................................................................. 63 8.5. AT+QEDRXCFG eDRX 参数配置 ......................................................................................... 65 8.6. AT+QNBIOTEVENT 启用/禁用 NB-IoT 相关事件上报 .......................................................... 68 8.7. AT+QSCLK 配置休眠模式 ..................................................................................................... 69 9 平台相关命令....................................................................................................................................... 71 9.1. AT+CBC 查询模块供电电压 .................................................................................................. 71 9.2. AT+QADC 查询 ADC 通道输入电压值 .................................................................................. 72 9.3. AT+CMEE 启用/禁用移动终端错误上报................................................................................ 73 9.4. AT+QRST 重启模块 .............................................................................................................. 74 9.5. AT+QCFG 系统配置 .............................................................................................................. 74 10 时间相关命令....................................................................................................................................... 77 10.1. AT+CCLK 设置/获取当前日期和时间 .................................................................................... 77 10.2. AT+CTZR 时区上报............................................................................................................... 78 11 错误代码汇总....................................................................................................................................... 80 12 附录 A 术语缩写 .................................................................................................................................. 85 上海移远通信技术股份有限公司 4 / 88 BC260Y-CN AT 命令手册 表格索引 表 1:AT 命令及响应类型 ............................................................................................................................ 7 表 2:常见错误代码列表(27.007).......................................................................................................... 80 表 3:术语缩写 ........................................................................................................................................... 85 上海移远通信技术股份有限公司 5 / 88 BC260Y-CN AT 命令手册 1 引言 本文档详细介绍了移远通信 NB-IoT BC260Y-CN 模块支持的 AT 命令集。 1.1. 定义 ⚫ ⚫ ⚫ ⚫ […] ⚫ 下划线 回车符。 换行符。 参数名称。实际命令行中不包含尖括号。 可选参数或 TA 信息响应的可选部分。实际命令行中不包含方括号。若无特别说明, 配置命令中的可选参数被省略时,将默认使用其之前已设置的值或其默认值。 参数的默认设置。 1.2. AT 命令语法 前缀 AT 或 at 必须加在每个命令行的开头。输入 将终止命令行。通常,命令后面跟随形式为 的响应。在本文档中,仅显示响应 ,省略 。 BC260Y-CN 模块实现的 AT 命令可以在语法上分为两类:基础类和扩展类,如下所列。 ⚫ 基础类 基础类 AT 命令的格式为 AT 或 AT&,其中 是命令, 是该命令的参数。 以 ATE 为例,DCE 会根据 的取值确定是否将接收到的字符回显给 DTE。若 为可 选参数,则其被省略时将使用其默认值。 ⚫ 扩展类 扩展类 AT 命令可以在多种模式下运行,如下表所示: 上海移远通信技术股份有限公司 6 / 88 BC260Y-CN AT 命令手册 表 1:AT 命令及响应类型 测试命令 查询命令 AT+=? AT+? 返回相应设置命令或内部程序可支持的参数取值 列表或范围。 返回相应设置命令的当前参数设置值。 设置命令 AT+=[,[,[...]]] 设置用户可自定义的参数值。 执行命令 AT+ 主动执行内部程序实现的功能集。 备注 每次仅支持执行一个 AT 命令。只有当上一个命令执行完成后,方可执行下一个命令。 1.3. AT 命令响应 当 AT 命令处理器处理完一条命令后,会返回 OK、ERROR 或 +CME ERROR: ,表示已经准备 好接收新命令。在返回最终结果 OK,ERROR 或 +CME ERROR: 之前,会返回命令请求的响应消 息。 以下是响应消息的格式: +CMD1: OK 或者 OK 上海移远通信技术股份有限公司 7 / 88 BC260Y-CN AT 命令手册 2 产品信息查询命令 2.1. ATI 显示产品标识信息 该命令返回产品标识信息,即设备型号和固件版本号。 ATI 显示产品标识信息 执行命令 ATI 响应 Quectel_Ltd Revision: OK 最大响应时间 5秒 特性说明 / 参数 字符串类型。设备型号标识符。 字符串类型。固件版本号。 举例 ATI Quectel_Ltd Quectel_BC260Y-CN Revision: BC260YCNAAR01A01 OK 上海移远通信技术股份有限公司 8 / 88 2.2. AT+CGMI 查询制造商信息 该命令用于查询制造商信息。 AT+CGMI 查询制造商信息 测试命令 AT+CGMI=? 执行命令 AT+CGMI 最大响应时间 特性说明 响应 OK 响应 Quectel_Ltd Revision: EC616 OK 5秒 / 参数 字符串类型。设备型号标识符。 举例 AT+CGMI Quectel_Ltd Quectel_BC260Y-CN Revision: EC616 OK 2.3. AT+CGMM 查询模块型号 该命令用于查询模块型号。 AT+CGMM 查询模块型号 测试命令 AT+CGMM=? 执行命令 AT+CGMM 响应 OK 响应 上海移远通信技术股份有限公司 BC260Y-CN AT 命令手册 9 / 88 OK 最大响应时间 5秒 特性说明 / 参数 字符串类型。设备型号标识符。 举例 AT+CGMM Quectel_BC260Y-CN OK 2.4. AT+CGMR 查询制造商版本号 该命令返回制造商版本号,默认为固件版本号。 AT+CGMR 查询制造商版本号 测试命令 AT+CGMR=? 执行命令 AT+CGMR 响应 OK 响应 Revision: OK 最大响应时间 5秒 特性说明 / 参数 字符串类型。固件版本号。 BC260Y-CN AT 命令手册 上海移远通信技术股份有限公司 10 / 88 举例 AT+CGMR Revision: BC260YCNAAR01A01 OK BC260Y-CN AT 命令手册 2.5. AT+CGSN 查询产品序列号 该命令返回产品的 IMEI 号及 SN 号相关信息。对于不支持的 TA,仅返回 OK。 AT+CGSN 查询产品序列号 测试命令 AT+CGSN=? 响应 TE 支持且命令执行成功时: +CGSN: (支持的范围) 查询命令 AT+CGSN= OK 响应 当=0 时: OK 当=1 时 +CGSN: OK 当=2 时 +CGSN: OK 当=3 时 +CGSN: OK 若出现任何错误: ERROR 或者 +CME ERROR: 上海移远通信技术股份有限公司 11 / 88 执行命令 AT+CGSN 最大响应时间 特性说明 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / BC260Y-CN AT 命令手册 参数 整型。表示被请求的序列号类型。 0 返回 128 位的 UUID 1 返回 IMEI 2 返回 IMEISV 3 返回 SVN 字符串类型。表示 UE 的 128 位 UUID。信息文本中(包括行终止符在内)的字符总数 不超过 2048 个字符,且不包含 0 或 OK。 十进制格式的字符串类型。表示 IMEI。 十进制格式的字符串类型。表示 IMEISV。 十进制格式的字符串类型。表示 SVN 号,属于 IMEISV 的一部分。 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CGSN=1 +CGSN: 490154203237511 OK //查询 IMEI 号 上海移远通信技术股份有限公司 12 / 88 BC260Y-CN AT 命令手册 3 UART 功能命令 3.1. ATE 设置命令回显模式 该命令用于设置 UE 是否回显从外部接收的命令。 ATE 设置命令回显模式 执行命令 ATE 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;不保存至 NVRAM。 参数 整型。表示是否回显命令。 0 不回显命令 1 回显命令 举例 ATE0 OK ATI Quectel_Ltd Quectel_BC260Y-CN Revision: BC260YCNAAR01A01 OK ATE1 上海移远通信技术股份有限公司 13 / 88 OK ATI ATI Quectel_Ltd Quectel_BC260Y-CN Revision: BC260YCNAAR01A01 OK BC260Y-CN AT 命令手册 3.2. AT+IPR 设置 TE-TA 的波特率 该命令用于设置 TE-TA 的波特率。 AT+IPR 设置 TE-TA 的波特率 测试命令 AT+IPR=? 响应 +IPR: (支持的自适应列表),(支持的固定列表) 查询命令 AT+IPR? OK 响应 +IPR: 设置命令 AT+IPR= OK 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;自动保存至 NVRAM。 参数 整型。每秒波特率。 0 (自适应波特率) 2400 4800 9600 上海移远通信技术股份有限公司 14 / 88 BC260Y-CN AT 命令手册 19200 38400 57600 115200 230400 460800 整型。错误码。详细信息,请参考第 11 章。 备注 自适应模式支持以下波特率:2400 bps、4800 bps、9600 bps、19200 bps、38400 bps、57600 bps、 115200 bps 和 230400 bps。 举例 AT+IPR=115200 OK AT+IPR? +IPR: 115200 OK //将波特率固定设置为 115200 bps。 上海移远通信技术股份有限公司 15 / 88 BC260Y-CN AT 命令手册 4 网络状态查询命令 4.1. AT+CSQ 上报信号质量 该命令可返回接收信号强度指示和信道误码率。 AT+CSQ 上报信号质量 测试命令 AT+CSQ=? 响应 +CSQ: (支持的范围),(支持的列表) 执行命令 AT+CSQ OK 响应 +CSQ: , OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。接收信号强度指示。 0 -113 dBm 或以下 1 -111 dBm 2~30 -109 dBm 至-53 dBm 31 -51 dBm 或以上 99 未知 整型。信道误码率(百分比)。 0~7 RxQual 值(RxQual_0 至 RxQual_7 的定义,请参阅 3GPP TS 45.008) 99 未知 上海移远通信技术股份有限公司 16 / 88 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CSQ +CSQ: 22,0 OK BC260Y-CN AT 命令手册 4.2. AT+CESQ 扩展信号质量 执行命令返回接收信号质量参数。 终端将提供 0 到 99 的信号强度指示,通常数值越大强度越高。 AT+CESQ 扩展信号质量 测试命令 AT+CESQ=? 响应 +CESQ: (支持的列表),(支持的列表),(支持的 列表),(支持的列表),(支持的列表),(支 持的列表) 执行命令 AT+CESQ OK 响应 +CESQ: ,,,,, OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。接收信号强度等级。 0 < -110 dBm 1 -110 dBm ≤ < -109 dBm 上海移远通信技术股份有限公司 17 / 88 BC260Y-CN AT 命令手册 2 -109 dBm ≤ < -108 dBm … 61 -50 dBm ≤ < -49 dBm 62 -49 dBm ≤ < -48 dBm 63 -48 dBm ≤ 99 未知 整型。信道误码率(百分比)。 0-7 RxQual 值(RxQual_0 至 RxQual_7 的定义,请参阅 3GPP TS 45.008) 99 未知 整型。接收信号码功率(参见 3GPP 25.133 和 3GPP 25.123)。 0 -120 dBm 或以下 1 -120 dBm ≤ < -119 dBm 2 -119 dBm ≤ < -118 dBm … 94 -27 dBm ≤ < -26 dBm 95 -26 dBm ≤ < -25 dBm 96 -25 dBm ≤ 255 未知 整型。Ec/No(参见 3GPP 25.133)。 0 -24 dBm 或以下 1 -24 dBm ≤ < -23.5 dBm 2 -23.5 dBm ≤ < -23 dBm … 47 -1 dBm ≤ < -0.5 dBm 48 -0.5 dBm ≤ < 0 dBm 49 0 dBm ≤ 255 未知 整型。参考信号接收质量 (参见 3GPP 25.133)。需要发送数据时,建议 RSRQ 大于-10dB。 0 -19.5 dB 或以下 1 -19.5 dB ≤ < -19 dB 2 -19 dB ≤ < -18.5 dB … 32 -4 dB ≤ < -3.5 dB 33 -3.5 dB ≤ < -3 dB 34 -3 dB ≤ 255 未知 整型。参考信号接收功率(参见 3GPP 25.133)。需要发送数据时,建议 RSRP 大于-115 dBm。 0 -140 dBm 或以下 1 -140 dBm ≤ < -139 dBm 2 -139 dBm ≤ < -138 dBm … 95 -46 dBm ≤ < -45 dBm 96 -45 dBm ≤ < -44 dBm 上海移远通信技术股份有限公司 18 / 88 97 -44 dBm ≤ 255 未知 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CESQ +CESQ: 99,99,255,255,26,56 OK 备注 1. 和不适用于 NB-IoT 网络,应设置为未知(99)。 2. 和不适用于 NB-IoT 网络,应设置为未知(255)。 BC260Y-CN AT 命令手册 4.3. AT+CEREG EPS 网络注册状态 该命令用于查询当前 EPS 网络注册状态,并用于当 EPS 网络注册状态改变时,设置上报的 URC 的显 示格式。 AT+CEREG EPS 网络注册状态 测试命令 AT+CEREG=? 响应 +CEREG: (支持的范围) 查询命令 AT+CEREG? OK 响应 当=0/1/2/3 且命令成功执行时: +CEREG: ,[,[],[],[[,,]]] 当=4/5 并且命令成功执行时: +CEREG: ,[,[],[],[][,[],[][,[],[]]]] OK 若出现任何错误: ERROR 或者 上海移远通信技术股份有限公司 19 / 88 BC260Y-CN AT 命令手册 设置命令 AT+CEREG= 最大响应时间 特性说明 +CME ERROR: 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 参数配置自动保存至 NVRAM;深休眠唤醒后仍有效。 参数 整型。 0 禁用上报网络注册状态 URC 1 启用上报网络注册状态 URC +CEREG: 2 启用上报网络注册状态和位置信息 URC: +CEREG: [,[],[],[]] 3 允许上报网络注册状态、位置信息和 EMM 原因值 URC: +CEREG: [,[],[],[][,,]] 4 对于请求 PSM 的 UE,允许上报网络注册状态、位置信息和网络定时器配置 URC: +CEREG: [,[],[],[][,,[,[],[]]]] 5 对于请求 PSM 的 UE,允许上报网络注册状态、位置信息、EMM 原因值和网络定时器 配置 URC: +CEREG: [,[],[],[][,[],[][,[,[]]]] 整型。EPS 注册状态。 0 未注册,MT 当前未搜索网络 1 已注册,归属网络 2 未注册,但 MT 当前正在尝试附着或搜索网络以进行注册 3 注册被拒绝 4 未知(例如:超出 E-UTRAN 覆盖范围) 5 注册,漫游状态 字符串类型。跟踪区域代码,两个字节,十六进制格式(例如,'00C3'等于十进制的 195)。 字符串类型。位置区域代码,两个字节,十六进制格式(例如,'00C3'等于十进制的 195)。 字符串类型。E-UTRAN 小区 ID,四个字节,十六进制格式。 整型。注册网络的接入技术。 7 E-UTRAN 9 E-UTRAN (NB-S1 模式) 整型。的类型 0 表示包含一个 EMM 原因值(请参见 3GPP TS 24.008 [8] AnnexG) 上海移远通信技术股份有限公司 20 / 88 BC260Y-CN AT 命令手册 1 表示包含特定制造商的原因值 整型。包含注册失败的原因。该值的类型由定义。请参见 3GPP TS 24.301 字符串类型。E-UTRAN 中分配给 UE 的激活时间值(T3324),8 位格式的 1 个字节 参数。激活时间值被编码为 GPRS Timer 2 信息元素的一个字节(octet 3),所述信息 元素编码为位格式(例如'00100100' 等于 4 分钟)。有关编码和取值范围,请参阅 3GPP TS 24.008 Table 10.5.163/3GPP TS 24.008、3GPP TS 23.682 以及 3GPP TS 23.401 中的 GPRS Timer 2 信息元素。 第 5 位至第 1 位表示二进制编码的定时器值。 第 6 位至第 8 位定义 GPRS 定时器步长,如下所示: 位 8 7 6 0 0 0 步长为 2 秒 0 0 1 步长为 1 分钟 0 1 0 步长为 6 分钟 1 1 1 表示去使能该定时器 字符串类型。E-UTRAN 中分配给 UE 的扩展的周期性 TAU 值(T3412),8 位格式的 1 个字节参数。扩展的周期性 TAU 值被编码为 GPRS Timer 3 信息元素的一个字节 (octet 3),所述信息元素编码为位格式(例如'01000111' 等于 70 小时)。有关编 码和取值范围,请参阅 3GPP TS 24.008 Table 10.5.163a/3GPP TS 24.008, 3GPP TS 23.682 以及 3GPP TS 23.401 中的 GPRS Timer 3 信息元素。 第 5 位至第 1 位表示二进制编码的定时器值 第 8 位至第 6 位定义定时器步长,如下所示: 位 8 7 6 0 0 0 步长为 10 分钟 0 0 1 步长为 1 小时 0 1 0 步长为 10 小时 0 1 1 步长为 2 秒 1 0 0 步长为 30 秒 1 0 1 步长为 1 分钟 1 1 0 步长为 320 小时 1 1 1 表示去使能该定时器 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CEREG=1 OK AT+CEREG? +CEREG: 1,1 OK AT+CEREG=? +CEREG: (0-5) 上海移远通信技术股份有限公司 21 / 88 BC260Y-CN AT 命令手册 OK 4.4. AT+CGATT PS 域附着或去附着 设置命令用于将 MT 附着于 PS 域,或者将 MT 从 PS 域去附着。命令完成后,MT 保持在 V.250 命令 状态。如果 MT 已经处于请求状态,则将忽略该命令,并且仍将响应 OK。如果 MT 无法实现请求状态,将 响应 ERROR 或+CME ERROR。 当附着状态更改为去附着状态时,将自动去激活所有已激活的 PDP 上下文。 查询命令返回当前 PS 域服务状态。 测试命令返回支持的 PS 域服务状态。 AT+CGATT PS 域附着或去附着 测试命令 AT+CGATT=? 响应 +CGATT: (支持的列表) 查询命令 AT+CGATT? OK 响应 +CGATT: 设置命令 AT+CGATT= OK 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 70 秒 / 参数 整型。PDP 上下文激活状态。 0 去附着 1 附着 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 22 / 88 举例 AT+CGATT? +CGATT: 0 OK AT+CGATT=1 OK AT+CGATT=? +CGATT: (0,1) OK BC260Y-CN AT 命令手册 4.5. AT+CGPADDR 显示 PDP 地址 查询命令返回所有关联上下文标识符()的 PDP 地址列表。 执行命令返回指定上下文标识符的 PDP 地址列表。如果未指定,则返回所有已定义上下文的地 址。 AT+CGPADDR 显示 PDP 地址 测试命令 AT+CGPADDR=? 响应 [+CGPADDR: (已定义的列表)] 查询命令 AT+CGPADDR? OK 响应 +CGPADDR: [,[,]] [+CGPADDR: [,[,]]] [...] 设置命令 AT+CGPADDR=[,[,...]] OK 响应 [+CGPADDR: [,[,]]] [+CGPADDR: [,[,]]] [...] 执行命令 AT+CGPADDR OK 响应 [+CGPADDR: [,[,]]] [+CGPADDR: [,[,]]] [...] 上海移远通信技术股份有限公司 23 / 88 BC260Y-CN AT 命令手册 OK 最大响应时间 5秒 特性说明 / 参数 / 整型。PDP 上下文标识符,用于指定特定 PDP 上下文的定义(请 参阅 AT+CGDCONT 命令)。如果未指定,则返回所有已 定义上下文的地址。支持的范围 0~11。 字符串类型。PDP 地址,用于在适用于 PDP 的地址空间中识别 MT;地址可以为静态 或动态。 静态地址:在定义上下文时由 AT+CGDCONT 命令设置。 动态地址:在上一次 PDP 上下文激活(使用了指定的上下 文 定 义 ) 期 间 分 配 。 如 果 没 有 可 用 的 或 ,该参数将被省略。 当同时分配了 IPv4 和 IPv6 地址时,将同时包含 和,其中对应 IPv4 地址,而 对应 IPv6 地址。 该字符串以点分隔的数值(0~255)参数形式给出: IPv4 地址形式: a1.a2.a3.a4 IPv6 地址形式: a1.a2.a3.a4.a5.a6.a7.a8.a9.a10.a11.a12.a1 3.a13.a14.a15.a16 备注 1. 在双栈终端(='IPV4V6')中, 对应 IPv6 的地址;对 IPv6 单栈终端 (='IPV6')或具有向后兼容性的终端,IPv6 地址也可包含在参数 中。 2. =0 对 应 的 为 默 认 的 PDP 上 下 文 , 无 法 通 过 AT+CGDCONT 进 行 配 置 , 但 可 以 通 过 AT+QCGDEFCONT 进行配置。 举例 AT+CGPADDR=0 +CGPADDR: 0,101.43.5.1 OK 上海移远通信技术股份有限公司 24 / 88 BC260Y-CN AT 命令手册 4.6. AT+CREG 网络注册状态 设置命令用于设置网络注册状态 URC 的显示: ⚫ =1 设置显示 URC +CREG: 的显示,该 URC 指示 GERAN/UTRAN/E-UTRAN 中 MT 的网络注册状态变化。 ⚫ =2 设置 URC +CREG: [,[],[],[]] 的显示,该 URC 指示 GERAN/ UTRAN/E-UTRAN 中的网络小区变化;参数、和仅在可用时才会上报。 ⚫ =3 进 一 步 设 置 当 的 值 改 变 时 在 URC 中 显 示 更 多 参 数 [,,](若可用)。 查询命令返回 URC 显示的状态,同时返回整型参数以指示 MT 是否已经注册到当前网络。位置 信 息 参 数 、 和 如 果 可 用 , 仅 在 =2 且 MT 已 注 册 到 网 络 时 上 报 。 参 数 ,如果可用,仅在=3 时上报。 AT+CREG 网络注册状态 测试命令 AT+CREG=? 响应 +CREG: (支持的列表) 查询命令 AT+CREG? OK 响应 +CREG: ,[,[],[],[][,,]] OK 设置命令 AT+CREG= 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 参数配置自动保存至 NVRAM;深休眠唤醒后仍有效。 上海移远通信技术股份有限公司 25 / 88 BC260Y-CN AT 命令手册 参数 整型。 0 禁用网络注册 URC 1 启用 URC 网络注册 URC + CREG: 2 启用网络注册和位置信息 URC +CREG: [,[],[],[]] 3 启用网络注册、位置信息和 EMM 原因值信息 URC +CREG: [,[],[],[][,,]] 整型,注册状态。 0 未注册,MT 当前未搜索网络 1 已注册的归属网络 2 未注册,但 MT 当前正在尝试附着或搜索网络进行注册 3 注册被拒绝 4 未知(例如:超出 E-UTRAN 覆盖范围) 5 注册,漫游状态 6 归属网络注册,仅支持短信 7 漫游注册,仅支持短信 字符串类型。位置区码,两个字节,十六进制格式(例如,'00C3'等于十进制的 195)。 字符串类型。E-UTRAN 小区 ID。四个字节,十六进制格式。 整型。注册网络的接入技术。 9 E-UTRAN (NB-S1 模式) 整型。的类型。 0 表示包含 EMM 原因值(请参见 3GPP TS 24.008 [8] Annex G) 1 表示包含特定制造商的原因值 整型。包含注册失败的原因。该值的类型由定义。参考 3GPP TS 24.301。 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CREG? +CREG: 3,0 OK 4.7. AT+CSCON RRC 连接状态 该命令可提供 TA 感知的无线连接状态(即和基站的连接状态)信息,并可返回当前状态的指示。该状 态仅在无线事件(例如发送和接收)发生时更新。因此,当前返回的状态可能已经过时。即使在返回状态 =1(已连接状态)的情况下,因为连接质量的变化,模块仍可能无法连接到基站。 设置命令用于控制 URC +CSCON: 的显示。 上海移远通信技术股份有限公司 26 / 88 BC260Y-CN AT 命令手册 值指示 MT 在 E-UTRAN 中时的状态:MT 在没有信令连接时为空闲状态,有信令连接时为已 连接状态。 查询命令返回 URC 显示的状态和整型参数以指示 MT 当前为空闲状态或已连接状态。 AT+CSCON RRC 连接状态 测试命令 AT+CSCON=? 响应 +CSCON: (支持的列表) 查询命令 AT+CSCON? OK 响应 +CSCON: , OK 设置命令 AT+CSCON= 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 参数配置自动保存至 NVRAM;深休眠唤醒后仍有效。 参数 整型。启用/禁用 URC。 0 禁用 URC 1 启用 URC +CSCON: 整型。信令连接状态。 0 空闲状态 1 已连接状态 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 27 / 88 举例 AT+CSCON=0 OK AT+CSCON? +CSCON: 0,1 OK AT+CSCON=? +CSCON: (0,1) OK AT+CSCON=1 OK AT+CSCON? +CSCON: 1,1 OK BC260Y-CN AT 命令手册 4.8. AT+QENG 查询工程模式 该命令用于查询模块当前的网络服务信息。当模块处于 PSM 状态或无服务时,设置命令不支持 =0。 AT+QENG 查询工程模式 测试命令 AT+QENG=? 响应 +QENG: (支持的范围) 设置命令 AT+QENG= OK 响应 当=0 时: +QENG: 0,,,,,[],[],[], [],,,[],[], [+QENG: 1,,,, OK 当=3 时: +QENG: 4,,,,< 上海移远通信技术股份有限公司 28 / 88 最大响应时间 特性说明 BC260Y-CN AT 命令手册 PLMN_type>, OK 若出现任何错误: ERROR 或者 +CME ERROR: 15 秒 / 参数 整型。请求的模块工程信息。 0 显示服务小区和邻区(若有)信息 3 显示 PLMN 的状态 整型。服务小区的 EARFCN。范围:0~262143。 整型。服务小区的 EARFCN 偏移量 0 偏移量 invail 1 偏移量 -10 2 偏移量 -9 3 偏移量 -8 4 偏移量 -7 5 偏移量 -6 6 偏移量 -5 7 偏移量 -4 8 偏移量 -3 9 偏移量 -2 10 偏移量 -1 11 偏移量 -0.5 12 偏移量 0 13 偏移量 1 14 偏移量 2 15 偏移量 3 16 偏移量 4 17 偏移量 5 18 偏移量 6 19 偏移量 7 20 偏移量 8 21 偏移量 9 整型。服务小区物理小区识别码。范围:0~503。 字符串类型。服务小区的小区 ID,十六进制格式。 上海移远通信技术股份有限公司 29 / 88 BC260Y-CN AT 命令手册 有符号整型。服务小区的 RSRP 值。单位:dBm。可为负数。 有符号整型。服务小区的 RSRQ 值。单位:dB。可为负数。 有符号整型。服务小区的 RSSI 值。单位:dBm。可为负数。当前固定为 99。 有符号整型。服务小区的最新 SNR 值,单位:dB。可为负数。 整型。当前服务小区频段。 字符串类型。双字节跟踪区域码(TAC)。十六进制格式(例如,'00C3' 等 于十进制的 195)。 整型。服务小区的最新增强覆盖等级(ECL)值。范围:0~2。仅在 RRC 连接状态下可用。 有符号整数。UE 的当前发射功率。单位:cBm(0 cBm=1 mW)。范围-128、 -45~23,其中-128 表示无效值。 整型。服务小区的部署模式: 0 LTE 带内部署相同 PCI 1 LTE 带内部署不同 PCI 2 LTE 保护带部署 3 独立部署 整型。相邻小区的 EARFCN。范围:0~262143。 整型。邻区的物理小区 ID。范围:0~503。 有符号整型。相邻小区的 RSRP 值。单位:dBm。可为负数。 有符号整型。相邻小区的 RSRQ 值。单位:dB。可为负数。 字符串类型。EMM 状态。 'NULL' 空 'DEREG' 去注册状态 'REG INIT' 注册已发起 'REG' 已注册 'DEREG INIT' 去注册已发起 'TAU INIT' TAU 已发起 'SR INIT' 服务请求已发起 'UNKNOWN' 未知 字符串型。EMM 模式。 'IDLE' 空闲态 'PSM' PSM 模式 'CONNECTED' 连接态 'UNKNOWN 未知 字符串类型。PLMN 状态。 'NO PLMN' 无 PLMN,且未搜索 PLMN 'SEARCHING' 正在搜索 PLMN 'SELECTED' 已选定 PLMN 'UNKNOWN' 未知 字符串型。PLMN 类型。 'HPLMN' 归属 PLMN 'EHPLMN' 与 HPLMN 等效的 PLMN 'VPLMN' 访问 PLMN(处于漫游状态) 'UPLMN' 用户控制的 PLMN 上海移远通信技术股份有限公司 30 / 88 BC260Y-CN AT 命令手册 'OPLMN' 运营商控制的 PLMN 'UNKNOWN' 未知 字符串类型。当前选择的 PLMN。 整型。错误码。详细信息,请参考第 11 章。 备注 为方便客户了解网络环境,可根据以下通用规则评估网络质量: ⚫ 强:RSRP ≥ -100 dBm,且 SNR ≥ 3 dB ⚫ 中:-100 dBm ≥ RSRP ≥ -110 dBm 且 3 db > SNR > -3 db ⚫ 弱:RSRP < -115 dBm 或 SNR < -3 dB 上海移远通信技术股份有限公司 31 / 88 BC260Y-CN AT 命令手册 5 PDN 和 APN 相关命令 5.1. AT+CGACT PDP 上下文激活/去激活 设置命令用于激活或去激活指定的 PDP 上下文。命令设置完成后,MT 保持 V.250 命令状态。若任意 PDP 上下文已经进入请求状态,那么该上下文状态保持不变;如果不能实现任意上下文的请求状态,将返 回 ERROR 或 +CME ERROR。AT+CMEE 命令可用于使能扩展错误响应。 在执行激活命令时,如果 UE 没有附着 PS,则 UE 会先执行 PS 附着,然后尝试激活指定的上下文。 如果附着失败,则 MT 会响应错误。 对于 EPS 而言,如果尝试断开上一条 PDN 连接,UE 将响应 ERROR;若使能了扩展错误响应,则响 应 +CME ERROR。 EPS 承载资源激活请求由网络通过 EPS 专用承载激活请求或者 EPS 承载修改请求来响应。必须在 UE 接受此请求之后 PDP 上下文方可设置为建立状态。 查询命令返回所有定义的 PDP 上下文的当前激活状态。 AT+CGACT PDP 上下文激活/去激活 测试命令 AT+CGACT=? 响应 +CGACT: (支持的列表) 查询命令 AT+CGACT? OK 响应 +CGACT: , +CGACT: , […] 设置命令 AT+CGACT=, OK 响应: OK 若出现任何错误: ERROR 或者 上海移远通信技术股份有限公司 32 / 88 最大响应时间 特性说明 +CME ERROR: 70 秒 / BC260Y-CN AT 命令手册 参数 整型。PDP 上下文激活状态。 0 去激活 1 激活 整型。指定 PDP 上下文标识符(请参见 AT+CGDCONT 命令)。 整型。错误码。详细信息,请参考第 11 章。 备注 1. 如果支持初始 PDP 上下文,则模块在启动时会自动定义=0 的上下文。 2. 设置命令中必须且只能指定一个。 举例 AT+CGACT=0,1 OK AT+CGACT? +CGACT: 1,0 OK AT+CGACT=? +CGACT: (0,1) OK 5.2. AT+CGDCONT 定义 PDP 上下文 设置命令用来指定上下文指示参数对应的 PDP 上下文和本地上下文的 PDP 上下文参数。因为 PCO 可包括需要加密的信息,所以该命令也允许 TE 指定是否请求 ESM 信息的安全保护传输。UE 可能由 于其他原因而需要使用安全保护的 ESM 信息传输,例如,当 UE 需要传输 APN 时。处于已定义状态的 PDP 上下文的数量,由该测试命令返回的取值范围给出。 对 EPS 而言,设置该命令后会建立 PDN 连接并建立相关的默认承载,参数应该省略。 上海移远通信技术股份有限公司 33 / 88 BC260Y-CN AT 命令手册 此设置命令的一种特殊形式 AT+CGDCONT=,会直接删除对应的 PDP 上下文参数,使其 变成未定义。 查询命令返回每个已定义上下文的当前配置。 如果 UE 支持几种 PDP 类型,则每个的参数值范围将以单行返回。 根据 AT+CIPCA 命令的设置,在 E-UTRAN 网络中,MT 成功注册到网络后会自动激活初始 PDP 上下 文。如果所有活动上下文都被去激活,则可以重新建立初始 PDP 上下文。 AT+CGDCONT 定义 PDP 上下文 测试命令 AT+CGDCONT=? 响应 +CGDCONT:(支持的范围),(支持的列表), (支持的列表),(支持的范围),(支持的列表),(支持的范围),(支持 的范围),(支持的列表),(支持的列表),(支持的列表),(支持的列表),(支持的列表),(支持的列 表) 查询命令 AT+CGDCONT? OK 响应 [+CGDCONT: ,,,,< d_comp>,[,[,[,[, [,[,[,[,[,]]]]]]]]]] [+CGDCONT: ,,,,< d_comp>,[,[,[,[, [,[,[,[,[,]]]]]]]]]] [...] 设置命令 AT+CGDCONT=[,[,< APN>[,[,[,[,[,[,[,[,[,[,[,[,] OK 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 上海移远通信技术股份有限公司 34 / 88 BC260Y-CN AT 命令手册 ]]]]]]]]]]]]] 最大响应时间 特性说明 5秒 参数配置立即生效。 参数配置不保存到 NVRAM;且深休眠唤醒后无效。 参数 整型。PDP 上下文标识符,用于指定特定 PDP 上下文的定义。该参数是 UE-TE 接口的 本地参数,用于其他与 PDP 上下文相关的命令。范围:1~11。 字符串类型。分组数据协议类型。 'IP' 互联网协议(IETF STD 5 [103]) 'IPV6' 互联网协议版本 6 'IPV4V6' 引入虚拟来处理双 IP 栈 UE 功能 'PPP' 点对点协议(IETF STD 51 [104])。EPS 服务不支持 PPP,仅支持 IP、 IPv6 和 IPv4v6 'NON-IP' 非 IP 类型 字符串类型。用于选择 GGSN 或外部数据包网络的逻辑名称。可配置的最大 APN 长度 为 99 字节。 字符串类型。用于标识适用于 PDP 的地址空间中的 UE。如果该值为空或被省略,则 TE 在 PDP 启动过程中提供该值,否则,将请求动态地址。即使在 PDP 启动过程中已 经分配了地址,查询命令中此值的返回值仍将是空字符串。可以使用 AT+CGPADDR 命令读取分配的地址。 整型。控制 PDP 数据是否需要压缩。 0 关闭 1 打开 2 V.42bis 3 V.44bis 整型。控制 PDP 头部数据是否需要压缩。 0 关闭 1 打开 2 RFC 1144 (仅适用于 SNDCP) 3 RFC 2507 4 RFC 3095[ROHC] (仅适用于 PDCP) 整型。控制 MT/TA 请求获取 IPv4 地址信息的方式。 0 通过 NAS 信令分配 IPv4 地址 1 通过 DHCP 分配的 IPv4 地址 整型。 PDP 上下文激活请求的类型。请参考 3GPP TS 24.301(subclause 6.5.1.2) 和 3GPP TS 24.008(subclause 10.5.6.17)。如果支持初始 PDP 上下文,则不允 许为紧急承载服务分配=0。根据 3GPP TS 24.008(subclause 4.2.4.2.2 和 subclause 4.2.5.1.4)和 3GPP TS 24.301(subclause 5.2.2.3.3 and subclause 5.2.3.2.2),必须为紧急承载服务建立单独的 PDP 上下文。 如果紧急承载服务的 PDP 上下文是唯一激活的上下文,则只允许紧急呼叫(请参 上海移远通信技术股份有限公司 35 / 88 BC260Y-CN AT 命令手册 阅 3GPP TS 23.401 subclause 4.3.12.9)。 0 PDP 上下文用于建立新的 PDP 上下文或从非 3GPP 接入网进行切换(是哪种 情况,由 MT 根据实际执行情况决定) 1 PDP 上下文用于紧急承载服务 2 PDP 上下文用于建立新的 PDP 上下文 3 PDP 上下文用于从非 3GPP 接入网进行切换 整型。MT/TA 如何请求获取 P-CSCF 地址(请参阅 3GPP TS 24.229 [89]附件 B 和附件 L) 0 不受 AT+CGDCONT 影响的 P-CSCF 地址发现。 1 通过 NAS 信令选择 P-CSCF 地址。 2 通过 DHCP 选择 P-CSCF 地址 整型。向网络指示 PDP 上下文是否仅用于 IM CN 子系统相关的信令。 0 UE 指示 PDP 上下文不仅用于 IM CN 子系统相关的信令。 1 UE 指示 PDP 上下文仅用于 IM CN 子系统相关的信令。 整型。为此 PDP 上下文请求的 NAS 信令优先级。 0 指示将使用 MT 中配置的低优先级指示符的值激活该 PDP 上下 文 1 表示将使用低优先级指示符'未为 NAS 信令低优先级配置 MS' 的值激活此 PDP 上下文 MT 使用 3GPP TS 24.301 [83]和 3GPP TS 24.008 中指定提供 的 NSLPI 信息。 整型。指定是否请求 PCO 的安全保护传输(仅适用于 EPS)。 0 不请求 PCO 的安全保护传输 1 请求对 PCO 进行安全保护传输 整型。影响 MT/TA 如何请求获取 IPv4 MTU 大小,请参阅 3GPP TS 24.008 subclause 10.5.6.3。 0 不受 AT+CGDCONT 命令影响的 IPv4 MTU 大小发现 1 通过 NAS 信令发现 IPv4 MTU 大小 整型。指示终端是否支持传输流模板的本地 IP 地址 0 表示不支持传输流模板的本地 IP 地址 1 表示支持传输流模板的本地 IP 地址 整型。影响 MT/TA 如何请求获取 Non-IP MTU 大小(请参考 3GPP TS 24.008 subclause 10.5.6.3)。 0 不受 AT+CGDCONT 影响的 Non-IP MTU 大小发现 1 通过 NAS 信令进行 Non-IP MTU 大小 整型。错误码。详细信息,请参考第 11 章。 备注 1. =0 对 应 的 为 默 认 的 PDP 上 下 文 , 无 法 通 过 AT+CGDCONT 进 行 配 置 , 但 可 以 通 过 AT+QCGDEFCONT 进行配置。 2. 对于 EPS,可省略字段。 3. Modem 协议不支持以下参数: ⚫ 上海移远通信技术股份有限公司 36 / 88 BC260Y-CN AT 命令手册 ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ 4. 参数当前不支持 PPP 协议类型。 举例 AT+CGDCONT=? +CGDCONT: (1-11),'IP',,,(0),(0),(0),(0,2),(0),(0),(0,1),(0),(0,1),(0),(0),(0) +CGDCONT: (1-11),'IPV6',,,(0),(0),(0),(0,2),(0),(0),(0,1),(0),(0),(0),(0),(0) +CGDCONT: (1-11),'IPV4V6',,,(0),(0),(0),(0,2),(0),(0),(0,1),(0),(0,1),(0),(0),(0) +CGDCONT: (1-11),'Non-IP',,,(0),(0),(0),(0,2),(0),(0),(0,1),(0),(0),(0),(0,1),(0) OK 5.3. AT+CGAPNRC APN 速率控制 设置命令返回与指定的上下文标识符参数对应的 APN 速率控制参数(请参阅 3GPP TS 24.008 [8])。 执行命令返回所有激活的 PDP 上下文的 APN 速率控制参数。 测试命令返回与已激活的辅助和非辅助 PDP 上下文的列表。 AT+CGAPNRC APN 速率控制 测试命令 AT+CGAPNRC=? 响应 +CGAPNRC: (已激活 PDP 上下文列表) 设置命令 AT+CGAPNRC= OK 响应 +CGAPNRC: [,[,< Uplink_time_unit>[,]]] [+CGAPNRC: [,[, [,]]]] [...] OK 上海移远通信技术股份有限公司 37 / 88 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / BC260Y-CN AT 命令手册 参数 整型。PDP 上下文标识符,用于指定特定 PDP 上下文的定义(详 见 AT+CGDCONT 命令)。 整型。表示当达到最大上行速率时是否允许发送额外异常报告。即 3GPP TS 24.008[8] subclause 10.5.6.3.2 中规定的 APN 速率控制 参数 IE 的第 1 组八位组中的第 4 位。 0 不允许以最大速率发送其他异常上报。 1 允许以最大速率发送其他异常上报。 整型。最大上行速率使用的时间单位。即 3GPP TS 24.008[8] subclause 10.5.6.3.2 中规定的 APN 速率控制参数 IE 的第 1 组八位 组中的第 1 位至第 3 位。 0 不受限 1 分钟 2 小时 3 天 4 周 整型。每个上行链路时间单位限制 UE 发送的最大消息数。即 3GPP TS 24.008[8] subclause 10.5.6.3.2 款中规定的 APN 速率控制参数 的第 1 组八位组中的第 2 位至第 4 位。 整型。错误码。详细信息,请参考第 11 章。 5.4. AT+QCGDEFCONT 配置默认的 APN/PDN 连接 设置命令用于配置开机时 PDN 连接的 PSD 连接设置。 AT+QCGDEFCONT 配置默认的 APN/PDN 连接 测试命令 AT+QCGDEFCONT=? 响应 +QCGDEFCONT: (支持的列表) 查询命令 OK 响应 上海移远通信技术股份有限公司 38 / 88 BC260Y-CN AT 命令手册 AT+QCGDEFCONT? +QCGDEFCONT: [,[,,< password>]] 设置命令 AT+QCGDEFCONT=[,[,,]] OK 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 该命令重启后生效。 深休眠唤醒后有效;自动保存至 NVRAM。 参数 字符串类型。指定分组数据协议的类型。 'IP' 互联网协议(IETF STD 5) 'IPV6' 互联网协议版本 6(IETF RFC 2460) 'IPV4V6' 双 IP 堆栈(见 3GPP TS 24.301) 'Non-IP' 将非 IP 数据传输到外部分组网络(请参阅 3GPP TS 24.301) 字符串类型。用于选择 GGSN 或外部分组数据网络的逻辑名。可配置的 APN 最大长度 为 99 个字节。如果该值为空或省略,则将请求订阅值。 字符串类型。接入 IP 网络的用户名。 字符串类型。接入 IP 网络的密码。 整型。错误码。详细信息,请参考第 11 章。 备注 该命令用于设置默认的 PDN 连接参数,当前 UE 开机会默认自动建立=0 的 PDN 连接。 上海移远通信技术股份有限公司 39 / 88 BC260Y-CN AT 命令手册 6 其他网络命令 6.1. AT+QPLMNS 触发 PLMN 搜索 设置命令用于当 UE 处于无服务状态时触发 PLMN 搜索,若 UE 处于服务状态,将返回+CME ERROR: 。 查询命令返回当前 PLMN 搜索状态,及 PLMN 搜索定时器的重置时间。 AT+QPLMNS 触发 PLMN 搜索 测试命令 AT+QPLMNS=? 响应 OK 查询命令 AT+QPLMNS? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +QPLMNS: [,] OK 执行命令 AT+QPLMNS 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 上海移远通信技术股份有限公司 40 / 88 BC260Y-CN AT 命令手册 参数 整型。NAS 层 PLMN 的状态。 0 未激活,未进行 PLMN 搜索 1 搜索中,正在进行 PLMN 搜索 2 已选定,已搜索到 PLMN 3 处于 OOS 状态,UE 处于无服务状态并启动 PLMN 搜索定时器 整型。OOS PLMN 定时器剩余时间。单位:秒。仅当=3 时有效。 整型。错误码。详细信息,请参考第 11 章。 6.2. AT+COPS PLMN 选择 此命令参数用于选择是自动入网还是手动选择指定的 PLMN 入网。如果所选的接入技 术不可用,则应再次选择同一运营商的其他接入技术。该查询命令(AT+COPS?)还可用于查询所选的运 营商名称格式。使用手动模式,如果所选的 PLMN 不可用,则不会选择其他任何运营商(=4 除外)。 查询命令返回当前模式、当前选择的运营商和当前接入技术。如果未选择任何运营商,则省略 、和。 测试命令会返回五个表示出现的运营商网络的参数。这五个参数包括:指示当前运营商是否可用的整 型参数、长字母格式、短字母格式和数字格式的运营商名称和数字格式的接入技术。 以上参数可能不可用,不可用时为空字段。运营商列表的顺序应为:EH/HPLMN、UPLMN、OPLMN 和其 他 PLMN。 接入技术选择的参数应仅在能够注册多个接入技术的终端中使用。的选择不会限制小区 的重选功能,即使尝试选择一种接入技术,终端仍可能在另一种接入技术中重选小区。 AT+COPS PLMN 选择 测试命令 AT+COPS=? 响应 +COPS: [支持的运营商的(,长字符,短字符,数字[,])列表][,,(支持的范围),(支持 的范围)] OK 查询命令 AT+COPS? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +COPS: [,,][,] 上海移远通信技术股份有限公司 41 / 88 BC260Y-CN AT 命令手册 OK 设置命令 AT+COPS=[,[,[,]]] 如出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 如出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 305 秒 特性说明 该命令立即生效。 为 0、1 或 4 时自动保存至 NVRAM;深休眠唤醒后仍 有效。 参数 整型。运营商选择模式。 0 自动模式(省略、和字段) 1 手动搜网模式(包含和以及可选的字段) 2 手动去注册 3 仅设置 (不在查询命令 AT+COPS? 的响应中返回) 4 手动/自动选择。如果手动选择失败,则进入自动搜网模式(=0) 整型。设置命令中 的格式。 2 以数值指示 字符串类型。指示格式是否为数字。数字格式是 NB-IoT 网络位置区域标识号,它 由三个 BCD 码 ITU-T 国家/地区代码,加上两个或三个 BCD 数字网络代码(用于特定管理) 组成。当=0 时,参数省略。仅在测试命令的响应中将包含长字母格式、短 字母格式和数字格式的,例如 'CHINA MOBILE','CMCC','46000'。 整型。指示运营商网络状态。 0 未知 1 运营商网络可用 2 当前选择的网络 3 禁止选择的网络 整型。接入技术。 9 E-UTRAN (NB-S1 模式) 上海移远通信技术股份有限公司 42 / 88 BC260Y-CN AT 命令手册 备注 1. 仅当模块处于空闲状态或已插入(U)SIM 卡的注销状态时才能执行设置命令,否则将返回错误。 2. 手动模式只有在注册成功时,才会返回 OK。 3. 当为 1 或 4 时,只能为 2。 举例 AT+COPS=0 OK AT+COPS? +COPS: 0,2,'46000',9 OK 6.3. AT+CCIOTOPT CloT 优化配置 设置命令设置 UE 在 ATTACH REQUEST 和 TRACKING AREA UPDATE REQUEST 消息中指示所支 持和优先选择的 CIoT EPS 优化配置。该命令还可用来上报网络支持的 CIoT EPS 优化配置。支持 CIoT 功 能的 UE 可以支持控制面(control plane)或用户面(user plane)的 CIoT EPS 优化,或两者都可支持(请 参阅 3GPP TS 24.301, sub-clause 9.9.3.34)。基于应用特性,UE 可能优先选择注册用于控制面的 CIoT EPS 优化配置或用于用户面的 CIoT EPS 优化配置(请参阅 3GPP TS 24.301,sub-clause 9.9.3.0B)。 设置命令还用于控制 URC +CCIOTOPTI 的显示。URC +CCIOTOPTI: 用 于指示网络所支持的 CIoT EPS 优化配置。 查询命令返回当前支持和首选的 CIoT EPS 优化配置,以及 URC +CCIOTOPTI 的当前状态。 AT+CCIOTOPT CloT 优化配置 测试命令 AT+CCIOTOPT=? 响应 +CCIOTOPT: (支持的范围),(支持的范围),(支持的范围) 查询命令 AT+CCIOTOPT? OK 响应 +CCIOTOPT: ,, 设置命令 AT+CCIOTOPT=[,[,]] OK 响应 OK 上海移远通信技术股份有限公司 43 / 88 BC260Y-CN AT 命令手册 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 参数配置自动保存至 NVRAM;深休眠唤醒后仍有效。 参数 整型。启用/禁用 URC +CCIOTOPTI 的上报。 0 禁用 1 启用 3 禁用上报并将 CIoT EPS 优化参数重置为默认值 整型。表示 UE 支持的 CIoT EPS 优化方案。 1 支持控制面 CIoT EPS 优化 3 支持控制面和用户面 CIoT EPS 优化 整型。指示 UE 优先选择的 CIoT EPS 优化配置。 0 无优先级 1 控制面 CIoT EPS 优化优先级 2 用户面 CIoT EPS 优化优先级 整型。表示网络所支持的 CIoT EPS 优化方案。 0 不支持 1 支持控制面 CIoT EPS 优化方案 2 支持用户面 CIoT EPS 优化方案 3 同时支持控制面和用户面 CIoT EPS 优化方案 整型。错误码。详细信息,请参考第 11 章。 6.4. AT+QBAND 查询/设置工作频段 该命令用于查询当前注册的频段或设置要锁定的频段。 AT+QBAND 查询/设置工作频段 测试命令 AT+QBAND=? 响应 +QBAND: (支持的范围)[,(支持的列表)] 查询命令 AT+QBAND? OK 响应 +QBAND: 上海移远通信技术股份有限公司 44 / 88 BC260Y-CN AT 命令手册 OK 若出现任何错误: ERROR 或者 设置命令 +CME ERROR: 响应 AT+QBAND=[, OK [,[,…]]] 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 25 秒 特性说明 该命令立即生效。 参数配置自动保存至 NVRAM;深休眠唤醒后仍有效。 参数 整型。优先搜索的频段数量。 0 所有频段 1~3 要锁定的频段数。 整型。NB-IoT 频段及顺序。有效值:3、5、8。 整型。锁定的频段。有效值:3、5、8。 整型。错误码。详细信息,请参考第 11 章。 举例 AT+QBAND=? +QBAND: (0-3),(3,5,8) OK AT+QBAND=1,5 OK AT+QBAND? +QBAND: 5 OK //查询 BC260Y-CN 支持的频段列表 //设置要使用的频段 //查询之前设置的频段 上海移远通信技术股份有限公司 45 / 88 备注 该命令执行后会触发模块断开网络,重新注册网络。 BC260Y-CN AT 命令手册 6.5. AT+QLOCKF 锁定 NB-IoT 频点及 PCI AT+QLOCKF 锁定 NB-IoT 频点及 PCI 测试命令 AT+QLOCKF=? 响应 +QLOCKF: (支持的范围) 查询命令 AT+QLOCKF? OK 响应 +QLOCKF: 1,, +QLOCKF: 2,,,… 设置命令 当=0: AT+QLOCKF= 当=1: AT+QLOCKF=,[,] 当=2: AT+QLOCKF=[,[,…]] OK 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 只 能 在 AT+CFUN=0 的 模 式 下 配 置 , 切 换 为 AT+CFUN=1 后生效。自动保存至 NVRAM。 参数 整型。锁定/解除锁定 0 解除锁定 1 锁定频点及小区 2 设置优选频点 整型。要请求锁定的频点。范围:0~262143。 0 表示移除所有锁定的频点、小区 整型。物理小区识别码。范围:0~503。 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 46 / 88 举例 AT+QLOCKF=1,3738,281 OK AT+QLOCKF=2,3738,3734 OK AT+QLOCKF? +QLOCKF: 1,3738,281 +QLOCKF: 2,3738,3734 OK BC260Y-CN AT 命令手册 6.6. AT+QCSEARFCN 清除 NB-IoT 存储的 EARFCN 列表 该命令用于清除 UE 的已存储 EARFCN 列表。 AT+QCSEARFCN 清除 NB-loT 存储的 EARFCN 列表 执行命令 AT+QCSEARFCN 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 只能在 AT+CFUN=0 的模式下配置,切换为 AT+CFUN=1 后 生效。自动保存至 NVRAM。 参数 整型。错误码。详细信息,请参考第 11 章。 举例 AT+QCSEARFCN OK 上海移远通信技术股份有限公司 47 / 88 BC260Y-CN AT 命令手册 7 (U)SIM 相关命令 7.1. AT+CCHO 打开一个逻辑通道 执行该命令后,MT 将返回,用于识别由当前选定 UICC(已连接到 ME)分配的通道。 当前选定的 UICC 会打开一个新的逻辑通道;同时选择一个应用程序(该应用程序由该命令返回的 指定)并返回会话 ID。ME 必须将 TE 和 UICC 之间的通信限制在该逻辑通道。 发送通用 UICC 逻辑通道访问命令 AT+CGLA 时将使用。 AT+CCHO 打开一个逻辑通道 测试命令 AT+CCHO=? 设置命令 AT+CCHO= 响应 OK 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 字符串类型。DF 名称。UICC 中所有可选应用程序,由 DF 名称引用。范围:1~16。单 位:字节。 整型。会话 ID,用于使用逻辑通道机制在智能卡(例如,(U)SIM)上选择特定应用程 序。 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 48 / 88 举例 AT+CCHO='A00000004374506173732E496F54' 1 OK BC260Y-CN AT 命令手册 7.2. AT+CCHC 关闭一个逻辑通道 该命令强制 ME 关闭 UICC 激活的通信会话。ME 关闭之前打开的逻辑通道后,TE 将无法再在该逻辑 通道上发送命令。 AT+CCHC 关闭一个逻辑通道 测试命令 AT+CCHC=? 设置命令 AT+CCHC= 响应 OK 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。会话 ID,用于使用逻辑通道机制在智能卡(例如,(U)SIM)上选择特定应用程 序。 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CCHC=1 OK 上海移远通信技术股份有限公司 49 / 88 BC260Y-CN AT 命令手册 7.3. AT+CGLA 通用 UICC 逻辑通道接入 设置命令用于发送给 MT,然后将其发送给选定的 UICC。同时,MT 将返回 UICC 至 TA。 该命令允许 TE 上的远端应用程序直接控制当前选定的 UICC。之后,TE 将在 GSM/UMTS 指定的帧内 处理 UICC 信息。 虽然 TE 可使用 AT+CGLA 命令控制 UICC-MT 接口,但理论上来说,UICC-MT 接口的某些功能无需 从 TA/MT 外部接入。 AT+CGLA 通用 UICC 逻辑通道接入 测试命令 AT+CGLA=? 设置命令 AT+CGLA=,, 响应 OK 响应 +CGLA: , OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。发送 APDU 至 UICC 时使用的会话标识。当使用默认通道(通道'0')以外的 逻辑通道来定位智能卡上的应用程序时,必须向 UICC 发送命令。 整型。或的字符长度。(值为命令或响应实际长度的两倍) 十六进制的字符串类型。MT 传递给 UICC 的命令。详细信息,请参考 3GPP TS 31.101。 十六进制的字符串类型。UICC 返回给 MT 的响应。详细信息,请参考 3GPP TS 31.101。 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 50 / 88 BC260Y-CN AT 命令手册 7.4. AT+CIMI 查询(U)SIM 卡 IMSI 执行命令使 TA 返回,旨在允许 TE 识别连接到 MT 的(U)SIM。 AT+CIMI 查询(U)SIM 卡 IMSI 测试命令 AT+CIMI=? 执行命令 AT+CIMI 响应 OK 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 国际移动用户识别码 IMSI(不带双引号的字符串)。 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CIMI 460001357924680 OK 7.5. AT+CPIN 输入 PIN 设置命令用于发送一个密码至 MT,操作 MT 之前需要密码(SIM PIN、SIM PUK 和 PH-SIM PIN 等)。 如需输入两次 PIN,TA 将自动重复输入 PIN;若无需输入 PIN,则不会对 MT 进行操作,并返回+CME ERROR 给 TE。如需输入 SIM PUK,则需要第二个 PIN。第二个 PIN 为,用于代替 SIM 卡中的旧 PIN。 上海移远通信技术股份有限公司 51 / 88 BC260Y-CN AT 命令手册 AT+CPIN 输入 PIN 测试命令 AT+CPIN=? 查询命令 AT+CPIN? 设置命令 AT+CPIN=[,] 最大响应时间 特性说明 响应 OK 响应 +CPIN: OK 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 保存机制与 SIM 卡有关;不保存至 NVRAM。 参数 / 不带引号的字符串类型 READY 无需进一步输入 SIM PIN MT 正在等待(U)SIM PIN SIM PUK MT 正在等待(U)SIM PUK 字符串类型。(U)SIM 卡的个人识别密码。 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CPIN? +CPIN: READY OK 备注 1. 如果 PIN 码连续 3 次输入错误,则需要输入 PUK 码,如果 PUK 码连续 10 次输入错误,SIM 卡会自 动彻底锁死,永远无法使用。 2. 当前模块不支持 PIN2 和 PUK2 的相关操作。 上海移远通信技术股份有限公司 52 / 88 BC260Y-CN AT 命令手册 7.6. AT+CPINR 查询输入 PIN 剩余重试次数 该命令用于返回 SIM 卡 PIN 的剩余尝试次数。 AT+CPINR 查询输入 PIN 剩余重试次数 测试命令 AT+CPINR=? 执行命令 AT+CPINR 响应 OK 响应 +CPIN: 设置命令 AT+CPINR= OK 响应 +CPINR:,, 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 参数 字符串类型。 'SIM PIN' MT 正在等待(U)SIM PIN 'SIM PUK' MT 正在等待(U)SIM PUK 整型。剩余尝试输入 PIN/PUK 码的次数。 整型。输入 PIN/PUK 码的总次数。 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CPINR +CPINR: 'SIM PIN',3,3 +CPINR: 'SIM PUK',10,10 OK 上海移远通信技术股份有限公司 53 / 88 BC260Y-CN AT 命令手册 7.7. AT+CSIM 通用(U)SIM 卡访问 设置命令将传递给 MT,然后将其直接发送给(U)SIM 卡,同时,MT 将返回 给 TA。 该命令允许 TE 上的远端应用程序直接控制当前所选卡槽中的(U)SIM 卡。之后,TE 将在 GSM/UMTS 指定的帧内处理(U)SIM 卡信息。 AT+CSIM 通用(U)SIM 卡访问 设置命令 AT+CSIM=, 响应 +CSIM: , OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 保存机制与(U)SIM 卡有关;不保存至 NVRAM。 参数 整型。或的字符长度。(值为命令或响应实际长度的两倍) 十六进制的字符串类型。MT 传递给(U)SIM 卡的命令。具体请参考 3GPP TS 51.011 [28]。 十六进制的字符串类型。响应之前成功完成执行的指令。状态和获得响应返回数据,提 供关于当前的信息基本字段。信息包括文件的类型和大小(参见 3GPP TS 51.011/ 102.221/31.102)。读取二进制文件后,读取记录或检索数据命令,所请求的数据将被 返回。将不会在更新成功后返回,更新记录或设置数据命令。 整型。错误码。详细信息,请参考第 11 章。 7.8. AT+CRSM 有限(U)SIM 卡访问 该命令提供了对(U)SIM 数据库的简单而有限的访问。它传输(U)SIM 命令 number()及 其所需的 MT 参数。若当前所选卡槽安装了(U)SIM 卡,MT 将内部处理所有(U)SIM-MT 接口锁定和文件选 择例程。MT 将发送实际(U)SIM 卡信息参数和数据作为响应。当命令无法传输至(U)SIM 卡时,可能会返回 错误码+CME ERROR,命令执行失败将在和中上报。(U)SIM 卡发出的命令请求和 MT 内 GSM/UMTS 应用程序发出的命令请求是单独实现的。然而,TE 将优先处理 GSM/UMTS 应用程序命令。 上海移远通信技术股份有限公司 54 / 88 BC260Y-CN AT 命令手册 AT+CRSM 有限(U)SIM 卡访问 测试命令 AT+CRSM=? 响应 OK 若出现任何错误: ERROR 或者 设置命令 +CME ERROR: 响应 AT+CRSM=[,[,,,< +CRSM: ,[,] P3>[,][,]]] OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 保存机制与(U)SIM 有关;不保存至 NVRAM。 参数 ,, , 字符串类型。(U)SIM 指令序号。 '176' 读取二进制 '178' 读取记录 '192' 获得响应 '214' 更新二进制 '220' 更新记录 '242' 状态 整型。(U)SIM 卡文件标识。除了状态指令外,必须包含此参数。 整型。由 MT 传送给(U)SIM 的参数,除获得响应及状态指令外,其他指令需要包含 此参数。(请参见 3GPP TS 51.011 [28])。 字符串类型。写入(U)SIM 卡的信息,使用十六进制表示。 字符串类型。相关文件在 UICC 的路径,使用十六进制表示。 整型。来自(U)SIM 的关于执行信息的指示。无论成功或者失败都会返回。 十六进制的字符串类型。响应之前成功完成执行的指令。状态和获得响应返回数据, 提供关于当前的信息基本字段。信息包括文件的类型和大小(参见 3GPP TS 51.011/ 102.221/31.102)。读取二进制文件后,读取记录或检索数据命令,所请求的数据 将被返回。将不会在更新成功后返回,更新记录或设置数据命令。 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 55 / 88 BC260Y-CN AT 命令手册 7.9. AT+QCCID (U)SIM 卡识别 执行命令用于读取 U(SIM)卡的 ICCID。如果没有 U(SIM)卡或者 U(SIM)卡不可读时,则返回错误。 AT+QCCID (U)SIM 卡识别 执行命令 AT+QCCID 响应 +QCCID: OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 不带引号的字符串类型。集成电路卡识别码。 整型。错误码。详细信息,请参考第 11 章。 举例 AT+QCCID +QCCID: 89860317482035195410 OK 上海移远通信技术股份有限公司 56 / 88 BC260Y-CN AT 命令手册 8 功耗相关命令 8.1. AT+CFUN 设置 UE 功能等级 设置命令可选择功能等级。'全功能'表示打开全部的功能,同时功耗也最高,'最小功能'只使用 最基本的一些功能,关闭大多数功能,相应的功耗也最低。 查询命令返回当前设置情况。 AT+CFUN 设置 UE 功能等级 测试命令 AT+CFUN=? 响应 +CFUN: (支持的列表),(支持的范围) 查询命令 AT+CFUN? OK 响应 +CFUN: 设置命令 AT+CFUN=[,] OK 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 25 秒。 见参数说明。 参数 整型。UE 功能等级。 0 最小功能 1 全功能 4 关闭 RF 上海移远通信技术股份有限公司 57 / 88 整型。UE 重启模式设置。 0 立即生效 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CFUN=? +CFUN: (0,1,4),(0) OK AT+CFUN=1 OK AT+CFUN? +CFUN: 1 OK BC260Y-CN AT 命令手册 8.2. AT+CPSMS PSM(省电模式)设置 设置命令用于控制 UE 省电模式(PSM)参数设置,即配置 UE 是否使用 PSM 以及 E-UTRAN 中请求 的扩展周期 TAU 值和活动时间值。通过 AT+CEREG 返回的 URC 查看活动时间值和 E-UTRAN 中网络分 配给 UE 的扩展周期 TAU 值。 AT+CPSMS=2 是该命令的一种特殊形式,表示禁用 PSM 且 AT+CPSMS 的已配置的参数都会被移除, 且恢复成默认值配置。 查询命令返回当前设置情况。 测试命令返回支持的范围、请求的扩展周期 TAU 值以及激活定时器的范围。 AT+CPSMS PSM(省电模式)设置 测试命令 AT+CPSMS=? 响应 +CPSMS: (支持的范围),,,(支持的范围),(支持的范围) 查询命令 AT+CPSMS? OK 响应 +CPSMS: [,,,[],[]] OK 上海移远通信技术股份有限公司 58 / 88 BC260Y-CN AT 命令手册 设置命令 AT+CPSMS=[,,,[,]] 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 该命令立即生效。 深休眠唤醒后有效;自动保存至 NVRAM。 参数 整型。禁用或启用 UE 省电模式。 0 禁用 PSM 1 启用 PSM 2 禁用 PSM 且恢复 PSM 设置为默认值。 整型。 8 位格式的 1 字节参数。E-UTRAN 中分配给 UE 的请求扩展周 期 TAU 值(T3412)。(例如,'01000111'等于 70 小时)。 位 5 至位 1 代表二进制编码的计时器值 位 6 至位 8 定义计时器值步长,单位如下: 位 8 7 6 0 0 0 步长为 10 分钟 0 0 1 步长为 1 小时 0 1 0 步长为 10 小时 0 1 1 步长为 2 秒 1 0 0 步长为 30 秒 1 0 1 步长为 1 分钟 1 1 0 步长为 320 小时 1 1 1 表示去激活计时器 字符串类型。8 位格式的 1 个字节参数。分配给 UE 的请求活动时间值 (T3324)。(例如,'00100100'等于 4 分钟)。 位 5 至位 1 代表二进制编码的计时器值 位 6 至位 8 定义 GPRS 计时器值,计时器值单位如下所示: 位 8 7 6 0 0 0 步长为 2 秒 上海移远通信技术股份有限公司 59 / 88 BC260Y-CN AT 命令手册 0 0 1 步长为 1 分钟 0 1 0 步长为 6 分钟 1 1 1 表示去激活定时器 整型。错误码。详细信息,请参考第 11 章。 备注 TAU 周期步长 320 小时,仅适用于 T3412 扩展值。若在经过完整保护的信息中接收到该值,则该值应为 320 小时的倍数。否则,为 1 小时的倍数。 举例 AT+CPSMS=1,,,'01000011','01000011' OK AT+CPSMS? +CPSMS: 1,,,'01000011','01000011' OK AT+CPSMS=? +CPSMS: (0-2),,,( '00000000'-'11111111'), ('00000000'-'11111111') OK 8.3. AT+CEDRXS eDRX 设置 设置命令用于配置 UE eDRX 参数,即 UE 是否使用 eDRX 以及指定接入技术请求的 eDRX 值。 当 =2 且 网 络 提 供 的 eDRX 参 数 发 生 变 化 时 , 该 设 置 命 令 用 于 控 制 URC +CEDRXP: [,[,[,]]] 的上报。 该命令的特殊形式为 AT+CEDRXS=3。此形式下,禁用 eDRX 且 AT+CEDRXS 中所配置的参数都将 被移除,且恢复为默认值配置。 查询命令返回的当前配置。 测试命令返回支持的范围、接入技术范围以及请求的 eDRX 值范围。 AT+CEDRXS eDRX 设置 测试命令 AT+CEDRXS=? 响应 +CEDRXS: (支持的范围),(支持的列表), 上海移远通信技术股份有限公司 60 / 88 BC260Y-CN AT 命令手册 (支持的范围) 查询命令 AT+CEDRXS? OK 响应 +CEDRXS: , [+CEDRXS: ,] [...] 设置命令 AT+CEDRXS=[,[,< Requested_eDRX_value>]] OK 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。禁用和启用 UE eDRX 设置。此参数适用于所有指定接入技术, 即的最新设置将对所有指定的值生效。 0 禁用 eDRX 1 启用 eDRX 2 启用 eDRX 和 URC +CEDRXP: [,[,[,]]]上报 3 禁用 eDRX 且恢复 eDRX 设置为默认值。 整型。接入技术类型。 5 E-UTRAN(NB-S1 模式) 字符串类型。请求的 eDRX 周期。4 位格式的半字节参数。NB-S1 模 式。 位 4 3 2 1 E-UTRAN eDRX 周期长度持续时间 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 上海移远通信技术股份有限公司 61 / 88 BC260Y-CN AT 命令手册 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串类型。网络下发的 eDRX 周期。4 位格式的半字节参数。 NB-S1 模式。 位 4 3 2 1 E-UTRAN eDRX 周期长度持续时间 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串类型。网络下发的寻呼时间窗。4 位格式的半字节参数。 NB-S1 模式。 位 4 3 2 1 寻呼时间窗长度 0 0 0 0 2.56 秒 0 0 0 1 5.12 秒 0 0 1 0 7.68 秒 0 0 1 1 10.24 秒 0 1 0 0 12.8 秒 0 1 0 1 15.36 秒 0 1 1 0 17.92 秒 0 1 1 1 20.48 秒 1 0 0 0 23.04 秒 1 0 0 1 25.6 秒 1 0 1 0 28.16 秒 1 0 1 1 30.72 秒 1 1 0 0 33.28 秒 1 1 0 1 35.84 秒 1 1 1 0 38.4 秒 1 1 1 1 40.96 秒 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CEDRXS=1,5,'0101' OK AT+CEDRXS? 上海移远通信技术股份有限公司 62 / 88 +CEDRXS: 5,'0101' OK AT+CEDRXS=? +CEDRXS: (0-3),(5),('0000'-'1111') OK BC260Y-CN AT 命令手册 8.4. AT+CEDRXRDP 读取 eDRX 动态参数 该命令用于读取 eDRX 动态参数。若 eDRX 用于 MS 当前注册到的小区,执行命令将返回、 、和。 若 MS 当前注册到的小区未使用 eDRX,将仅返回=0。 AT+CEDRXRDP 读取 eDRX 动态参数 测试命令 AT+CEDRXRDP=? 执行命令 AT+CEDRXRDP 响应 OK 响应 +CEDRXRDP: [,[,< NW_provided_eDRX_value>[,]]] OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。接入技术类型。 5 E-UTRAN(NB-S1 模式) 0 未知或未开启 eDRX 字符串类型。请求的 eDRX 周期。4 位格式的半字节参数 位 4 3 2 1 E-UTRAN eDRX 周期长度 0 0 1 0 20.48 秒 上海移远通信技术股份有限公司 63 / 88 BC260Y-CN AT 命令手册 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串类型。网络下发的 eDRX 周期。4 位格式的半字节参数。 位 4 3 2 1 E-UTRAN eDRX 周期长度 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串类型。网络下发的寻呼时间窗。4 位格式的半字节参数。 位 4 3 2 1 寻呼时间窗口长度 0 0 0 0 2.56 秒 0 0 0 1 5.12 秒 0 0 1 0 7.68 秒 0 0 1 1 10.24 秒 0 1 0 0 12.8 秒 0 1 0 1 15.36 秒 0 1 1 0 17.92 秒 0 1 1 1 20.48 秒 1 0 0 0 23.04 秒 1 0 0 1 25.6 秒 1 0 1 0 28.16 秒 1 0 1 1 30.72 秒 1 1 0 0 33.28 秒 1 1 0 1 35.84 秒 1 1 1 0 38.4 秒 1 1 1 1 40.96 秒 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 64 / 88 举例 AT+CEDRXRDP +CEDRXRDP: 5,'0010','1110','0101' OK AT+CEDRXRDP=? OK BC260Y-CN AT 命令手册 8.5. AT+QEDRXCFG eDRX 参数配置 设置命令用于控制 UE eDRX 参数,包括 UE 是否使用 eDRX、请求的 eDRX 值以及指定接入技术的寻 呼时间窗值。 AT+QEDRXCFG eDRX 参数配置 测试命令 AT+QEDRXCFG=? 响应 +QEDRXCFG: (支持的范围),(支持的列 表),(支持的范围),(支持的范围) 查询命令 AT+QEDRXCFG? OK 响应 +QEDRXCFG: ,[,] 设置命令 AT+QEDRXCFG=[,[,[,]]] OK 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。禁用或启用 UE eDRX。此参数适用于所有指定接入技术,即 的最新设置将对所有指定的值生效。 上海移远通信技术股份有限公司 65 / 88 BC260Y-CN AT 命令手册 0 禁用 eDRX 1 启用 eDRX 2 启用 eDRX 和 URC +CEDRXP: [,[,[,]]]上报 3 恢复默认参数 整型。接入技术类型。 0 未使用 eDRX 的接入技术,该参数值仅用于 URC 中。 5 E-UTRAN(NB-S1 模式) 字符串类型。请求的 eDRX 周期。4 位格式的半字节参数。NB-S1 模 式。 位 4 3 2 1 E-UTRAN eDRX 周期长度持续时间 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串类型。请求的寻呼时间窗。4 位格式的半字节参 数。NB-S1 模式。 位 4 3 2 1 寻呼时间窗口长度 0 0 0 0 2.56 秒 0 0 0 1 5.12 秒 0 0 1 0 7.68 秒 0 0 1 1 10.24 秒 0 1 0 0 12.8 秒 0 1 0 1 15.36 秒 0 1 1 0 17.92 秒 0 1 1 1 20.48 秒 1 0 0 0 23.04 秒 1 0 0 1 25.6 秒 1 0 1 0 28.16 秒 1 0 1 1 30.72 秒 1 1 0 0 33.28 秒 1 1 0 1 35.84 秒 1 1 1 0 38.4 秒 1 1 1 1 40.96 秒 字符串类型。网络下发的 eDRX 周期。4 位格式的半字 上海移远通信技术股份有限公司 66 / 88 举例 AT+QEDRXCFG=1,5,'0101' OK AT+QEDRXCFG? +QEDRXCFG: 5,'0101' OK AT+QEDRXCFG=? 上海移远通信技术股份有限公司 BC260Y-CN AT 命令手册 节参数。NB-S1 模式。 位 4 3 2 1 E-UTRAN eDRX 周期长度 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串类型。网络下发的寻呼时间窗。4 位格式的半字 节参数。NB-S1 模式。 位 4 3 2 1 寻呼时间窗口长度 0 0 0 0 2.56 秒 0 0 0 1 5.12 秒 0 0 1 0 7.68 秒 0 0 1 1 10.24 秒 0 1 0 0 12.8 秒 0 1 0 1 15.36 秒 0 1 1 0 17.92 秒 0 1 1 1 20.48 秒 1 0 0 0 23.04 秒 1 0 0 1 25.6 秒 1 0 1 0 28.16 秒 1 0 1 1 30.72 秒 1 1 0 0 33.28 秒 1 1 0 1 35.84 秒 1 1 1 0 38.4 秒 1 1 1 1 40.96 秒 整型。错误码。详细信息,请参考第 11 章。 67 / 88 +QEDRXCFG: (0-3),(5),('0000'-'1111'),('0000'-'1111') OK BC260Y-CN AT 命令手册 8.6. AT+QNBIOTEVENT 启用/禁用 NB-IoT 相关事件上报 该命令用于启用或禁用 NB-IoT 相关事件上报。 AT+QNBIOTEVENT 启用/禁用 NB-IoT 相关事件上报 测试命令 AT+QNBIOTEVENT=? 查询命令 AT+QNBIOTEVENT? 响应 OK 响应 +QNBIOTEVENT: , 设置命令 AT+QNBIOTEVENT=, OK 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。启用/禁用具体事件上报。 0 禁用具体事件上报 1 启用具体事件上报 URC +QNBIOTEVENT: 整型。表示上报事件的类型。 1 PSM 状态 字符串类型。当前事件类型仅可为 PSM 状态,有如下值: ENTER PSM 进入 PSM EXIT PSM 退出 PSM 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 68 / 88 BC260Y-CN AT 命令手册 8.7. AT+QSCLK 配置休眠模式 该命令用于配置 UE 休眠模式。 AT+QSCLK 配置休眠模式 测试命令 AT+QSCLK=? 查询命令 AT+QSCLK? 设置命令 AT+QSCLK= 最大响应时间 特性说明 响应 +QSCLK: (支持的范围) OK 响应 +QSCLK: OK 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。 0 禁用休眠模式 1 允许模块休眠等级最深可进入 Deep Sleep 模式 2 允许模块休眠等级最深可进入 Light Sleep 模式 整型。错误码。详细信息,请参考第 11 章。 备注 1. 当模块处于 Deep Sleep 时,MCU 向模块发送 AT 命令(此 AT 命令会丢失),可将模块从 Deep Sleep 唤醒。可以通过 AT+QCFG 命令启用和关闭串口唤醒功能。 2. 当模块处于 Deep Sleep 时,PSM_EINT 引脚下降沿,可以将模块从 Deep Sleep 唤醒。 3. 当模块处于 Light Sleep 时,MCU 向模块发送 AT 命令,可将模块直接从 Light Sleep 唤醒。 上海移远通信技术股份有限公司 69 / 88 举例 AT+QSCLK=1 OK BC260Y-CN AT 命令手册 上海移远通信技术股份有限公司 70 / 88 BC260Y-CN AT 命令手册 9 平台相关命令 9.1. AT+CBC 查询模块供电电压 该命令用于查询模块的供电电压值。 AT+CBC 查询模块供电电压 测试命令 AT+CBC=? 执行命令 AT+CBC 响应 OK 响应 +CBC: OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。电池电压。单位:mV。 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CBC +CBC: 3368 OK 上海移远通信技术股份有限公司 71 / 88 BC260Y-CN AT 命令手册 9.2. AT+QADC 查询 ADC 通道输入电压值 该命令用于查询 ADC 通道的输入电压值。 AT+QADC 查询 ADC 通道输入电压值 测试命令 AT+QADC=? 响应 +QADC: (支持的列表) 执行命令 AT+QADC OK 响应 +QADC: 0, 设置命令 AT+QADC= OK 响应 +QADC: , OK 最大响应时间 5秒 特性说明 / 参数 整型。ADC 通道。 0 ADC0 整型。采样电压值。单位:mV。范围:0~1200。 备注 AT+QADC 查询的是 ADC0 通道的输入电压值。 举例 AT+QADC +QADC: 0,796 OK 上海移远通信技术股份有限公司 72 / 88 BC260Y-CN AT 命令手册 9.3. AT+CMEE 启用/禁用移动终端错误上报 设置命令启用或禁用最终结果码+CME ERROR: ,用于表示 MT 功能相关的错误。启用后,发生 错误时,模块会上报+CME ERROR: ,而非仅仅响应 ERROR。当发生语法、无效参数或 TA 功能相 关错误时,仅仅会响应 ERROR AT+CMEE 使能/禁用移动终端错误上报 测试命令 AT+CMEE=? 响应 +CMEE: (支持的范围) 查询命令 AT+CMEE? OK 响应 +CMEE: 设置命令 AT+CMEE= 最大响应时间 特性说明 OK 响应 OK 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。启用或禁用最终结果码 +CME ERROR: 。 0 禁用 1 启用,并采用数字形式的最终结果码 2 启用,并采用详细字符串形式的最终结果码 整型。错误码。详细信息,请参考第 11 章。 举例 AT+CMEE? +CMEE: 0 OK AT+CMEE=? +CMEE: (0-2) OK 上海移远通信技术股份有限公司 73 / 88 BC260Y-CN AT 命令手册 9.4. AT+QRST 重启模块 该命令用于立即重启模块。 AT+QRST 重启模块 测试命令 AT+QRST=? 设置命令 AT+QRST= 最大响应时间 特性说明 响应 +QRST: (支持的列表) OK 响应 OK 自动立即重启 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。 1 无需去附着网络,自动立即重启。 整型。错误码。详细信息,请参考第 11 章。 9.5. AT+QCFG 系统配置 该命令用于配置系统的功能参数。 AT+QCFG 系统配置 测试命令 AT+QCFG=? 响应 +QCFG: (支持的列表),(支持的列表) 设置命令 AT+QCFG=[,] OK 响应 若省略参数,则查询当前配置: 上海移远通信技术股份有限公司 74 / 88 查询命令 AT+QCFG? 最大响应时间 特性说明 参数 BC260Y-CN AT 命令手册 +QCFG: , OK 若不省略参数,则配置对应功能: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +QCFG: (支持的列表),(当前的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 300 毫秒 该命令重启后生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 仅当取值为'statisr'时,设置后即刻生效,参数不保 存 NVRAM。 字符串类型。可配置的功能列表。 'epco' 配置扩展协议配置项 'autoapn' 配置 APN 自动激活选项 'rohc' 配置是否支持 ROHC 'DataInactTimer' 设置 UE 侧去激活定时器的值 'logbaudrate' 配置抓取 log 的波特率 'slplocktimes' 配置 Sleep Lock 持续时间 'OOSScheme' 配置 OOS 状态下的搜网间隔 'dsevent' 配置 Deep Sleep 事件 URC 上报 'statisr' 配置注网信息的 URC 上报时间间隔 'wakeupRXD' 配置是否支持串口唤醒 整型。 描述 'epco' 0 表示去使能 EPCO,即使用 PCO。 上海移远通信技术股份有限公司 75 / 88 BC260Y-CN AT 命令手册 1 表示使能 EPCO。 'autoapn' 0 表 示 关 闭 APN 自 动 激 活 , 使 用 AT+QCGDEFCONT 配置的 APN 自 动激活参数。 1 表示打开 APN 自动激活,该设置会 根据(U)SIM 卡进行匹配 APN。 'rohc' 0 表示不支持 ROHC。 1 表示支持 ROHC。 'DataInactTimer' 0 表示去激活定时器无效。 40~254 UE 侧去激活定时器可以设置的值。 'logbaudrate' 921600~6000000 配置抓取 log 的波特率。 'slplocktimes' 0~30 配置 Sleep Lock 持续时间,默认值为 10。单位:s。 'OOSScheme' 0 OOS 状态 PLMN 搜索间隔 30 s、 1 min 和 2 min。 'OOSScheme' 1 OOS 状态 PLMN 搜索间隔 5 min、 10 min 和 15 min。 'OOSScheme' 2 OOS 状态 PLMN 搜索间隔 10 min、 30 min 和 60 min。 'OOSScheme' 3 在 30 s 后进行一次搜网,之后停止搜 网。直到 AT+QPLMNS 命令触发搜 网。 'dsevent' 0 关闭 Deep Sleep 事件 URC 上报。 'dsevent' 1 打开 Deep Sleep 事件 URC 上报。 'statisr' 0 关闭注网信息 URC 上报。 'statisr' 5~600 设置注网信息 URC 上报时间间隔。 单位:秒。 'wakeupRXD' 0 关闭串口唤醒。 'wakeupRXD' 1 打开串口唤醒。 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 76 / 88 BC260Y-CN AT 命令手册 10 时间相关命令 10.1. AT+CCLK 设置/获取当前日期和时间 该命令用于设置/获取当前日期和时间。用户设备接收到 EMM INFORMATION 或 SIB16 消息之后会自 动同步 RTC 时钟。 AT+CCLK 设置/获取当前日期和时间 测试命令 AT+CCLK=? 查询命令 AT+CCLK? 响应 OK 响应 +CCLK: 设置命令 AT+CCLK= OK 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效,深休眠唤醒后有效。 参数配置自动保存至 NVRAM。 参数 字符串类型。格式为 yyyy/mm/dd,hh:mm:ss±zz,分别指代年份、月份、日期、小时、 分钟、秒和时区(以 1/4 小时为单位显示本地时间和 GMT 之间的时区区别。范围: -47 ~ +48),例如,2019/05/06,22:10:00+8 表示 2019 年 5 月 6 号,22:10:00 GMT+2 小时。 整型。错误码。详细信息,请参考第 11 章。 上海移远通信技术股份有限公司 77 / 88 备注 设置的时间必须在 2000 年之后,否则可能导致模块异常。 举例 AT+CCLK? +CCLK: 2020/05/06,22:10:00+32 OK BC260Y-CN AT 命令手册 10.2. AT+CTZR 时区上报 该命令用于使能/禁止时区变化事件上报。若开启时区变化上报,时区变化时移动终端会返回 URC: +CTZV: 、+CTZE: ,[,] 或 +CTZEU: ,[,]。 AT+CTZR 时区上报 测试命令 AT+CTZR=? 响应 +CTZR: (支持的范围) 查询命令 AT+CTZR? OK 响应 +CTZR: OK 设置命令 AT+CTZR= 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效,深休眠唤醒后有效。 参数配置自动保存至 NVRAM。 上海移远通信技术股份有限公司 78 / 88 BC260Y-CN AT 命令手册 参数 整型。使能/去使能时区变化事件上报。 0 禁用上报时区变化事件 1 使能通过 URC +CTZV: 上报时区变化事件 2 使能通过 URC +CTZE: ,[,] 3 使能通过 URC +CTZEU: ,[,] 上报时区信息和本地时间 字符串类型。表示本地时区(以 15 分钟为单位显示本地时间和 GMT 时间的差异)与 夏令时之和。格式为'±zz',宽度固定为两个整型数字。范围:-48 ~ +56。为保证固定宽 度,-9 ~ +9 之间的数字前加 0,例如:'-09','+00' 和 '+09'。 整型。参数中是否包括夏时令调整。 0 不包括夏时令调整 1 包括+1 小时(相当于的 4)的夏时令调整 2 包括+2 小时(相当于的 8)的夏时令调整 字符串类型。当前本地日期和时间。格式为 YYYY/MM/DD,hh:mm:ss ,分别指代年份、 月份、日期、小时、分钟、秒。MT 可以在传递时区信息时从网络提供的信息中获取本地 时间,并且如果网络提供了通用时间,则本地时间将显示在上报时区信息和本地时间 URC 中。 字符串类型。通用时间。格式为 YYYY/MM/DD,hh:mm:ss,分别指代年份、月份、日期、 小时、分钟、秒。 网络可以在传递时区信息时提供通用时间,并且如果网络提供了通用 时间,则通用时间将显示在上报时区信息和本地时间 URC 中。 整型。错误码。详细信息,请参考第 11 章。 备注 1. 进行搜网前,需先设置该命令。 2. 当前不支持=2。 举例 AT+CTZR=? +CTZR: (0,1,3) OK AT+CTZR=3 OK AT+CTZR? +CTZR: 3 OK 上海移远通信技术股份有限公司 79 / 88 BC260Y-CN AT 命令手册 11 错误代码汇总 本章主要介绍与 BC260Y-CN 模块相关的错误码。 下表列出的错误代码符合 3GPP 规范。用户可以参考 3GPP TS 27.007 V13.5.0,sub-clause 9.2 了解 错误码详情。 表 2:常见错误代码列表(27.007) 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 错误代码 MT not connection MT link reserved operation not allowed operation not supported PH-SIM PIN required PH-FSIM PIN required PH-FSIM PUK required SIM not inserted SIM PIN required SIM PUK required SIM failure SIM busy SIM wrong incorrect password SIM PIN2 required SIM PUK2 required 中文解释 MT 未连接 MT 链接保留 不允许操作 不支持操作 需要 PH-SIM PIN 需要 PH-FSIM PIN 需要 PH-FSIM PUK 未插入 SIM 卡 需要 SIMPIN 需要 SIM PUK SIM 卡失败 SIM 卡忙碌 SIM 卡错误 密码不正确 需要 SIM PIN2 需要 SIM PUK2 上海移远通信技术股份有限公司 80 / 88 BC260Y-CN AT 命令手册 20 memory full 内存已满 21 invalid index 无效索引 22 not found 未发现 23 memory failure 内存不足 24 text string too long 文本字符串过长 25 invalid characters in text string 无效文本字符串 26 dial string too long 拨号字符串过长 27 invalid characters in dial string 无效拨号字符串 30 no network service 无网络服务 31 network timeout 网络超时 32 network not allowed - emergency call only 网络不允许-仅紧急呼叫 40 network personalization PIN required 需要网络个性化 PIN 41 network personalization PUK required 需要网络个性化 PUK 42 network subset personalization PIN 需要网络子集个性化 PIN required 43 network subset personalization PUK 需要网络子集个性化 PUK required 44 service provider personalization PIN 需要服务提供商个性化 PIN required 45 service provider personalization PUK 需要服务提供商个性化 PUK required 46 corporate personalization PIN required 需要企业个性化 PIN 47 corporate personalization PUK required 需要企业个性化 PUK 48 hidden key required 需要隐藏密钥 49 EAP method not support EAP 方法不支持 50 incorrect Parameters 无效参数 51 command implemented but currently 命令已实现,但当前已禁用 disabled 52 command aborted by user 命令被用户终止 上海移远通信技术股份有限公司 81 / 88 BC260Y-CN AT 命令手册 53 not attached to network due to MT 由于 MT 功能受限,未注册到网络 functionality restrictions 54 modem not allowed-MT restricted to Modem 不允许- MT 仅限于紧急呼叫 emergency calls only 55 operation not allowed because of MT 由于 MT 功能受限,操作不允许 functionality restrictions 56 fixed dial number only allowed - called 仅允许固定拨号-已拨号码非固话 number is not a fixed 57 temporarily out of service due to other MT 由于其他 MT 使用,暂时停用 usage 58 language/alphabet not supported 不支持的语言/字母 59 unexpected data value 数据值超出范围 60 system failure 系统发生问题 61 data missing 数据丢失 62 call barred 禁止通话 63 message waiting indication subscription 消息等待指示订阅失败 failure 100 unknown 未知 103 illegal MS 非法 MS 106 illegal ME 非法 ME 107 GPRS services not allowed 不允许的 GPRS 服务 108 GPRS services and non GPRS services 不允许的 GPRS 服务和非 GPRS 服务 not allowed 111 PLMN not allowed 不允许 PLMN 112 location area not allowed 不允许的位置区域 113 roaming not allowed in this location area 在此位置区域内不允许漫游 114 GPRS services not allowed in this PLMN 此 PLMN 不允许使用 GPRS 服务 115 No suitable cells in location area 位置区域内没有合适的小区 122 Congestion 拥塞 126 Insufficient resources 资源不足 127 Mission or unknown APN 任务或未知 APN 上海移远通信技术股份有限公司 82 / 88 BC260Y-CN AT 命令手册 128 Unknown PDP address or PDP type 未知 PDP 地址或 PDP 类型 129 User authentication failed 用户鉴权失败 130 Active reject by GGSN services GW or 被 GGSN 服务 GW 或 PDN GW 主动拒绝 PDN GW 131 Active reject unspecified 未指定主动拒绝 132 service option not supported 服务选项不支持 133 requested service option not subscribed 未订阅请求服务选项 134 service option temporarily out of order 服务选项暂时失灵 140 Feature not supported 不支持该功能 141 Semantic errors in the TFT operation TFT 操作语义错误 142 Syntactical errors in the TFT operation TFT 操作中的句法错误 143 Unknown PDP context 未知 PDP 上下文 144 Semantic errors in packet filters 数据包过滤器中的语义错误 145 Syntactical errors in packet filters 数据包过滤器中的句法错误 146 PDP context without TFT already 没有激活 TFT 的 PDP 上下文 activated 148 unspecified GPRS error 未指定的 GPRS 错误 149 PDP authentication failure PDP 认证失败 150 invalid mobile class 无效移动类 171 Last PDN disconnection not allowed 不允许最后一个 PDN 断开连接 172 Semantically incorrect message 消息语义不正确 173 Mandatory information element error 强制性信息元素错误 174 Information element not existent or not 信息元素不存在或未实现 implemented 175 Conditional IE error 有条件 IE 错误 176 Protocol error unspecified 未指定的协议错误 177 Operator determined barring 运营商决定的限制 178 Max number of PDP contexts reached 达到 PDP 上下文的最大数量 上海移远通信技术股份有限公司 83 / 88 BC260Y-CN AT 命令手册 Requested APN not supported in current 当前的 RAT 和 PLMN 组合不支持请求的 179 RAT and PLMN combination APN 180 Request rejected bearer control mode 请求拒绝承载控制模式冲突 violation 181 Unsupported OCI value 不支持的 OCI 值 182 User data transmission via control plane is 通过控制平面的用户数据传输拥塞 congested 301 Internal error base 内部错误基础 302 UE busy UE 繁忙 303 Not power on 未开机 304 PDN not active 未激活 PDN 305 PDN not valid 无效 PDN 306 PDN invalid type 无效 PDN 类型 307 PDN no parameter PDN 无参数 308 UE fail UE 失败 309 PDN type and APN duplicate used 重复的 PDN 和 APN 上海移远通信技术股份有限公司 84 / 88 BC260Y-CN AT 命令手册 12 附录 A 术语缩写 表 3:术语缩写 术语 3GPP ACK AM APDU APN ARQ BCCH BCD CMDMP CN DCE DF DHCP DL DL-SCH DTE EARFCN ECL EMM 英文全称 中文全称 3rd Generation Partnership Project 第三代合作伙伴计划 Acknowledgement 确认 Acknowledgement Mode 确认模式 Application Protocol Data Unit 应用协议数据单元 Access Point Name 接入点名称 Automatic Repeat Request 自动重传请求 Broadcast Control Channel 广播控制信道 Binary-Coded Decimal 二进制编码的十进制 China Mobile Device Management Platform 中国移动设备管理平台 Core Network Data Communications Equipment (typically the module) Dedicated File 核心网络 数据通信设备(特指模块) 专用文件 Dynamic Host Configuration Protocol 动态主机配置协议 Downlink (Forward Link) 下行(前向链路) Downlink-Shared Channel 下行共享信道 Data Terminal Equipment (typically the MCU/external processor) 数据终端设备(特指 MCU/外部处理器) E-UTRA Absolute Radio Frequency Channel E-UTRA 绝对射频信道号(频点) Number Enhanced Coverage Level 增强覆盖等级 EPS Mobility Management EPS 移动性管理 上海移远通信技术股份有限公司 85 / 88 BC260Y-CN AT 命令手册 E-UTRAN eDRX EGPRS ePCO EPS ESM GERAN GGSN GMT GPRS GSM HARQ HPLMN HSDPA HSUPA ICCID ICMP IE IM IMEI IMEISV IMSI MQTT MS MT MTU Evolved Universal Terrestrial Radio Access 演进的通用陆基无线接入网 Network extended Discontinuous Reception 扩展非连续接收 Enhanced General Packet Radio Service 增强型数据速率 GSM 演进技术 Extended Protocol Configuration Options 扩展协议配置选项 Evolved Packet System 演进型分组系统 EPS Session Management EPS 会话管理 GSM/EDGE Radio Access Network GSM/EDGE 无线接入网 Gateway GPRS Support Node GPRS 网关支持节点 Greenwich Mean Time 格林尼治标准时间 General Packet Radio Service 通用分组无线业务 Global System for Mobile Communications 全球移动通信系统 Hybrid Automatic Repeat Request 混合式自动重送请求 Home Public Land Mobile Network 本地公用陆地移动网 High-Speed Downlink Packet Access 高速下行分组接入 High-Speed Uplink Packet Access 高速上行分组接入 Integrated Circuit Card Identity 集成电路卡识别码 Internet Control Messages Protocol 网间控制报文协议 Information Element 信息单元 Intermodulation/IP Multimedia 互调/IP 多媒体 International Mobile Equipment Identity 国际移动设备识别码 International Mobile Equipment Identity and 国际移动用户识别码及软件版本 Software Version International Mobile Subscriber Identity 国际移动用户识别码 Message Queuing Telemetry Transport 消息队列遥测传输协议 Mobile Station 移动台 Mobile Termination (typically the module) 移动终端(特指模块) Maximum Transfer Unit 最大传输单元 上海移远通信技术股份有限公司 86 / 88 BC260Y-CN AT 命令手册 NB-IoT NSLPI NVRAM PAD PCI PCO P-CSCF PDCP PDN PDP PIN PSM PSD PSK PUK QoS RAM RFC RLC RRC RSCP RSRP RSRQ RSSI RTC SNDCP Narrowband Internet of Things 窄带物联网 NAS (Non-access Stratum) Signaling Low 非接入层信令低优先级指示 Priority Indication Non-Volatile Random Access Memory 非易失性随机访问存储器 Packet Assember/Disassemble 分组组装拆卸器 Physical Cell Identification 物理小区标识 Protocol Configuration Options 协议配置选项 Proxy Call Session Control Function 代理呼叫会话控制 Packet Data Convergence Protocol 分组数据汇聚协议 Public Data Network 公用数据网 Packet Data Protocol 分组数据协议 Personal Identification Number 个人识别码 Power Saving Mode 省电模式 Packet Switch Domain 分组域 Pre-Shared key 预共享密钥 PIN Unlock Key PIN 解锁码 Quality of Service 服务质量 Random Access Memory 随机存取存储器 Request for Comments 请求注解 Radio Link Control 无线链路控制 Radio Resource Control 无线资源控制 Received Signal Code Power 接收信号码功率 Received Signal Received Power 参考信号接收功率 Reference Signal Received Quality 参考信号接收质量 Received Signal Strength Indicator 接收的信号强度指示 Real Time Clock Sub-Network Dependent Convergence Protocol 实时时钟 子网相关融合协议 上海移远通信技术股份有限公司 87 / 88 SNR SVN TA TCP TE TTL UDP UE UICC UL UL-SCH URC UTC UUID Signal-to-Noise Ratio Software Version Number Terminal Adapter (typically the module) Transmission Control Protocol Terminal Equipment (typically the MCU/external processor) Time to Live User Datagram Protocol User Equipment (typically the module) Universal Integrated Circuit Card Uplink (Reverse Link) Uplink Shared Channel Unsolicited Result Code Universal Time Coordinated Universally Unique Identifier BC260Y-CN AT 命令手册 信噪比 软件版本 终端适配器(特指模块) 传输控制协议 终端设备(特指 MCU/外部处理器) 存活时间 用户数据报协议 用户设备(特指模块) 通用集成电路卡 上行(反向链路) 上行共享信道 非请求结果码 协调世界时 通用唯一识别码 上海移远通信技术股份有限公司 88 / 88
725.36 KB
BC28-F&BC95-GF AT 命令手册 NB-IoT 模块系列 版本:2.0 日期:2021-05-22 状态:受控文件 BC28-F&BC95-GF AT 命令手册 上海移远通信技术股份有限公司始终以为客户提供最及时、最全面的服务为宗旨。如需任何帮助,请随时 联系我司上海总部,联系方式如下: 上海移远通信技术股份有限公司 上海市闵行区田林路 1016 号科技绿洲 3 期(B 区)5 号楼 电话:+86 21 51086236 邮箱:info@quectel.com 邮编:200233 或联系我司当地办事处,详情请登录:http://www.quectel.com/cn/support/sales.htm。 如需技术支持或反馈我司技术文档中的问题,可随时登陆如下网址: http://www.quectel.com/cn/support/technical.htm 或发送邮件至:support@quectel.com。 前言 上海移远通信技术股份有限公司提供该文档内容用以支持其客户的产品设计。客户须按照文档中提供的规 范、参数来设计其产品。因未能遵守有关操作或设计规范而造成的损害,上海移远通信技术股份有限公司 不承担任何责任。在未声明前,上海移远通信技术股份有限公司有权对该文档进行更新。 免责声明 上海移远通信技术股份有限公司尽力确保开发中功能的完整性、准确性、及时性或效用,但不排除上述功 能错误或遗漏的可能。除非其他有效协议另有规定,否则上海移远通信技术股份有限公司对开发中功能的 使用不做任何暗示或明示的保证。在适用法律允许的最大范围内,上海移远通信技术股份有限公司不对任 何因使用开发中功能而遭受的损失或损害承担责任,无论此类损失或损害是否可以预见。 保密义务 除非上海移远通信技术股份有限公司特别授权,否则我司所提供文档和信息的接收方须对接收的文档和信 息保密,不得将其用于除本项目的实施与开展以外的任何其他目的。未经上海移远通信技术股份有限公司 书面同意,不得获取、使用或向第三方泄露我司所提供的文档和信息。对于任何违反保密义务、未经授权 使用或以其他非法形式恶意使用所述文档和信息的违法侵权行为,上海移远通信技术股份有限公司有权追 究法律责任。 版权申明 本文档版权属于上海移远通信技术股份有限公司,任何人未经我司允许而复制转载该文档将承担法律责任。 版权所有 ©上海移远通信技术股份有限公司 2021,保留一切权利。 Copyright © Quectel Wireless Solutions Co., Ltd. 2021. 上海移远通信技术股份有限公司 1 / 169 BC28-F&BC95-GF AT 命令手册 文档历史 修订记录 版本 1.0 1.1 2.0 日期 2020-10-19 2020-12-19 2021-01-30 2021-05-22 作者 Jacobi RAO Jacobi RAO Jacobi RAO Jacobi RAO 变更表述 文档创建 受控版本 新增适用模块 BC28-F 信息。 1. 新增以下命令:AT+NSOSR、AT+NSOST、 AT+NSOSTF、AT+NQSOS、AT+NSORF、AT+NSOCO、 AT+NSOSD、AT+NSOCL、AT+NSONMI、 AT+NSOSTATUS、AT+NSOCLI、AT+NSOSTFEX、 AT+NSOSDEX、AT+QLEDMODE 和 AT+QIPERF。 2. 第 4.16 章:更新命令 AT+QCFG 的部分参数及备注。 3. 第 4.17 章:更新 AT+CTZR 命令部分参数默认值。 4. 第 4.23 章:更新 AT+NATSPEED 命令部分参数默认值。 上海移远通信技术股份有限公司 2 / 169 BC28-F&BC95-GF AT 命令手册 目录 文档历史 ..................................................................................................................................................... 2 目录 ............................................................................................................................................................3 表格索引 ..................................................................................................................................................... 6 1 引言.....................................................................................................................................................7 1.1. 定义 ..........................................................................................................................................7 1.2. AT 命令语法..............................................................................................................................7 1.3. AT 命令响应..............................................................................................................................8 1.4. 3GPP........................................................................................................................................9 1.5. AT 示例声明..............................................................................................................................9 2 3GPP 命令(27.007) ......................................................................................................................10 2.1. ATI 显示产品标识信息..........................................................................................................10 2.2. ATE 设置命令的回显模式.....................................................................................................11 2.3. AT+CGMI 查询制造商标识...................................................................................................12 2.4. AT+CGMM 查询制造商型号.................................................................................................13 2.5. AT+CGMR 查询制造商版本号..............................................................................................14 2.6. AT+CGSN 查询产品序列号..................................................................................................15 2.7. AT+CEREG 设置 EPS 网络注册状态...................................................................................16 2.8. AT+CSCON 信令连接状态...................................................................................................19 2.9. AT+CSQ 获取信号强度指示.................................................................................................21 2.10. AT+CGPADDR 显示 PDP 地址............................................................................................22 2.11. AT+COPS PLMN 选择 .........................................................................................................24 2.12. AT+CGATT PS 附着与去附着 ..............................................................................................26 2.13. AT+CGACT 激活或去激活 PDP 上下文 ...............................................................................28 2.14. AT+CIMI 请求国际移动用户识别码 ......................................................................................30 2.15. AT+CGDCONT 定义 PDP 上下文 ........................................................................................31 2.16. AT+CFUN 设置 UE 功能 ......................................................................................................34 2.17. AT+CMEE 上报 MT 错误......................................................................................................35 2.18. AT+CCLK 设置或获取前日期和时间 ....................................................................................36 2.19. AT+CPSMS 设置省电模式 ...................................................................................................38 2.20. AT+CEDRXS 设置 eDRX.....................................................................................................40 2.21. AT+CEDRXRDP 读取动态 eDRX 参数 ................................................................................43 2.22. AT+CEER 扩展错误报告......................................................................................................45 2.23. AT+CIPCA 初始 PDP 上下文激活 ........................................................................................46 2.24. AT+CGAPNRC APN 速率控制.............................................................................................47 2.25. AT+CGCONTRDP 查询 PDP 上下文的动态参数 .................................................................49 2.26. AT+CGAUTH 定义 PDP 上下文鉴权参数.............................................................................51 2.27. AT+CNMPSD 指示无更多 PS 数据 ......................................................................................52 2.28. AT+CPIN 输入 PIN 码 ..........................................................................................................53 2.29. AT+CPINR 查询剩余 PIN 的重试次数 ..................................................................................55 2.30. AT+CCHO 打开逻辑信道 .....................................................................................................56 上海移远通信技术股份有限公司 3 / 169 BC28-F&BC95-GF AT 命令手册 2.31. AT+CCHC 关闭逻辑信道 .....................................................................................................57 2.32. AT+CGLA 通用 UICC 逻辑信道访问 ....................................................................................58 2.33. AT+CRSM 受限 SIM 卡访问.................................................................................................59 2.34. AT+CSIM 通用 SIM 卡访问 ..................................................................................................61 2.35. AT+CCIOTOPT CIoT 优化配置............................................................................................62 3 SMS 相关命令(27.005) .................................................................................................................65 3.1. AT+CSMS 选择短信服务 .....................................................................................................65 3.2. AT+CSCA 设置短信服务中心地址 .......................................................................................66 3.3. AT+CMGS 发送短消息 ..........................................................................................................68 4 一般命令............................................................................................................................................70 4.1. AT+NRB 重启 UE.................................................................................................................70 4.2. AT+NUESTATS 查询 UE 统计信息......................................................................................70 4.3. AT+NEARFCN 指定搜索频点 ..............................................................................................77 4.4. AT+NBAND 设置支持的频段................................................................................................78 4.5. AT+NCONFIG 配置 UE 行为................................................................................................79 4.6. AT+NCCID 识别 USIM 卡 ....................................................................................................82 4.7. AT+NPOWERCLASS 设置频段和功率等级的映射 ..............................................................84 4.8. AT+NPSMR 省电模式状态上报............................................................................................85 4.9. AT+NPTWEDRXS 设置 PTW 和 eDRX ...............................................................................86 4.10. AT+NPIN PIN 管理...............................................................................................................89 4.11. AT+NCSEARFCN 清除存储的频点......................................................................................90 4.12. AT+NITZ 设置时间更新模式.................................................................................................91 4.13. AT+NLOGLEVEL 设置日志级别 .............................................................................................93 4.14. AT+QPLMNS 触发 PLMN 搜索 ............................................................................................94 4.15. AT+QNBIOTRAI 设置 NB-IoT 释放辅助指示........................................................................95 4.16. AT+QCFG 配置系统功能参数 ..............................................................................................96 4.17. AT+CTZR 设置时区上报 ....................................................................................................101 4.18. AT+NIPINFO 上报 IP 地址信息 .........................................................................................103 4.19. AT+QCHIPINFO 读取系统信息..........................................................................................104 4.20. AT+QIDNSCFG 配置 DNS 服务器地址 ..............................................................................105 4.21. AT+QDNS 触发 DNS 域名解析 ..........................................................................................107 4.22. AT+NPING 测试到远程主机的 IP 网络连接........................................................................108 4.23. AT+NATSPEED 配置 UART 端口波特率 ...........................................................................109 4.24. AT+NUICC 设置 UICC 功耗模式 ..........................................................................................111 4.25. AT+NSOCR 创建 Socket ...................................................................................................112 4.26. AT+NSOST 发送消息(仅限 UDP)..................................................................................113 4.27. AT+NSOSTEX 发送消息(仅限 UDP) .............................................................................114 4.28. AT+NSOSTF 发送带标志的消息(仅限 UDP) .................................................................116 4.29. AT+NSOSTFEX 发送带标志位的消息(仅限 UDP) .........................................................117 4.30. AT+NQSOS 查询待处理的 Socket 消息清单......................................................................120 4.31. AT+NSORF 读取消息 ........................................................................................................121 4.32. AT+NSOCO 连接命令(仅限 TCP) .................................................................................122 4.33. AT+NSOSD 发送消息(仅限 TCP)..................................................................................123 上海移远通信技术股份有限公司 4 / 169 BC28-F&BC95-GF AT 命令手册 4.34. AT+NSOSDEX 发送消息(仅限 TCP) .............................................................................124 4.35. AT+NSOCL 关闭 Socket....................................................................................................126 4.36. AT+NSONMI 指示已到达 Socket 的消息............................................................................127 4.37. +NSOCLI 关闭 Socket 指示(仅用于响应) ......................................................................128 4.38. AT+NSOSTATUS 获取 Socket 状态 ..................................................................................129 4.39. AT+QLEDMODE 设置 NETLIGHT 功能模式......................................................................130 4.40. AT+QIPERF IPERF 性能测试 ............................................................................................132 5 LwM2M 物联网平台命令 .................................................................................................................135 5.1. AT+QCFG='LWM2M/Lifetime' 配置 IoT 平台注册生命周期...............................................135 5.2. AT+NCDP 配置和查询 CDP 服务器设置 ............................................................................136 5.3. AT+QLWSREGIND 注册控制 ............................................................................................137 5.4. AT+QLWULDATA 发送数据...............................................................................................138 5.5. AT+QLWULDATAEX 发送 CON/NON 消息 .......................................................................138 5.6. AT+QLWULDATASTATUS 查询 CON 消息发送状态 ........................................................139 5.7. AT+QREGSWT 设置注册模式 ...........................................................................................140 5.8. AT+NMGS 发送消息 ..........................................................................................................142 5.9. AT+NMGR 接收消息..........................................................................................................142 5.10. AT+NNMI 设置新消息指示 .................................................................................................143 5.11. AT+NSMI 发送消息指示.....................................................................................................145 5.12. AT+NQMGR 查询已接收消息状态 .....................................................................................146 5.13. AT+NQMGS 查询发送的消息状态 .....................................................................................147 5.14. AT+NMSTATUS 消息注册状态 ..........................................................................................148 5.15. AT+QLWSERVERIP 设置/删除 Bootstrap/LwM2M 服务器 IP ............................................149 6 错误码 .............................................................................................................................................151 7 重启原因..........................................................................................................................................157 8 举例.................................................................................................................................................158 8.1. 附着网络 ...............................................................................................................................158 8.1.1. 自动附着网络 .............................................................................................................158 8.1.2. 手动附着网络 .............................................................................................................159 8.2. 发送/接收/读取 UDP 信息 .....................................................................................................160 8.3. 发送/接收/读取 TCP 信息......................................................................................................160 8.4. 中国电信 IoT 平台相关举例...................................................................................................161 8.4.1. 注册中国电信 IoT 平台 ...............................................................................................161 8.4.1.1. 自动注册模式 ..................................................................................................161 8.4.1.2. 手动注册模式 ..................................................................................................162 8.4.2. 从中国电信 IoT 平台发送/接收数据 ............................................................................162 8.5. 释放辅助指示(RAI)...........................................................................................................163 8.5.1. RAI 功能操作举例(R13).........................................................................................163 8.5.1.1. 发送 LwM2M CON/NON 数据 .........................................................................163 8.5.2. RAI 功能操作举例(R14).........................................................................................164 8.5.2.1. 发送 LwM2M CON/NON 数据 .........................................................................164 9 附录 A 术语缩写 ..............................................................................................................................165 上海移远通信技术股份有限公司 5 / 169 BC28-F&BC95-GF AT 命令手册 表格索引 表 1:AT 命令类型 .................................................................................................................................... 8 表 2:通用错误码 .................................................................................................................................. 151 表 3:重启原因显示............................................................................................................................... 157 表 4:术语缩写...................................................................................................................................... 165 上海移远通信技术股份有限公司 6 / 169 BC28-F&BC95-GF AT 命令手册 1 引言 本文档详细介绍了移远通信 NB-IoT 模块系列 BC28-F 和 BC95-GF 模块支持的 AT 命令集。 模块开启后,将输出字符串REBOOT_CAUSE_APPLICATION_POWER_ON_RESETOK。收到此字符串后,AT 命令处理器将开始准备接收 AT 命令。 如果模块由于异常导致的重新开机,将输出一条消息,以表明重新启动的原因,详细信息请参考第 7 章。 1.1. 定义 ⚫ ⚫ ⚫ ⚫ […] ⚫ 下划线 回车符。 换行符。 参数名称。实际命令行中不包含尖括号。 可选参数或 TA 信息响应的可选部分。实际命令行中不包含方括号。若无特别说明, 配置命令中的可选参数被省略时,将默认使用其之前已设置的值或其默认值。 参数的默认设置。 1.2. AT 命令语法 前缀 AT 或 at 必须加在每个命令行的开头。输入 将终止命令行。通常,命令后面跟随形式为 的响应。在本文档中表现命令和响应的表格中,省略了 , 仅显示命令和响应。 模块实现的 AT 命令可以在语法上分为两类:基础类和扩展类,如下所列。 ⚫ 基础类 基础类 AT 命令的格式为 AT 或 AT&,其中 是命令, 是该命令的参数。 以 ATE 为例,DCE 会根据 的取值确定是否将接收到的字符回显给 DTE。若 为可 选参数,则其被省略时将使用其默认值。 上海移远通信技术股份有限公司 7 / 169 ⚫ 扩展类 扩展类 AT 命令可以在多种模式下运行,如下表所示: BC28-F&BC95-GF AT 命令手册 表 1:AT 命令类型 AT 命令类型 语句 测试命令 AT+=? 查询命令 AT+? 描述 测试是否存在相应的设置命令,并返回有关其参 数的类型、值或范围的信息。 查询相应设置命令的当前参数值。 设置命令 AT+=[,[,[...]]] 设置用户可定义的参数值。 执行命令 AT+ 返回特定的参数信息或执行特定的操作。 可以用分号(;)将多个命令放在同一行。此时只有第一个命令带有 AT 前缀。命令可以是大写或小写。 输入 AT 命令时,可以忽略空格。但以下情况除外: ⚫ 带引号的字符串内; ⚫ 不带引号的字符串或数字参数内; ⚫ IP 地址内; ⚫ 在 AT 命令名称中的 =、? 或 =? 内。 输入 AT 命令时,至少需要一个回车符。换行符会被忽略,因此在输入时允许使用一个回车符/换行符 对。 若只输入了 AT 标记,未携带命令,则会返回 OK;若输入的是无效命令,则会返回 ERROR。 对于可选参数,除非明确说明,否则需要一直输入到最后一个可选参数为止。 1.3. AT 命令响应 当 AT 命令处理器处理完一条命令后,会返回 OK、ERROR 或 +CME ERROR: ,表示已经准 备好接收新命令。在返回最终的 OK,ERROR 或 +CME ERROR: 之前,会发送请求的响应消息。 以下是响应消息的格式: +CMD1: OK 上海移远通信技术股份有限公司 8 / 169 或者 OK BC28-F&BC95-GF AT 命令手册 1.4. 3GPP 本文档命令遵从 3GPP TS 27.007、TS 27.005 (2017-03)。 1.5. AT 示例声明 本文中的示例仅为方便用户了解 AT 命令的使用方法,不构成移远通信对终端流程设计的建议或意见, 也不代表模块应被设置成相应示例中的状态。某些 AT 命令存在多个示例,这些示例之间不存在承接关系或 连续性。 上海移远通信技术股份有限公司 9 / 169 BC28-F&BC95-GF AT 命令手册 2 3GPP 命令(27.007) 2.1. ATI 显示产品标识信息 该命令用于返回产品标识信息。 ATI 显示产品标识信息 执行命令 ATI 最大响应时间 特性说明 响应 Quectel Revision: OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 字符串型。设备型号。 字符串型。软件版本号。 错误码。参考第 6 章。 举例 ATI Quectel BC95-GF Revision:BC95GFFAR01A01 OK 上海移远通信技术股份有限公司 10 / 169 BC28-F&BC95-GF AT 命令手册 2.2. ATE 设置命令的回显模式 该命令用于设置是否从外接 MCU 接收 UE 回显字符。 ATE 设置命令的回显模式 执行命令 ATE 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。是否回显从 UE 收到的字符。 0 关闭回显模式 1 开启回显模式 错误码。参考第 6 章。 举例 ATE0 OK ATI Quectel BC95-GF Revision:BC95GFFAR01A01 OK ATE1 OK ATI ATI Quectel BC95-GF Revision:BC95GFFAR01A01 OK 上海移远通信技术股份有限公司 11 / 169 BC28-F&BC95-GF AT 命令手册 2.3. AT+CGMI 查询制造商标识 该命令用于查询制造商信息,默认返回 Quectel。 AT+CGMI 查询制造商标识 执行命令 AT+CGMI 响应 OK 测试命令 AT+CGMI=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 / 参数 字符串型。制造商信息。信息文本(包括行终止符在内)的字符总数不超过 2048, 且不包含 0或 OK。 错误码。参考第 6 章。 举例 AT+CGMI Quectel OK 上海移远通信技术股份有限公司 12 / 169 BC28-F&BC95-GF AT 命令手册 2.4. AT+CGMM 查询制造商型号 该命令用于查询制造商型号信息。 AT+CGMM 查询制造商型号 执行命令 AT+CGMM 响应 OK 测试命令 AT+CGMM=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 / 参数 字符串型。制造商型号信息。信息文本(包括行终止符在内)的字符总数不应超过 2048, 且不包含 0或 OK。 错误码。参考第 6 章。 举例 AT+CGMM BC95-GF OK 上海移远通信技术股份有限公司 13 / 169 BC28-F&BC95-GF AT 命令手册 2.5. AT+CGMR 查询制造商版本号 该命令用于查询制造商版本号。该命令默认返回发布和编译的固件版本(包括核及对应的版本号)。 该执行命令返回一行或多行。 AT+CGMR 查询制造商版本号 执行命令 AT+CGMR 响应 OK 测试命令 AT+CGMR=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 / 参数 字符串型。制造商版本号。信息文本(包括行终止符在内)的字符总数不应超过 2048, 且不包含 0或 OK。此参数的格式可能会改变。 错误码。参考第 6 章。 举例 AT+CGMR Revision:BC95GFFAR01A01 OK AT+CGMR=? OK 上海移远通信技术股份有限公司 14 / 169 BC28-F&BC95-GF AT 命令手册 2.6. AT+CGSN 查询产品序列号 该命令用于查询国际移动设备识别码(IMEI 号)及相关信息。对于不支持的 UE,仅返回 OK。 AT+CGSN 查询产品序列号 执行命令 AT+CGSN[=] 响应 =0(或者省略)且命令执行成功时: =1 且命令执行成功时: +CGSN: =2 且命令执行成功时: +CGSN: =3 且命令执行成功时: +CGSN: OK 测试命令 AT+CGSN=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 UE 支持且命令执行成功时: +CGSN:(支持的列表) OK UE 不支持时: OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 上海移远通信技术股份有限公司 15 / 169 BC28-F&BC95-GF AT 命令手册 参数 整型。被请求的序列号类型。 0 返回 1 返回 IMEI 号 2 返回 IMEISV 号 3 返回 SVN 字符串型。UE 的 128 位 UUID。信息文本(包括行终止符在内)的字符总数不应超 过 2048,且不包含 0或 OK。 十进制格式的字符串型。IMEI 号。 十进制格式的字符串型。IMEISV 号。 十进制格式的字符串型。当前 SVN(SVN 是 IMEISV 的一部分)。 错误码。参考第 6 章。 举例 AT+CGSN=1 +CGSN:861875050000754 OK //查询 IMEI 号 2.7. AT+CEREG 设置 EPS 网络注册状态 设置命令用于设置 EPS 网络注册状态 URC 的显示:=1 设置在 E-UTRAN 中 UE 的 EPS 网络注册 状态发生改变时的 URC +CEREG: 的显示;=2 设置在 E-UTRAN 中的网络小区发生改变时的 URC +CEREG: [,[],[],[]]的显示。参数、和只有在可用时才会上 报 。 在 =2 的 基 础 上 , =3 设 置 当 的 值 改 变 时 , 在 URC 显 示 参 数 和 (若和可用)。 如果 UE 需要请求 PSM 减少其功率消耗,=4 设置 URC +CEREG: [,[],[],[] [,[],[][,[],[]]]] 的显示。此时,如果 E-UTR AN 的小区发生改变,URC 将向 UE 提供附加的 active-time 值及扩展周期性 TAU 值信息。当=5 时, 如果 的值发生改变,URC 将会比=4 时多上报和参数。 参数、、、、、与 只有在可用时才会上报。 查询命令会返回结果码的显示状态和整数型参数,显示 UE 是否已经注册当前网络。如果可用, 位 置 信 息 参 数 、 与 , 仅 在 =2 且 UE 已 注 册 网 络 时 上 报 。 如 果 参 数 [,,]可用,当=3 时返回。 上海移远通信技术股份有限公司 16 / 169 BC28-F&BC95-GF AT 命令手册 AT+CEREG 设置 EPS 网络注册状态 设置命令 AT+CEREG= 响应 OK 查询命令 AT+CEREG? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 =0、1、2 或 3 且命令执行成功时: +CEREG:,[,[],[],[[,, ]]] =4 或 5 且命令执行成功时: +CEREG:,[,[],[],[][,[],[][,[],[]]]] OK 测试命令 AT+CEREG=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CEREG:(支持的列表) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后仍有效;参数配置不保存至 NVRAM。 参数 整型。 0 禁用网络注册 URC 1 使能网络注册 URC +CEREG: 上海移远通信技术股份有限公司 17 / 169 BC28-F&BC95-GF AT 命令手册 2 使能网络注册与位置信息 URC +CEREG:[,[],[],[]] 3 使能网络注册、位置信息和 EMM 原因值 URC: +CEREG:[,[],[],[][,,]] 4 对于需要请求 PSM 的 UE,使能网络注册和位置信息 URC: +CEREG:[,[],[],[][,,[,[],[]]]] 5 对于需要请求 PSM 的 UE,使能网络注册、位置信息和 EMM 原因值 URC: +CEREG:[,[],[],[][,[],[][,[< Active-Time>],[]]]] 整型。EPS 注册状态。 0 未注册,UE 目前未搜索运营商进行注册 1 已注册,本地网络 2 未注册,但 UE 目前正在连接或搜索运营商进行注册 3 注册被拒绝 4 未知(例如不在 E-UTRAN 范围内) 5 已注册,漫游网络 字符串型。十六进制 2 字节跟踪区域代码(例如'00C3'等于十进制的 195)。 字符串型。十六进制 4 字节的 E-UTRAN 小区 ID。 整型。服务小区的接入技术。 7 E-UTRAN 9 E-UTRAN(NB-S1 模式) 整型。类型。 0 表示包含一个 EMM 原因值 1 表示包含一个特定制造商的原因值 整型。包含注册失败的原因。该参数的类型由定义。 字符串型。8 位格式的 1 字节参数。表示在 E-UTRAN 中分配给 UE 的 Active-time 值 (激活时间,T3324)。Active-time 值编码为 GPRS Timer 2 信息元素的一个字节(octet 3),编码为位格式(例如'00100100'等于 4 分钟)。 关于编码和值范围,请参考 3GPP TS 24.008、3GPP TS 23.682 和 3GPP TS 23.401。 第 5 位到第 1 位代表二进制编码定时器值。 第 6 位到第 8 位定义 GPRS Timer 定时器值的单位,定义如下: 位数 8 7 6 0 0 0 该值以 2 秒的倍数递增 0 0 1 该值以 1 分钟的倍数递增 0 1 0 该值以 6 分钟的倍数递增 1 1 1 该值表示定时器被停用 在此版本的 3GPP 协议中,其他值应以 1 分钟的倍数递增。 字符串型。8 位格式的 1 字节参数。表示在 E-UTRAN 中分配给 UE 的扩展周期性 TAU 值(T3412)。扩展的周期 TAU 值,编码为 GPRS Timer 3 信息元素的一个字节(octet 3),编码为位格式(例如'01000111'等于 70 小时)。 对于编码和值范围,请参考 3GPP TS 24.008、3GPP TS 23.682 和 3GPP TS 23.401。 第 5 位到第 1 位代表二进制编码定时器值。 第 6 位到第 8 位定义 GPRS Timer 定时器值的单位,定义如下: 上海移远通信技术股份有限公司 18 / 169 位数 8 7 6 0 0 0 该值以 10 分钟的倍数递增 0 0 1 该值以 1 小时的倍数递增 0 1 0 该值以 10 小时的倍数递增 0 1 1 该值以 2 秒的倍数递增 1 0 0 该值以 30 秒的倍数递增 1 0 1 该值以 1 分钟的倍数递增 1 1 0 该值以 320 小时的倍数递增 1 1 1 该值表示定时器被停用 错误码。参考第 6 章。 BC28-F&BC95-GF AT 命令手册 备注 如果 AT+NCONFIG 中的配置项 T3324_T3412_EXT_CHANGE_REPORT 为 TRUE,当 或定时器改变时,显示 AT+CEREG=5 的 URC。。 举例 AT+CEREG=1 OK AT+CEREG? +CEREG:1,1 OK AT+CEREG=? +CEREG:(0,1,2,3,4,5) OK //使能网络注册 URC。 2.8. AT+CSCON 信令连接状态 该命令用于返回 UE 感知到的无线连接状态(即和基站的连接)的详细信息,并返回当前状态的指示。 该状态仅在无线事件发生时更新,例如发送和接收数据。因此,当前返回的状态可能已经过时。即使在返 回状态=1(已连接)的情况下,因为连接质量的变化,模块仍可能无法使用基站。 该设置命令用于控制 URC 的显示。 UE 处于 E-UTRAN 网络时,当没有 PS 信令连接时,UE 为空闲模式;当 UE 与网络间的 PS 信令连接 建立时,UE 为连接模式。 上海移远通信技术股份有限公司 19 / 169 BC28-F&BC95-GF AT 命令手册 UE 处于 E-UTRAN 网络时,的值表示 UE 的状态。 查询命令返回结果码的显示状态和整型参数。指示 UE 当前为空闲模式或者连接模式。 AT+CSCON 信令连接状态 设置命令 AT+CSCON= 响应 OK 查询命令 AT+CSCON? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CSCON:, OK 测试命令 AT+CSCON=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CSCON:(支持的列表) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后仍有效;参数配置不保存至 NVRAM。 参数 整型。表示使能/禁用 URC。 0 禁用 URC 1 使能 URC +CSCON: 整型。表示信令连接状态。 0 空闲 1 已连接 上海移远通信技术股份有限公司 20 / 169 2~255 保留待用 错误码。参考第 6 章。 举例 AT+CSCON=0 OK AT+CSCON? +CSCON:0,1 OK AT+CSCON=? +CSCON:(0,1) OK AT+CSCON=1 OK AT+CSCON? +CSCON:1,1 OK BC28-F&BC95-GF AT 命令手册 2.9. AT+CSQ 获取信号强度指示 该执行命令用于获取从 UE 接收到的信号强度指示和信道误码率。 该测试命令用于返回所支持参数的范围。 AT+CSQ 获取信号强度指示 执行命令 AT+CSQ 响应 +CSQ:, OK 测试命令 AT+CSQ=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CSQ:(支持的列表),(支持的列表) 上海移远通信技术股份有限公司 21 / 169 BC28-F&BC95-GF AT 命令手册 最大响应时间 特性说明 OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。表示接收到的信号强度。单位:dBm。 0 等于或小于-113 dBm 1 -111 dBm 2~30 -109 ~ -53 dBm 31 大于或等于-51 dBm 99 未知或无法检测 整型。表示信道误码率(BER)(百分比)。 0~7 作为 RxQual 值(请参考 3GPP TS 45.008) 99 未知或无法检测 错误码。参考第 6 章。 举例 AT+CSQ +CSQ:31,0 OK 2.10. AT+CGPADDR 显示 PDP 地址 该命令用于返回设备的 IP 地址。 设置命令返回指定的 PDP 地址列表。如果没有指定,则返回所有已定义上下文的地址。 测试命令返回定义的列表。这些已被激活,可能有也可能没有与之关联的 IP 地址。 上海移远通信技术股份有限公司 22 / 169 BC28-F&BC95-GF AT 命令手册 AT+CGPADDR 显示 PDP 地址 执行/设置命令 AT+CGPADDR[=[,[,...]]] 响应 +CGPADDR:[,[,]] [+CGPADDR:,[[,]]] [...]]] OK 测试命令 AT+CGPADDR=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CGPADDR:(已定义的列表) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或 +CME ERROR: 5秒 / 参数 和 整型。指示某个 PDP 上下文的标识符(参考 AT+CGDCONT)。 范围:0~10。 字符串型。在适用于 PDP 的地址空间识别 MT,地址可为静态或 动态。静态地址由命令 AT+CGDCONT 设定。动态地址在上一 次 PDP 上下文激活期间分配,使用引用的上下文定义。如 果和的地址均不可用,则省略; 当 分 配 IPv4 及 IPv6 的 地 址 时 , 和 均被指定,对应 IPv4 的地址, 对应 IPv6 的地址。 错误码。参考第 6 章。 备注 1. 在双栈终端(=IPV4V6),对应 IPv6 的地址。对于 IPv6 单栈终端 (=IPv6)或者因为向后兼容性,IPv6 地址也可包含在参数中。 上海移远通信技术股份有限公司 23 / 169 BC28-F&BC95-GF AT 命令手册 2. 当使能 AUTOCONNECT(参考 AT+NCONFIG)时,IP 地址获取之后才会列出=0。 举例 AT+CGPADDR=0 +CGPADDR:0,101.43.5.1 OK AT+CGPADDR=? +CGPADDR:(0) OK 2.11. AT+COPS PLMN 选择 设置命令强制尝试使用安装在当前所选卡槽中的 USIM 卡来选择和注册 EPS 网络运营商。用 于设置找网动作是由 MT 自动完成,还是通过该命令以特定的接入方式强加于运营商(由 指定)。如果选择的运营商不可用,则不会选择其他运营商。如果选择的接入技术不可用,则会 在其他接入技术中选择相同的运营商。选定运 营商名称的格式同样适用于查询命令 AT+COPS? 。 =2 强制尝试注销网络。所选模式会影响后续所有网络注册(例如,当设置=2 后,只有在 设置=0 或 1 时 UE 才会注册网络)。尝试注册或注销时,此命令应该是可中止的。 查询命令返回当前模式、当前所选运营商以及当前接入技术。如果没有选择运营商,则不会返回 、和。 测试命令返回五个参数,表示网络中出现的运营商。指示当前运营商是否可用的整型参数、运 营商的数字编码、接入技术的数字编码、注册模式及运营商名称的格式。 以上参数可能不可用,不可用时为空字段。PLMN 选择应该按照此顺序排列:归属网络、USIM 中选用的网 络或 UICC(USIM)中的活动应用程序引用的网络(顺序:HPLMN 选择器、用户控制的 PLMN 选择器、 运营商控制的 PLMN 选择器、USIM 中的 PLMN 选择器)以及其他网络。 选择接入技术的参数仅应用于能够注册多种接入技术的终端。的选择不会限制小区重选 的能力,即使已经尝试选择一种接入技术,UE 也可以在其他接入技术中重选小区。 AT+COPS PLMN 选择 设置命令 AT+COPS=[,[,[,]]] 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 上海移远通信技术股份有限公司 24 / 169 BC28-F&BC95-GF AT 命令手册 查询命令 AT+COPS? 测试命令 AT+COPS=? 最大响应时间 特性说明 响应 +COPS:[,,][,] OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +COPS: [(运营商,,,长字符,短字符,数字 )],[(运营商,,,长字符,短字符,数字 )],[...],[,,(支持的列表),(支持的列表)] OK 若出现任何错误: ERROR 或者 +CME ERROR: 305 秒 该命令立即生效。 深休眠唤醒后仍有效,不保存至 NVRAM。=1 时, Re-attach 后将变成 0。 参数 整型。 0 自动搜网模式(省略、和字段) 1 手动搜网模式(包含和字段,可选) 2 注销网络 =1 时,UE 重启后,将不会保留 PLMN 设置。=1 仅供研发使用;生产 环境请使用=0,此时 AUTOCONNECT 设置为 True。 整型。运营商的格式。 2 数字格式 字符串型。指示此参数格式是否为数字格式;数字格式是 NB-IoT 网络位置区 域标识号(参考 3GPP TS 24.008 subclause 10.5.1.3),由三位 BCD 数字国家代 码 ( 编 码 参 考 ITU-T Recommendation E.212 Annex A ) , 加 上 两 位 或 三 位 BCD 数字网络代码。=0 时,参数省略。 整型。运营商状态。 0 未知 1 可用 2 当前 上海移远通信技术股份有限公司 25 / 169 BC28-F&BC95-GF AT 命令手册 3 禁用 整型。接入技术设置。模块查询命令 AT+COPS?不会返回。 7 E-UTRAN 9 E-UTRAN(NB-S1 模式) 错误码。参考第 6 章。 举例 AT+COPS=0 OK AT+COPS? +COPS:0,2,'46000' OK AT+COPS=? +COPS: (2,,,'31112'),(0,,,'46011'),(0,,,'46000'),,(0-2),(2) OK 备注 暂时只支持数字格式的(=2)。 2.12. AT+CGATT PS 附着与去附着 该命令用于将 MT 附着于 PS 域或将 MT 从 PS 域去附着。命令执行后,MT 保持在 V.250 命令状态。 如果正在执行 AT+CGATT,在附着或去附着注册步骤完成之前,再次执行此命令会返回错误。如果未达到 请求状态,则会响应 ERROR 或+CME ERROR: 。 当附着状态改为去附着状态时,任何活动的 PDP 上下文将自动变为未激活。 查询命令返回当前 PS 域服务状态。 测试命令用于请求支持的 PS 域状态的信息。 AT+CGATT PS 附着与去附着 设置命令 AT+CGATT= 响应 OK 若出现任何错误: 上海移远通信技术股份有限公司 26 / 169 查询命令 AT+CGATT? 测试命令 AT+CGATT=? 最大响应时间 特性说明 BC28-F&BC95-GF AT 命令手册 ERROR 或者 +CME ERROR: 响应 +CGATT: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CGATT:(支持的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 70 秒 / 参数 整型。表示 PDP 上下文激活的状态。 0 去附着 1 附着 错误码。参考第 6 章。 备注 如果使能初始 PDP 上下文,启动时将自动定义=0 的上下文。 举例 AT+CGATT? +CGATT:0 OK 上海移远通信技术股份有限公司 27 / 169 AT+CGATT=1 OK AT+CGATT=? +CGATT:(0,1) OK BC28-F&BC95-GF AT 命令手册 2.13. AT+CGACT 激活或去激活 PDP 上下文 该命令用于激活或去激活指定的 PDP 上下文。该命令设置完成后,UE 保持在 V.250 命令状态。若任 意 PDP 上下文已经进入请求状态,那么该上下文状态保持不变;如果不能实现任意上下文的请求状态,将 返回 ERROR 或+CME ERROR。执行该命令的激活形式时,如果 UE 没有附着 PS,UE 首先会附着 PS, 然后尝试激活指定的上下文。如果附着失败,UE 则响应错误;或者,如果使能扩展错误响应,UE 响应相 应的附着失败错误消息。对 EPS 而言,如果尝试断开上一个 PDN 连接,MT 响应 ERROR,或者如果使能 扩展错误响应,则响应+CME ERROR。 EPS 承载资源的激活请求由网络通过 EPS 专用承载激活请求或 EPS 承载修改请求来响应。MT 必须 接受此请求,PDP 上下文才可设置为建立状态。 查询命令返回所有定义的 PDP 上下文的当前激活状态。测试命令用于请求支持的 PDP 上下文激活状 态的信息。 AT+CGACT 激活或去激活 PDP 上下文 设置命令 AT+CGACT=, 响应 OK 查询命令 AT+CGACT? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CGACT:, [+CGACT:,] [...] OK 若出现任何错误: ERROR 上海移远通信技术股份有限公司 28 / 169 测试命令 AT+CGACT=? 最大响应时间 特性说明 BC28-F&BC95-GF AT 命令手册 或者 +CME ERROR: 响应 +CGACT:(支持的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 70 秒 / 参数 整型。表示 PDP 上下文的激活状态。 0 去激活 1 激活 整型。指示某个 PDP 上下文的标识符(参考 AT+CGDCONT)。一次只能激活或去激 活 1 个。 错误码。参考第 6 章。 备注 1. 如果使能初始 PDP 上下文,启动时将自动定义=0 的上下文。 2. PLMN 搜索、附着和去附着时,不可执行该命令。 3. 当 UE 与核心网络都支持无 PDN 连接时,该命令可以断开最后一路 PDN 连接。 举例 AT+CGACT=0,1 OK AT+CGACT? +CGACT:1,0 OK AT+CGACT=? +CGACT:(0,1) OK 上海移远通信技术股份有限公司 29 / 169 BC28-F&BC95-GF AT 命令手册 2.14. AT+CIMI 请求国际移动用户识别码 该命令返回国际移动用户识别码(无双引号的字符串)。 该执行命令使 TA 返回,目的是允许 TE 识别附着到 MT 的 USIM 卡或 UICC 中的活动应用。 AT+CIMI 请求国际移动用户识别码 执行命令 AT+CIMI 响应 OK 测试命令 AT+CIMI=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 / 参数 字符串型。国际移动用户识别码(无双引号)。 错误码。参考第 6 章。 备注 开机后立即查询 IMSI 会失败,建议客户使用 AT+CPIN?命令返回+CPIN: READY 后再去查询 IMSI。 举例 AT+CIMI 460001357924680 OK 上海移远通信技术股份有限公司 30 / 169 BC28-F&BC95-GF AT 命令手册 2.15. AT+CGDCONT 定义 PDP 上下文 设置命令用来指定(本地)上下文指示参数对应的 PDP 上下文参数。因为 PCO 可包含需要加密 的信息,所以该命令也允许 TE 指定是否请求 ESM 信息的安全保护传输。UE 可能有其他原因使用 ESM 信 息的安全保护传输,例如需要转换 APN。测试命令的响应给出了可以同时处于定义状态的 PDP 上下文数量 范围。 对 EPS 而言,设置该命令后会建立 PDN 连接并建立相关的默认承载。 AT+CGDCONT=是设置命令的一种特殊形式,会使的值变成未定义。 如果使能初始 PDP 上下文,则在启动时自动定义=0 的上下文,可以使用 AT+CGDCONT 修改 =0 的参数。 查询命令返回每个已定义上下文的当前设置。 测试命令返回支持的参数的范围。如果 UE 支持多种 PDP 类型,每个的参数值范围会在 单独行返回。 AT+CGDCONT 定义 PDP 上下文 设置命令 响应 AT+CGDCONT=[,[, [,[,[,[,[,[,[,[,[,< 或者 securePCO>]]]]]]]]]]] +CME ERROR: 查询命令 响应 AT+CGDCONT? +CGDCONT:[,[,[,[,< d_comp>[,[,[,[ ,[,[,< NSLPI>[,]]]]]]]]]]] [...] OK 测试命令 若出现任何错误: ERROR 或者 +CME ERROR: 响应 上海移远通信技术股份有限公司 31 / 169 BC28-F&BC95-GF AT 命令手册 AT+CGDCONT=? 最大响应时间 特性说明 +CGDCONT:(支持的范围),(支持的列表),,, (支持的列表),(支持的列表),,,,,(支持的< NSLPI>列表),(支持的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 =0 的 PDP 上下文,深休眠唤醒后有效。其他 PDP 上下 文已激活后,深休眠唤醒有效;未激活时深休眠唤醒无效。 重启后只保存第 0 路的配置。 参数 整型。指示某个 PDP 上下文的标识符。这是 TE-UE 接口的本地参数,可以用在其 他 PDP 上下文相关的命令中。测试命令返回参数值的范围。 网络发起的 PDP 上下文的一些值会超出 AT+CGDCONT=?测试命令所列的 值的范围。 支持的值为 0~10。 当 AUTOCONNECT 设置为 TRUE 时,默认使用=0。 使能 BIP 时,不可将的值设置为 7。 字符串型。分组数据协议类型。 IP 网络协议(IETF STD 5) IPV6 网络协议,IPv6 IPV4V6 引入虚拟处理双 IP 堆栈 UE 功能 NONIP 无 IP 字符串型。用于选择 GGSN 或外部 PDN 的逻辑名称。值为空或省略时,将请求订 阅值。字符串的最大长度为 63 个字符。 字符串型。标识 MT 的 IP 地址(设置命令中该参数将被忽略)。 整型。控制 PDP 数据压缩。 0 关闭 1 打开 (制造商首选压缩) 2 V.42bis 3 V.44 整型。控制 PDP 头压缩。 0 关闭 1 打开(制造商首选压缩) 2 RFC 1144 [105](仅适用于 SNDCP) 3 RFC 2507 [107] 上海移远通信技术股份有限公司 32 / 169 BC28-F&BC95-GF AT 命令手册 4 RFC 3095 [108](仅只适用于 PDCP) 整型。为该 PDP 上下文请求的 NAS 信令优先级。 0 根据 UE 中配置的低优先级指示符的值激活此 PDP 上下文。 1 根据低优先级指示符设置为'NAS 信令低优先级 MS 未配置',激活此 PDP 上 下文。UE 使用 3GPP TS 24.301 和 3GPP TS 24.008 中提供的 NSLPI 信息。 整型。指定是否请求 PCO 的安全保护传输(适用于仅 EPS)。 0 不请求 PCO 的安全保护传输。 1 请求 PCO 的安全保护传输。 整型。控制 MT/TA 如何请求获取 IPv4 地址信息。 0 NAS 信令分配的 IPv4 地址 1 DHCP 分配的 IPv4 地址 整型。PDP 上下文激活请求类型,参见 3GPP TS 24.301(subclause 6.5.1.2)和 3GPP TS 24.008(subclause 10.5.6.17)。如果使能初始 PDP 上下文,则不允许 为紧急承载服务分配=0。根据 3GPP TS 24.008(subclause 4.2.4.2.2)和 subclause 4.2.5.1.4)和 3GPP TS 24.301(subclause 5.2.2.3.3 和 subclause 5.2.3.2.2)规定,须为紧急承载服务建立单独的 PDP 上下文。若紧急承载服务为激 活的上下文,则仅允许进行紧急呼叫,详情参见 3GPP TS 24.401(subclause 4.3.12.9)。 0 PDP 上下文用于新的 PDP 上下文的建立或从非 3GPP 接入网切换(MT 通过该 值决定 PDP 上下文用于新的 PDP 上下文的建立还是非 3GPP 接入网的切换) 1 PDP 上下文用于紧急承载服务 2 PDP 上下文用于新的 PDP 上下文建立 3 PDP 上下文用于非 3GPP 接入网的切换 整型。MT/TA 如何请求获取 P-CSCF 地址(请参阅 3GPP TS 24.229 附录 B 和附录 L)。 0 不受 AT+CGDCONT 影响的 P-CSCF 地址发现。 1 通过 NAS 信令选择 P-CSCF 地址 2 通过 DHCP 选择 P-CSCF 地址 整型。向网络指示 PDP 上下文是否仅用于 IM CN 子系统相关的信令。 0 UE 指示 PDP 上下文不仅用于 IM CN 子系统相关的信令 1 UE 指示 PDP 上下文仅用于 IM CN 子系统相关的信令 整型。为此 PDP 上下文请求的 NAS 信令。 0 指示将使用 MT 中配置的低优先级指示符的值激活该 PDP 上下文。 1 表示将使用低优先级指示符的值设置为'未为 NAS 信令低优先级 配置 MS'来激活此 PDP 上下文。 MT 使用 3GPP TS 24.301 和 3GPP TS 24.008 中指定提供的 NSLPI 信息。 错误码。参考第 6 章。 备注 1. 此 命 令 仅 支 持 参 数 、 、 、 、 、 和 。 2. 的值仅支持 0。的值仅支持 0 和 1。 上海移远通信技术股份有限公司 33 / 169 BC28-F&BC95-GF AT 命令手册 举例 AT+CGDCONT=? +CGDCONT:(0-10),('IP','NONIP','IPV6','IPV4V6'),,,(0),(0,1),,,,,(0,1),(0,1) OK 2.16. AT+CFUN 设置 UE 功能 该命令选择 UE 的功能等级。'全部功能'等级对应高级别的功率。'最小功能'对应低级别的功率。 查询命令返回的当前设置。 AT+CFUN 设置 UE 功能 设置命令 AT+CFUN=[,] 响应 OK 查询命令 AT+CFUN? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CFUN: OK 测试命令 AT+CFUN=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CFUN:(支持的列表),(支持的列表) OK 最大响应时间 若出现任何错误: ERROR 或者 +CME ERROR: 25 秒 上海移远通信技术股份有限公司 34 / 169 BC28-F&BC95-GF AT 命令手册 特性说明 见参数说明。 参数 整型。UE 功能等级。 0 最小功能 1 全部功能 整型。UE 重启。 0 在设置功率级别之前不重启 UE。该参数缺省时为默认值。 1 在设置功率级别之前重启 UE(暂不支持且被忽略)。 错误码。参考第 6 章。 举例 AT+CFUN=? +CFUN:(0,1),(0,1) OK AT+CFUN=1 OK AT+CFUN? +CFUN:1 OK 2.17. AT+CMEE 上报 MT 错误 该设置命令可以禁用或使能+CME ERROR:结果码,用于表示 MT 功能相关的错误。启用后,发 生 MT 相关错误时会返回+CME ERROR:最终结果码,而不仅是 ERROR。禁用后,当语法错误、无 效参数或 MT 功能相关错误时,会正常返回 ERROR。 查询命令返回参数的当前设置。 AT+CMEE 上报 UE 错误 设置命令 AT+CMEE= 响应 OK 若出现任何错误: ERROR 或者 上海移远通信技术股份有限公司 35 / 169 BC28-F&BC95-GF AT 命令手册 查询命令 AT+CMEE? 测试命令 AT+CMEE=? 最大响应时间 特性说明 +CME ERROR: 响应 +CMEE: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CMEE:(支持的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置不保存至 NVRAM。 参数 整型。表示错误模式。 0 禁用+CME ERROR: 结果码,使用 ERROR。 1 使能+CME ERROR: 结果码,使用数字格式错误码。 错误码。参考第 6 章。 2.18. AT+CCLK 设置或获取前日期和时间 一旦 UE 连接到网络,将自动设置时钟。执行设置命令前请执行命令 AT+NITZ=0。 查询命令返回时钟的当前设置。 上海移远通信技术股份有限公司 36 / 169 BC28-F&BC95-GF AT 命令手册 AT+CCLK 设置或获取当前日期和时间 设置命令 AT+CCLK= 响应 OK 查询命令 AT+CCLK? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CCLK: OK 测试命令 AT+CCLK=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置不保存至 NVRAM。 参数 字符串型。格式为 'yy/MM/dd,hh:mm:ss±zz',各字符分别表示年(最后两位数字)、月、 日、时、分、秒及时区(表示当地时间与 GMT 的时差,以 15 分钟为单位,范围为-96 ~ +96)。 例如,1994 年 5 月 6 日,22:10:00 GMT+8 相当于 '94/05/06,22:10:00+32'。 错误码。参考第 6 章。 备注 核心网络发送 EMM INFORMATION 前不会返回任何值。 举例 AT+CCLK='18/11/09,05:36:42+32' OK AT+CCLK? +CCLK:18/11/09,05:36:42+32 上海移远通信技术股份有限公司 37 / 169 BC28-F&BC95-GF AT 命令手册 OK AT+CCLK=? OK 2.19. AT+CPSMS 设置省电模式 该命令控制 UE 省电模式(PSM)参数的设置,可以用来控制 UE 是否应用 PSM。请参考 AT+CEREG 返回的 URC 查看激活时间值以及 E-UTRAN 分配给 UE 的扩展周期 TAU 值。 AT+CPSMS=2 是该命令的一种特殊形式,在这种形式下,将禁用 PSM,并删除已通过 AT+CPSMS 命令设置的所有参数值(若参数有默认值,则将其恢复为默认值)。 查询命令返回当前参数值。 AT+CPSMS 设置省电模式 设置命令 AT+CPSMS=[,,,[,]] 查询命令 AT+CPSMS? 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CPSMS:[,,,],[] OK 测试命令 AT+CPSMS=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CPSMS:(支持的列表),,,(支持的范围),(支持的范围) OK 若出现任何错误: ERROR 上海移远通信技术股份有限公司 38 / 169 BC28-F&BC95-GF AT 命令手册 最大响应时间 特性说明 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 字符串型。禁用或使能 UE 的 PSM。 0 禁用 PSM 1 启用 PSM 2 禁用 PSM 并删除 PSM 的所有参数,如果有默认参数,则重置为默认。 字符串型。8 位格式的 1 字节参数。表示请求的将在 E-UTRAN 分配给 UE 的扩展周期性 TAU 值(T3412),且被编码为 GPRS Timer 3 信息的一个 字节(octet 3),编码为位格式(例如,'01000111'等于 70 小时)。 第 5 位到第 1 位代表二进制编码定时器值。 第 5 位到第 1 位表示二进制编码定时器值。 第 6 位到第 8 位定义了定时器值的单位,定义如下: 位数 8 7 6 0 0 0 该值以 10 分钟的倍数递增 0 0 1 该值以 1 小时的倍数递增 0 1 0 该值以 10 小时的倍数递增 0 1 1 该值以 2 秒的倍数递增 1 0 0 该值以 30 秒的倍数递增 1 0 1 该值以 1 分钟的倍数递增 1 1 0 该值以 320 小时的倍数递增(备注) 1 1 1 该值表示定时器被停用 默认值为 10 小时。 字符串型。8 位格式的 1 字节参数。表示将分配给 UE 的请求激活时间值 (T3324),且被编码为 GPRS Timer 2 信息元素的一个字节(octet 3) ,编码为位格式(例如,'00100100'等于 4 分钟)。 第 5 位到第 1 位表示二进制编码定时器值。 第 6 位到第 8 位定义了 GPRS 定时器值的有效时间值的单位,定义如下: 位数 8 7 6 0 0 0 该值以 2 秒的倍数递增 0 0 1 该值以 1 分钟的倍数递增 0 1 0 该值以 6 分钟的倍数递增 1 1 1 表示定时器被停用的值 默认值为 10 秒。 错误码。参考第 6 章。 上海移远通信技术股份有限公司 39 / 169 BC28-F&BC95-GF AT 命令手册 备注 1. 该定时器值的单位仅适用于 T3412 扩展值 IE。如果以完整性保护消息的形式接收,那么将以 320 小 时的倍数解读接收到的值,否则,将以 1 小时的倍数解读。 2. AT+CPSMS?查询命令目前只能获取模式值 0 和 1。 举例 AT+CPSMS=1,,,01000011,01000011 OK AT+CPSMS? +CPSMS:1,,,01000011,01000011 OK AT+CPSMS=? +CPSMS:(0,1,2),,,(00000000-11111111),(00000000-11111111) OK 2.20. AT+CEDRXS 设置 eDRX 设置命令控制 UE 的 eDRX 参数的设置,用于控制是否要应用 eDRX,以及每种指定接入技术类型的 请求 eDRX 值。 当=2,设置命令设置当网络提供的 eDRX 参数改变时 URC +CEDRXP:[,[,[,]]] 的上报。 AT+CEDRXS=3 为该命令的一种特殊形式。此形式的命令将禁用 eDRX,并删除已通过 AT+CEDRXS 命令设置的所有参数值(若参数有默认值,则将其恢复为默认值)。 查询命令返回的每个定义值的当前设置。 AT+CEDRXS 设置 eDRX 设置命令 响应 AT+CEDRXS=[,[, OK ]] 若出现任何错误: ERROR 或者 +CME ERROR: 查询命令 响应 AT+CEDRXS? +CEDRXS:, 上海移远通信技术股份有限公司 40 / 169 BC28-F&BC95-GF AT 命令手册 测试命令 AT+CEDRXS=? 最大响应时间 特性说明 OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CEDRXS:(支持的列表),(支持的列表), (支持的范围) OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。启用或禁用 eDRX。该参数适用于所有指定的接入技术类型,即的最 新设置将对的所有指定值生效。 0 禁用 eDRX 1 启用 eDRX 2 启用 eDRX 并启用 URC: +CEDRXP:[,[,[,]]] 3 禁用 eDRX 并删除 eDRX 的所有参数 整型。接入技术类型。 0 接入技术未使用 eDRX,该参数值仅在 URC 中使用 5 E-UTRAN(NB-S1 模式) 字符串型。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 E-UTRAN eDRX 周期长度持续时间 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 上海移远通信技术股份有限公司 41 / 169 BC28-F&BC95-GF AT 命令手册 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串型。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 E-UTRAN eDRX 周期长度持续时间 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串型。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 寻呼时间窗口时长 0 0 0 0 2.56 秒 0 0 0 1 5.12 秒 0 0 1 0 7.68 秒 0 0 1 1 10.24 秒 0 1 0 0 12.8 秒 0 1 0 1 15.36 秒 0 1 1 0 17.92 秒 0 1 1 1 20.48 秒 1 0 0 0 23.04 秒 1 0 0 1 25.6 秒 1 0 1 0 28.16 秒 1 0 1 1 30.72 秒 1 1 0 0 33.28 秒 1 1 0 1 35.84 秒 1 1 1 0 38.4 秒 1 1 1 1 40.96 秒 错误码。参考第 6 章。 举例 AT+CEDRXS=1,5,'0101' OK AT+CEDRXS? 上海移远通信技术股份有限公司 42 / 169 +CEDRXS:5,'0101' OK AT+CEDRXS=? +CEDRXS:(0,1,2,3),(5),('0000'-'1111') OK AT+CEDRXS=0,5 OK BC28-F&BC95-GF AT 命令手册 2.21. AT+CEDRXRDP 读取动态 eDRX 参数 当 eDRX 用于 UE 当前注册的小区时,该执行命令返回、、 和。 如果 UE 当前注册的小区未使用 eDRX,则返回=0。 AT+CEDRXRDP 读取动态 eDRX 参数 执行命令 AT+CEDRXRDP 响应 +CEDRXRDP:[,[,[,]]] OK 测试命令 AT+CEDRXRDP=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 / 参数 整型。接入技术类型。AT+CEDRXS 用于指定接入技术类型与请求的 eDRX 值之间的关系。 0 接入技术未使用 eDRX。该参数值仅在 URC 中使用。 5 E-UTRAN(NB-S1 模式) 上海移远通信技术股份有限公司 43 / 169 BC28-F&BC95-GF AT 命令手册 字符串型。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 E-UTRAN eDRX 周期长度 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串型。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 E-UTRAN eDRX 周期长度 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串型。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 寻呼时间窗口长度 0 0 0 0 2.56 秒 0 0 0 1 5.12 秒 0 0 1 0 7.68 秒 0 0 1 1 10.24 秒 0 1 0 0 12.8 秒 0 1 0 1 15.3 6 秒 0 1 1 0 17.92 秒 0 1 1 1 20.48 秒 1 0 0 0 23.04 秒 1 0 0 1 25.6 秒 1 0 1 0 28.16 秒 1 0 1 1 30.72 秒 1 1 0 0 33.28 秒 1 1 0 1 35.84 秒 1 1 1 0 38.4 秒 上海移远通信技术股份有限公司 44 / 169 1 1 1 1 40.96 秒 错误码。参考第 6 章。 举例 AT+CEDRXRDP +CEDRXRDP:5,'0010','1110','0101' OK AT+CEDRXRDP=? OK BC28-F&BC95-GF AT 命令手册 2.22. AT+CEER 扩展错误报告 该执行命令让 UE 返回一行或多行由 UE 制造商确定的信息文本,为 UE 用户提供一份错误原 因的扩展报告,错误类型如下: ⚫ 上一次呼叫释放失败 ⚫ 上一次 PDP 上下文激活失败 ⚫ PDP 上下文去激活失败 通常,文本将由单行组成,包含网络给出文本格式原因信息。 AT+CEER 扩展错误报告 设置命令 AT+CEER 响应 +CEER: OK 测试命令 AT+CEER=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 该命令立即生效。 上海移远通信技术股份有限公司 45 / 169 BC28-F&BC95-GF AT 命令手册 参数 扩展错误报告。信息文本(包括行终止符在内)的字符总数不超过 2041。文本不包含 0或 OK。 错误码。参考第 6 章。 举例 AT+CEER +CEER:EMM_CAUSE_EPS_AND_NON_EPS_SERVICES_NOT_ALLOWED OK AT+CEER=? OK 2.23. AT+CIPCA 初始 PDP 上下文激活 设置命令用于控制 UE 在是否有 PDN 连接的情况下连接到 E-UTRAN。当=3 时适用于 E-UTRAN RATs。改变的值不会引起 PDP 上下文去激活。 当=1 时,表示在没有 PDN 连接的情况下进行 EPS 附着。 查询命令会返回命令的当前设置情况。 AT+CIPCA 初始 PDP 上下文激活 设置命令 AT+CIPCA=[,] 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 查询命令 AT+CIPCA? 响应 +CIPCA:[,] OK 若出现任何错误: ERROR 或者 +CME ERROR: 上海移远通信技术股份有限公司 46 / 169 BC28-F&BC95-GF AT 命令手册 测试命令 AT+CIPCA=? 最大响应时间 特性说明 响应 +CIPCA:(支持的列表),(支持的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。附着时激活 PDP 上下文。 3 不改变当前设置 整型。表示 EPS 附着是否有 PDN 连接。缺省值为 0。 0 表示 EPS 附着时有 PDN 连接 1 表示 EPS 附着时没有 PDN 连接 错误码。参考第 6 章。 举例 AT+CIPCA=3 OK AT+CIPCA=? +CIPCA:(3),(0,1) OK 2.24. AT+CGAPNRC APN 速率控制 命令用于查询与对应上下文标识符关联的 APN 速率控制参数(参考 3GPP TS 24.008)。如果 参数省略,则返回所有已激活 PDP 上下文的 APN 速率控制参数。 AT+CGAPNRC APN 速率控制 执行/设置命令 AT+CGAPNRC[=] 响应 [+CGAPNRC:[,[,[,]]]] 上海移远通信技术股份有限公司 47 / 169 测试命令 AT+CGAPNRC=? 最大响应时间 特性说明 BC28-F&BC95-GF AT 命令手册 [+CGAPNRC:[,[,[,]]]] [...]]]] OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CGAPNRC:(与已激活上下文关联的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。指示某个 PDP 上下文的标识符(参考 AT+CGDCONT)。 整型。表示当达到最大上行速率时是否允许发送附加异常报告。 0 不允许以最大速率发送(Additional exception reports) 1 允许以最大速率发送(Additional exception reports) 整型。用来指定最大上行速率的时间单位。 0 不受限 1 分钟 2 小时 3 天数 4 周 整型。指定每个上行时间单位限制 UE 发送的最大消息数。时间 单位以上行时间单位表示,如果上行时间单位设为'不受限'(即 0),那么 UE 可以发送的最大上行数据数量将不受限制。 错误码。参考第 6 章。 举例 AT+CGAPNRC 上海移远通信技术股份有限公司 48 / 169 +CGAPNRC:0,0,0 OK AT+CGAPNRC=? +CGAPNRC:(0) OK BC28-F&BC95-GF AT 命令手册 2.25. AT+CGCONTRDP 查询 PDP 上下文的动态参数 执行命令返回带有上下文标识符的活跃非辅助 PDP 上下文相关信息:、、 、 、 、 和 。 ⚫ 如果 UE 指示 2 个以上 P-CSCF 服务器的 IP 地址或 2 个以上 DNS 服务器的 IP 地址,则每个 将返回多行信息。 ⚫ 如果 UE 具有双栈功能,则每个至少返回两行信息:一行带有 IPv4 参数,紧接在后的一行 带有 IPv6 参数。如果具有双栈功能的 UE 指示两个以上 P-CSCF 或 DNS 服务器的 IP 地址,则将 返回多对这样的信息行。 ⚫ 如果省略参数,将会返回所有活跃的非辅助 PDP 上下文的相关信息。 测试命令会响应与活跃的非辅助上下文相关的列表。 AT+CGCONTRDP 查询 PDP 上下文的动态参数 执行/设置命令 AT+CGCONTRDP[=] 响应 +CGCONTRDP:[,[,[,[,[,[,]]]]]] OK 测试命令 AT+CGCONTRDP=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CGCONTRDP:(与已激活上下文关联的列表) OK 若出现任何错误: ERROR 上海移远通信技术股份有限公司 49 / 169 最大响应时间 特性说明 或者 +CME ERROR: 5秒 / BC28-F&BC95-GF AT 命令手册 参数 整型。用于指定某个非辅助 PDP 上下文。此参数是 TE-MT 接口的本地参数,用于 与 PDP 上下文相关的其他命令(参考 AT+CGDCONT 命令)。 整型。承载的标识,例如 EPS 中的 EPS 承载。 字符串型。用于选择 GGSN 或外部 PDN 的逻辑名称。 字符串型。表示 MT 的 IP 地址和子网掩码。 该字符串为点分隔数字(0~255)参数的形式,如下所示: IPv4 的形式为'a1.a2.a3.a4.m1.m2.m3.m4'或 IPv6 的形式为'a1.a2.a3.a4.a5.a6.a7.a8.a9.a10.a11.a12.a13.a14.a 15.a16.m1.m2.m3.m4.m5.m6.m7.m8.m9.m10.m11.m12.m13.m14. m15.m16'。 字符串型。表示 MT 的网关地址。该字符串为点分隔数字(0~255)参数的形式。 字符串型。表示主 DNS 服务器的 IP 地址。 字符串型。表示备用 DNS 服务器的 IP 地址。 整型。错误码。参考第 6 章。 备注 只 有 当 =IP 或 =IPV6 时 ( 请 参 考 AT+CGDCONT 命 令 ) , 才 能 显 示 和。 举例 AT+CGCONTRDP +CGCONTRDP:0,,'CMCC.MNC004.MCC460.GPRS',,,211.136.20.203,211.136.17.107 OK AT+CGCONTRDP=? +CGCONTRDP:(0) OK 上海移远通信技术股份有限公司 50 / 169 BC28-F&BC95-GF AT 命令手册 2.26. AT+CGAUTH 定义 PDP 上下文鉴权参数 该设置命令允许 TE 为 PDP 上下文指定鉴权参数,该 PDP 上下文由 PDP 上下文激活和修改过程中使 用的(本地)上下文识别参数标识。由于参数与 AT+CGDCONT 命令中使用的参数相同,因此 AT+CGAUTH 命令实际上是 AT+CGDCONT 命令的扩展。 查询命令会返回每个已定义上下文的当前设置。 AT+CGAUTH 定义 PDP 上下文鉴权参数 设置命令 响应 AT+CGAUTH=[,[,[,]]] 若出现任何错误: ERROR 或者 查询命令 +CME ERROR: 响应 AT+CGAUTH? [+CGAUTH:,,,] [+CGAUTH:,,,] [...] OK 测试命令 AT+CGAUTH=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CGAUTH:(支持的范围),(支持的列表),(支 持的长度范围),(支持的长度范围) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 上海移远通信技术股份有限公司 51 / 169 BC28-F&BC95-GF AT 命令手册 参数 整型。指示某个 PDP 上下文的标识符(见 AT+CGDCONT 命令)。 整型。表示 PDP 上下文使用的鉴权协议。 0 无,用于指示此 PDP 上下文不使用任何鉴权协议,如果之前已指定,则删除用户名 和密码 1 PAP 2 CHAP 字符串型。表示访问 IP 网络的用户名。参数为 1 或 2 时,需要参数。 最大长度为 20 字节。 字符串型。表示访问 IP 网络的密码。字符串最大长度为 20 个字节。 错误码。参考第 6 章。 备注 当前不支持 CHAP 鉴权协议。 举例 AT+CGAUTH? +CGAUTH:0,1,'1234','1234' OK AT+CGAUTH=? +CGAUTH:(0-10),(0,1),(0-20),(0-20) OK 2.27. AT+CNMPSD 指示无更多 PS 数据 执行命令指示没有应用程序期望进行数据交换。该命令可用于普通和 Modem 兼容模式。 AT+CNMPSD 指示无更多 PS 数据 执行命令 AT+CNMPSD 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 上海移远通信技术股份有限公司 52 / 169 测试命令 AT+CNMPSD=? 最大响应时间 特性说明 响应 OK 5秒 / 参数 错误码。参考第 6 章。 举例 AT+CNMPSD OK AT+CNMPSD=? OK BC28-F&BC95-GF AT 命令手册 2.28. AT+CPIN 输入 PIN 码 此设置命令在 UE 可以操作之前,向 UE 发送必要的密码(如 USIM PIN 码和 USIM PUK 码等)。如 果需要输入两次 PIN 码,TA 将自动重复 PIN 码。如果没有待处理的 PIN 请求,此命令不会对 UE 实施任 何操作并且会响应错误+CME ERROR: 。 如果需要的 PIN 码是 SIM PUK,则需要第二个 PIN 参数。第二个 PIN 用于替换 SIM 中的旧 PIN。 查询命令会返回字母数字字符串,表示是否需要某些密码。 AT+CPIN 输入 PIN 码 设置命令 AT+CPIN=[,] 响应 OK 查询命令 AT+CPIN? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CPIN: OK 上海移远通信技术股份有限公司 53 / 169 BC28-F&BC95-GF AT 命令手册 测试命令 AT+CPIN=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 该命令立即生效。 保存机制与(U)SIM 卡有关;参数配置不保存至 NVRAM。 参数 字符串型。表示密码。 字符串型。表示请求的代码是 PUK 时所需的新密码。 READY SIM PIN 表示 UE 无密码输入请求 表示 USIM PIN 密码请求 SIM PUK 表示 SIM PUK 密码请求 SIM PUK BLOCKED 如果在输入错误的 PUK 10 次后 SIM 卡被锁定,则在开 机时主动上报 错误码。参考第 6 章。 备注 当前不支持 PIN2 和 PUK2。 举例 AT+CPIN=1234 OK AT+CPIN? +CPIN: READY OK AT+CPIN=? OK 上海移远通信技术股份有限公司 54 / 169 BC28-F&BC95-GF AT 命令手册 2.29. AT+CPINR 查询剩余 PIN 的重试次数 设置命令和执行命令会使 UE 返回其密码的剩余 PIN 重试次数。 AT+CPINR 查询剩余 PIN 重试次数 设置命令 AT+CPINR= 响应 [+CPINR: ,[,]] OK 执行命令 AT+CPINR 若出现任何错误: ERROR 或者 +CME ERROR: 响应 [+CPINR: ,[,]] [+CPINR: ,[,]] OK 测试命令 AT+CPINR=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 / 参数 整型。每个 PIN 的剩余重试次数。 整型。每个 PIN 的默认/初始重试次数。 PIN 的类型,除了 READY 之外,所有在 AT+CPIN 命令参数列出的值。 错误码。参考第 6 章。 备注 1.只有当 AT+CFUN=1 时,才能执行 AT+CPINR 的设置命令和执行命令。 2.当前不支持 PIN2 和 PUK2。 上海移远通信技术股份有限公司 55 / 169 举例 AT+CPINR='SIM PUK' +CPINR: SIM PUK,10,10 OK AT+CPINR +CPINR: SIM PIN,3,3 +CPINR: SIM PUK,10,10 OK BC28-F&BC95-GF AT 命令手册 2.30. AT+CCHO 打开逻辑信道 命令 AT+CCHO=使 MT 返回,TE 端通过此参数识别当前选定的 UICC 分配的 信道,此信道依附于 ME。当前选定的 UICC 会打开一个新的逻辑信道;选择由命令收到的标识 的应用,并返回一个会话 ID。ME 应将 TE 和 UICC 之间的通信限制在该逻辑信道上。 在执行命令 AT+CRLA 或 AT+CGLA 时,也将使用此。 AT+CCHO 打开逻辑信道 设置命令 AT+CCHO= 响应 OK 测试命令 AT+CCHO=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 上海移远通信技术股份有限公司 56 / 169 BC28-F&BC95-GF AT 命令手册 参数 字符串型。十六进制格式。UICC 中所有可选应用都用 DF Name 编码。 整型。会话 ID。用于指定一个使用逻辑通道机制的智能卡(例如:(U)SIM、WIM 和 ISIM) 上一个特定应用。 错误码。参考第 6 章。 备注 APDU 命令中 CLASS 字节包含逻辑信道号,故发送到 UICC 的所有 APDU 命令都会包含逻辑信道号。因 此需由 MT 端负责管理 ADPU CLASS 字节中的逻辑信道部分,并确保选择的逻辑信道和执行命令返回的 相关联。 举例 AT+CCHO=? OK 2.31. AT+CCHC 关闭逻辑信道 该命令用来关闭 ME 与当前 UICC 之间的通信会话,ME 需关闭之前打开的逻辑信道,关闭后 TE 端无 法再次通过此逻辑信道发送命令。接收该命令后,UICC 会关闭逻辑信道。 AT+CCHC 关闭逻辑信道 设置命令 AT+CCHC= 响应 OK 测试命令 AT+CCHC=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 上海移远通信技术股份有限公司 57 / 169 BC28-F&BC95-GF AT 命令手册 参数 整型。会话 ID。用于指定一个使用逻辑通道机制的智能卡(例如:(U)SIM、WIM、ISIM) 上一个特定应用。 错误码。参考第 6 章。 举例 AT+CCHC=1 OK AT+CCHC=? OK 2.32. AT+CGLA 通用 UICC 逻辑信道访问 设置命令发送到 MT 端,然后由 MT 端发送到所选择的 UICC。同样,UICC 会通过 MT 端返回到 TA。 该命令允许通过 TE 上的远程应用程序直接控制当前选择的 UICC。然后,TE 应在 GSM/UMTS 指定的 框架内处理 UICC 信息。 虽然通用 UICC 逻辑信道访问命令 AT+CGLA 允许 TE 控制 UICC-MT 接口,但是逻辑上不需要从 TA/MT 外部访问 UICC-MT 接口的一些功能。此外,出于安全原因,不应在 TA/MT 之外处理 GSM 网络鉴权。因 此,无论 AT+CGLA 是锁定的还是解锁的,都不能在 TE 中使用 AT+CGLA 在 GSM 上下文中运行 GSM 算 法命令或鉴权命令。这不应禁止 TE 在其他安全上下文中发送身份鉴权命令。 例如,当参数 P2 为 0(GSM 安全上下文)时,TA/MT 应禁止将鉴权命令发送到 USIM 应用程序。USIM 鉴权命令详细信息,请参考 3GPP TS 31.102。 AT+CGLA 通用 UICC 逻辑信道访问 设置命令 AT+CGLA=,, 响应 +CGLA: , OK 测试命令 AT+CGLA=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 上海移远通信技术股份有限公司 58 / 169 BC28-F&BC95-GF AT 命令手册 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。会话 ID。用于指定一个使用逻辑通道机制的智能卡(例如:(U)SIM、WIM、ISIM) 上一个特定应用。 整型。在或中发送给 TE 的字符长度(是命令或响应实际长 度的两倍) MT 端以 3GPP TS 31.101 所述的格式发送至 UICC 的命令(十六进制字符格式,参考 3GPP TS 27.007 中的 +CSCS)。 UICC 发送到 MT 端针对的响应,格式与 3GPP TS 31.101 中描述一致(十 六进制字符格式,参考 3GPP TS 27.007 中的 +CSCS)。 错误码。参考第 6 章。 备注 与访问受限 UICC 命令 AT+CRLA 相比,AT+CGLA 的定义允许 TE 对 UICC-MT 接口进行更多控制。接 口的锁定和解锁可以通过特殊的值完成,也可以由 TA/MT 自动完成(通过解析 参数)。如果 TE 应用程序未在某个超时值中使用解锁命令(或者不发送使自动解锁的), 则 MT 可以释放锁定。 举例 AT+CGLA=? OK 2.33. AT+CRSM 受限 SIM 卡访问 通过使用该命令访问 SIM 数据库,相对于使用通用 SIM 访问 AT+CSIM 而言,该命令更简便也更受限 制。 执行命令向 MT 发送 SIM及其所需参数。如果 SIM 卡安装在当前选定的卡槽中,则 MT 在内部处理所有 SIM-MT 接口锁定和文件选择例程。作为对命令的响应,MT 发送实际 SIM 信息参数和响 上海移远通信技术股份有限公司 59 / 169 BC28-F&BC95-GF AT 命令手册 应数据。当命令无法传递给 SIM 时,可能会返回 MT 错误结果代码+CME ERROR,若 SIM 中执行命令失 败,会在参数和中上报。 对于 SIM 发出的命令请求和 MT 内部 GSM/UMTS 应用程序发出的命令请求之间的协调取决于实现。 但是 TE 应注意 GSM/UMTS 应用程序命令对 TE 命令的优先级。 AT+CRSM 受限 SIM 卡访问 设置命令 响应 AT+CRSM=[,[,<P +CRSM: ,[,] 1>,,[,[,]]]] OK 测试命令 AT+CRSM=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应: OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 保存机制与(U)SIM 有关;参数配置不保存至 NVRAM。 参数 、、 MT 传递给 SIM 的命令。参考 3GPP TS 51.011。 176 READ BINARY 178 READ RECORD 192 GET RESPONSE 214 UPDATE BINARY 220 UPDATE RECORD 242 STATUS 整型。SIM 上基本数据文件的标识符。除=242(STATUS)之外, 对于每个命令来说该参数为必要参数。 整型。MT 传递给 SIM 的参数。除 GET RESPONSE 和 STATUS 之外,对于其 他命令必须指定这些参数。请参考 3GPP TS 51.011。 十六进制格式。应写入 SIM 的信息。参考 3GPP TS 27.007 中的 +CSCS。 字符串型。十六进制格式。包含 SIM/UICC 基础文件路径(例如 SIM 和 UICC 情况下的'7F205F70'),仅用于'从 MF 选取路径'模式。 上海移远通信技术股份有限公司 60 / 169 BC28-F&BC95-GF AT 命令手册 、 整型。来自 SIM 关于实际命令执行的信息。在命令执行成功或失败时,这些参 数都会传递给 TE。 字符串型。十六进制格式。成功完成上一次发出命令的响应(请参考 3GPP TS 27.007 中的 +CSCS)。STATUS 和 GET RESPONSE 返回数据。该数据提供 有关当前基本数据字段的信息。该信息包括文件类型及其大小(参考 3GPP TS 51.011)。在 READ BINARY,READ RECORD 或 RETRIEVE DATA 命令之后, 将返回所请求的数据。成功执行 UPDATE BINARY,UPDATE RECORD 或 SET DATA 命令后,不会返回。 错误码。参考第 6 章。 备注 1. 在执行实际命令之前,MT 在内部执行选择目标文件所需的所有命令。 2. 有效文件标识符的范围取决于实际 SIM,可查看 3GPP TS 51.011 中定义。可选文件可能不显示。 3. 由于有效的基本文件标识符在所有有效的专用文件标识符上可能不是唯一的,所以表示在模 糊文件标识符的情况下的目标 UICC/SIM 目录路径。对于该规范的早期版本,或者省略了, 则根据具体实现情况选择。 举例 AT+CRSM=242 +CRSM: 144,0 OK AT+CRSM=? OK 2.34. AT+CSIM 通用 SIM 卡访问 设置命令向 MT 发送,然后 MT 发送至 SIM 卡。同样,MT 发送 SIM 卡至 TA。 该命令允许通过 TE 上的远程应用直接控制安装在当前所选卡槽中的 SIM 卡。然后,TE 应在 GSM/UMTS 指定的框架内处理 UICC 信息。 AT+CSIM 通用 SIM 卡访问 设置命令 AT+CSIM=, 响应 +CSIM: , OK 上海移远通信技术股份有限公司 61 / 169 BC28-F&BC95-GF AT 命令手册 测试命令 AT+CSIM=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 保存机制与(U)SIM 卡有关;参数配置不保存至 NVRAM。 参数 整型。在或中发送给 TE 的字符长度(命令或响应的实际 长度的两倍)。 由 MT 以 3GPP TS 51.011 中描述的格式传送给 SIM 卡的命令(十六进制字符 格式;参考 3GPP TS 27.007 中的 +CSCS)。 响应 SIM 卡以 3GPP TS 51.011(十六进制字符格式;参考 3GPP TS 27.007 中的 +CSCS)描述的格式传递给 MT 的命令。 错误码。参考第 6 章。 举例 AT+CSIM=10,'00B2010426' +CSIM: 4,6981 OK AT+CSIM=? OK 2.35. AT+CCIOTOPT CIoT 优化配置 设置命令控制 UE 在 ATTACH REQUEST 和 TRACKING AREA UPDATE REQUEST 消息中指示支持 和优先选择的 CIOT EPS 优化配置。该命令还可用来上报网络支持的 CIoT EPS 优化配置。支持 CIoT 功能 的 UE 可以支持控制面(control plane)或用户面(user plane)的 CIoT EPS 优化配置,或两者都可支持 (请参考 3GPP TS 24.301, subclause 9.9.3.34)。基于应用特性,UE 可能优先选择注册用于控制面的 CIoT EPS 优化配置或用于用户面的 CIoT EPS 优化配置(请参考 3GPP TS 24.301, sub-clause 9.9.3.0B)。 上海移远通信技术股份有限公司 62 / 169 BC28-F&BC95-GF AT 命令手册 此外,网络可支持控制面 CIoT EPS 优化配置或用户面 CIoT EPS 优化配置或两者都可支持(参考 3GPP TS 24.301, subclause 9.9.3.12A)。 设置命令还用于设置开启或关闭 URC +CCIOTOPTI: ,该 URC 用于表示 网络所支持的 CIoT EPS 优化配置。 AT+CCIOTOPT CIoT 优化配置 设置命令 响应 AT+CCIOTOPT=[,[[,]]] 若出现任何错误: ERROR 或者 查询命令 +CME ERROR: 响应 AT+CCIOTOPT? +CCIOTOPT:,, OK 测试命令 AT+CCIOTOPT=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CCIOTOPT:(支持的列表),(支持的列表),(支持的列表) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后仍有效;参数配置自动保存至 NVRAM。 参数 整型。启用或禁用 URC +CCIOTOPTI 的上报。 0 禁用 URC 1 启用 URC 上海移远通信技术股份有限公司 63 / 169 BC28-F&BC95-GF AT 命令手册 3 禁用上报并将 CIoT EPS 优化配置的参数重置为默认值 整型。表示 UE 对 CIoT EPS 优化配置的支持情况。 0 不支持 1 支持控制面 CIoT EPS 优化 3 支持控制面和用户面 CIoT EPS 优化 整型。表示 UE 对 CIoT EPS 优化的偏好。 0 没有偏好 1 偏好控制面 CIoT EPS 优化 2 偏好用户面 CIoT EPS 优化 整型。表示网络支持的 CIoT EPS 优化。 0 不支持 1 支持控制面 CIoT EPS 优化 2 支持用户面 CIoT EPS 优化 3 支持控制面 CIoT EPS 优化和用户面 CIoT EPS 优化 错误码。参考第 6 章。 备注 1. 仅支持 1 和 3。 2. 仅支持 1 和 2。 3. 仅当为 3 时,才能将设置为 2。 举例 AT+CCIOTOPT=1,3,2 OK AT+CCIOTOPT? +CCIOTOPT:1,3,2 OK AT+CCIOTOPT=? +CCIOTOPT:(0,1,3),(1,3),(1,2) OK 上海移远通信技术股份有限公司 64 / 169 BC28-F&BC95-GF AT 命令手册 3 SMS 相关命令(27.005) 3.1. AT+CSMS 选择短信服务 设置命令用来选择短信服务,它会返回 UE 支持的短信类型:表示被叫消息,表示主叫消 息,表示广播类型消息。如果 ME 不支持所选的服务,将会返回最终结果码+CME ERROR:。 查询命令会返回当前服务设置中支持的消息类型。 AT+CSMS 选择短信服务 设置命令 AT+CSMS= 响应 +CSMS:,, OK 查询命令 AT+CSMS? 若出现任何错误: ERROR 或者 +CMS ERROR: 响应 +CSMS:,,, OK 测试命令 AT+CSMS=? 若出现任何错误: ERROR 或者 +CMS ERROR: 响应 +CSMS:(支持的列表) OK 若出现任何错误: ERROR 或者 +CMS ERROR: 上海移远通信技术股份有限公司 65 / 169 BC28-F&BC95-GF AT 命令手册 最大响应时间 特性说明 5秒 该命令立即生效。 深休眠唤醒后无效;不保存到 NVRAM。 参数 整型。表示消息服务。 0 表示 3GPP TS 23.040 和 3GPP TS 23.041 1 表示 3GPP TS 23.040 和 3GPP TS 23.041,相应的命令描述中提到了参数 设置为 1 的要求 整型。被叫消息。 0 不支持 1 支持 整型。主叫消息。 0 不支持 1 支持 整型。广播类型消息。 0 不支持 1 支持 错误码。参考第 6 章。 举例 AT+CSMS=1 +CSMS:1,1,0 OK AT+CSMS? +CSMS:1,1,1,0 OK AT+CSMS=? +CSMS:(0,1) OK 3.2. AT+CSCA 设置短信服务中心地址 设置命令用于更新 SMSC 地址,通过该地址发送主叫短信。在文本模式下,可以使用设置命令进行设 置。在 PDU 模式下,仅当 SMSC 地址的长度编码为 =0 时,可使用同一命令进行设置。 上海移远通信技术股份有限公司 66 / 169 BC28-F&BC95-GF AT 命令手册 AT+CSCA 设置短信服务中心地址 设置命令 AT+CSCA=[,] 响应 OK 查询命令 AT+CSCA? 若出现任何错误: ERROR 或者 +CMS ERROR: 响应 +CSCA:[,] OK 测试命令 AT+CSCA=? 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CMS ERROR: 响应 OK 5秒 该命令立即生效。 深休眠唤醒后无效;不保存到 NVRAM(会保存到 SIM 卡)。 参数 表示 3GPP TS 24.011RP SC 地址字符串格式的地址-值字段。BCD 数字(或 GSM 7 位 默认字母字符)被转换为当前选择的 TE 字符集的字符(参考 3GPP TS 27.007 中的 +CSCS);地址类型由给出。 表示 3GPP TS 24.011RP SC 地址整数格式的八位字节地址类型。当(参考 3GPP TS 27.005)的第一个字符为'+(IRA 43)'时,此参数默认值为 145,否则默认值为 129。 错误码。参考第 6 章。 举例 AT+CSCA=358501234567,145 OK AT+CSCA? +CSCA:'358501234567',145 OK AT+CSCA=? OK 上海移远通信技术股份有限公司 67 / 169 BC28-F&BC95-GF AT 命令手册 3.3. AT+CMGS 发送短消息 该命令可以从 TE 向网络发送消息(SMS-SUBMIT)。发送成功后,短消息参考值将被返回给 TE。在接收到非请求发送状态报告结果码时,使用该取值可进行短消息识别。 AT+CMGS 发送短消息 测试命令 AT+CMGS=? 设置命令 文本模式(AT+CMGF=1 1)): AT+CMGS=[,] 响应 OK 响应 > 返回 > 后输入文本,按'Ctrl'+'Z'发送短消息,按'Esc' 退出发送 +CMGS: OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CMS ERROR: 120 秒,受网络状态影响 该命令立即生效。 深休眠唤醒后无效;不保存到 NVRAM。 参数 字符串型。3GPP 23.040 中的 TP-Destination-Address 地址——取值字段;将 BCD 数 值(或缺省 GSM 字母格式的字符)转换为当前选择的 TE 字符集中的字符(请参考 3GPP TS 27.007 中的 +CSCS);给定的地址类型 整型。3GPP 24.011 中的 TP-Destination-Address 中的'类型—地址'字段(当 的首字符为+(IRA 43)时,缺省值为 145,否则缺省值为 129) 整型。表示 3GPP TS 23.040 中的 TP-Message-Reference(消息参考)。 错误码。参考第 6 章。 举例 AT+CMGS='15021012496' > This is a test from Quectel +CMGS: 247 OK //输入文本短消息内容,按'Ctrl'+'Z'发送短消息;按'Esc'退 出发送 上海移远通信技术股份有限公司 68 / 169 BC28-F&BC95-GF AT 命令手册 备注 1) AT+CMGF 用于在文本和 PDU 模式之间切换 SMS 格式,BC28-F 和 BC95-GF 模块短信功能目前只支 持文本模式,不支持 PDU 模式,不支持 AT+CMGF 命令。 上海移远通信技术股份有限公司 69 / 169 BC28-F&BC95-GF AT 命令手册 4 一般命令 4.1. AT+NRB 重启 UE 该命令用来重启 UE。执行此命令之后,会有短暂的延迟,UE 才会重启。在执行该命令期间不再处理 其他 AT 命令。 须注意,由于 AT 命令的处理终止于该命令,因此最后不会返回 OK 表示命令行已处理完成。重启之前 不会发出确认消息。 AT+NRB 重启 UE 执行命令 AT+NRB 最大响应时间 特性说明 响应 REBOOTING 5秒 / 举例 AT+NRB REBOOTING 4.2. AT+NUESTATS 查询 UE 统计信息 该命令用来获取最新的操作统计信息。该命令可以采用一个可选参数来显示不同的统计数据集。 =RADIO 和执行命令 AT+NUESTATS 一样会提供默认值集,=ALL 将打印所有数据。 AT+NUESTATS 查询 UE 统计信息 设置命令 AT+NUESTATS= 响应 NUESTATS:,,[,<value[,[...]]] [...NUESTATS:,,[,<value[,[...]]]] 上海移远通信技术股份有限公司 70 / 169 执行命令 AT+NUESTATS 设置命令 查询具体无线信息 AT+NUESTATS=RADIO 上海移远通信技术股份有限公司 BC28-F&BC95-GF AT 命令手册 OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 Signal power: Total power: TX power: TX time: RX time: Cell ID: ECL: SNR: EARFCN: PCI: RSRQ: OPERATOR MODE: CURRENT BAND: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 NUESTATS:RADIO,Signal power: NUESTATS:RADIO,Total power: NUESTATS:RADIO,TX power: NUESTATS:RADIO,TX time: NUESTATS:RADIO,RX time: NUESTATS:RADIO,Cell ID: 71 / 169 设置命令 查询前八个小区信息 AT+NUESTATS=CELL 设置命令 查询吞吐量 AT+NUESTATS=THP BC28-F&BC95-GF AT 命令手册 NUESTATS:RADIO,ECL: NUESTATS:RADIO,SNR: NUESTATS:RADIO,EARFCN: NUESTATS:RADIO,PCI: NUESTATS:RADIO,RSRQ: NUESTATS:RADIO,OPERATOR MODE: NUESTATS:RADIO,CURRENT BAND: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 NUESTATS:CELL,,,,,,, [...NUESTATS:CELL,,,,,,,] OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 NUESTATS:THP,RLC UL, NUESTATS:THP,RLC DL, NUESTATS:THP,MAC UL, NUESTATS:THP,MAC DL, 上海移远通信技术股份有限公司 72 / 169 设置命令 查询误块率信息 AT+NUESTATS=BLER 设置命令 查询动态存取使用情况 AT+NUESTATS=APPSMEM 上海移远通信技术股份有限公司 BC28-F&BC95-GF AT 命令手册 OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 NUESTATS:BLER,RLC UL BLER, NUESTATS:BLER,RLC DL BLER, NUESTATS:BLER,MAC UL BLER, NUESTATS:BLER,MAC DL BLER, NUESTATS:BLER,Total TX bytes, NUESTATS:BLER,Total RX bytes, NUESTATS:BLER,Total TX blocks, NUESTATS:BLER,Total RX blocks, NUESTATS:BLER,Total RTX blocks, NUESTATS:BLER,Total ACK/NACK RX, OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 NUESTATS:APPSMEM,Current Allocated: NUESTATS:APPSMEM,Total Free: NUESTATS:APPSMEM,Max Free: 73 / 169 BC28-F&BC95-GF AT 命令手册 测试命令 AT+NUESTATS=? 最大响应时间 特性说明 NUESTATS:APPSMEM,Num Allocs: NUESTATS:APPSMEM,Num Frees: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 NUESTATS:(支持的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 20 秒 / 参数 不带引号的字符串型。表示要显示的数据类型。支持的值有: RADIO 具体无线信息 CELL 前 8 个小区信息 BLER 误块率信息 THP 吞吐量 APPSMEM 动态内存使用情况 ALL 所有信息。输出每种数据类型的正确值。 如果=RADIO,将返回默认值集: 信号功率。 总功率。 当前强发功率等级。 自上次重启以来总的 TX 时间。单位:毫秒。 自上次重启以来总的 RX 时间。单位:毫秒。 上一个 SIB1 的小区 ID。 上一个 ECL 的值。 上一个 SNR 的值。 上一个 EARFCN 的值。 上海移远通信技术股份有限公司 74 / 169 BC28-F&BC95-GF AT 命令手册 上一个 PCI 的值。 参考信号接收质量。 部署模式。 0 未知模式 1 带内不同的 PCI 模式 2 带内相同的 PCI 模式 3 保护带模式 4 独立模式 服务小区的频段。 如果 =CELL 表示前 8 个小区信息,返回参数形式为:,,,,,, 绝对射频频道号。 物理小区 ID。 1 表示当前服务小区。 参考信号接收功率。 参考信号接收质量。 接收信号强度指示。 信噪比。 如果 =BLER,返回的参数类型如下: RLC 层误块率(上行),整数百分比。 RLC 层误块率(下行),整数百分比。 MAC 层误块率(上行),整数百分比。 MAC 层误块率(下行),整数百分比。 传输的总字节数。 接收的总字节数。 发送的传输块。 接收的传输块。 重新传输的传输块。 收到 ACK/NACK 消息的总数。 如果=THP,返回的参数类型如下: 整数。RLC 层吞吐量(上行)。单位:bps。 整数。RLC 层吞吐量(下行)。单位:bps。 整数。MAC 吞吐量(上行)。单位:bps。 整数。MAC 吞吐量(下行)。单位:bps。 如果=APPSMEM,表示动态内存使用情况,返回的参数类型如下: 当前已分配的内存大小。 总的剩余内存大小。 最大的剩余内存大小。 分配内存的次数。 剩余内存的次数。 错误码。参考第 6 章。 上海移远通信技术股份有限公司 75 / 169 BC28-F&BC95-GF AT 命令手册 备注 1. 执行命令 AT+NUESTATS 的响应结果与设置命令 AT+NUESTATS=RADIO 的响应结果相同,但没 有命令和变量前缀(即'NUESTATS:RADIO')。 2. TX time 和 RX time 在三种情况下会清零,分别是 UE 开机、RRC 去激活、OOS 脱网。 举例 AT+NUESTATS Signal power:-842 Total power:-780 TX power:100 TX time:859 RX time:26543 Cell ID:137262770 ECL:0 SNR:226 EARFCN:3734 PCI:105 RSRQ:-108 OPERATOR MODE:4 CURRENT BAND:8 OK AT+NUESTATS=CELL NUESTATS:CELL,3734,105,1,-842,-108,-780,226 OK AT+NUESTATS=THP NUESTATS:THP,RLC UL,100 NUESTATS:THP,RLC DL,98 NUESTATS:THP,MAC UL,103 NUESTATS:THP,MAC DL,100 OK AT+NUESTATS=BLER NUESTATS:BLER,RLC UL BLER,10 NUESTATS:BLER,RLC DL BLER,5 NUESTATS:BLER,MAC UL BLER,8 上海移远通信技术股份有限公司 76 / 169 NUESTATS:BLER,MAC DL BLER,3 NUESTATS:BLER,Total TX bytes,1080 NUESTATS:BLER,Total RX bytes,900 NUESTATS:BLER,Total TX blocks,80 NUESTATS:BLER,Total RX blocks,80 NUESTATS:BLER,Total RTX blocks,100 NUESTATS:BLER,Total ACK/NACK RX,100 OK BC28-F&BC95-GF AT 命令手册 4.3. AT+NEARFCN 指定搜索频点 该设置命令提供锁定特定 E-UTRAN 绝对射频信道号(EARFCN)机制,若需要,还可锁定物理小区 ID。解除锁定或者 UE 重启之前,所有操作都将锁定到此载波上。若指定 EARFCN 或 PCI 不存在,则 UE 将进入停止服务模式。 AT+NEARFCN 指定搜索频点 设置命令 响应 AT+NEARFCN=,[,] 若出现任何错误: ERROR 或者 测试命令 +CME ERROR: 响应 AT+NEARFCN=? OK 最大响应时间 5秒 特性说明 该命令立即生效。 深休眠唤醒后有效;参数配置不保存至 NVRAM。 参数 整型。指定搜索类型并定义提供的参数。 0 锁定到指定的 EARFCN 整型。待搜索的 EARFCN。范围:0~65535。 上海移远通信技术股份有限公司 77 / 169 BC28-F&BC95-GF AT 命令手册 整型。E-UTRAN 物理小区 ID。十六进制格式。范围:0~1F7。 错误码。参考第 6 章。 举例 AT+NEARFCN=0,2506,AB OK 4.4. AT+NBAND 设置支持的频段 该命令用于设置待使用的频段。测试命令返回硬件支持的所有频段。 AT+NBAND 设置支持的频段 设置命令 响应 AT+NBAND=[,[,[…]]] OK 查询命令 AT+NBAND? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NBAND:[,[,[…]]] OK 测试命令 AT+NBAND=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NBAND:(支持的列表) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 25 秒 该命令立即生效。 深休眠唤醒后仍有效;参数配置自动保存至 NVRAM。 上海移远通信技术股份有限公司 78 / 169 BC28-F&BC95-GF AT 命令手册 参数 整型。十进制格式。频段。当前仅支持 B3、B5 和 B8。 错误码。参考第 6 章。 备注 AT+NBAND=必须在 AT+CFUN=0 时执行。 举例 AT+NBAND=? +NBAND:(3,5,8) OK AT+NBAND? +NBAND:5,8,3 OK 4.5. AT+NCONFIG 配置 UE 行为 该命令用于配置某些方面的 UE 行为。它的参数包含一个功能和一个控制该功能操作的值。 AT+NCONFIG 配置 UE 行为 设置命令 响应 AT+NCONFIG=, OK 查询命令 AT+NCONFIG? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NCONFIG:, [+NCONFIG:,] […] OK 若出现任何错误: ERROR 或者 上海移远通信技术股份有限公司 79 / 169 BC28-F&BC95-GF AT 命令手册 测试命令 AT+NCONFIG=? 最大响应时间 特性说明 +CME ERROR: 响应 +NCONFIG:(,(支持的列表)) [+NCONFIG:(,(支持的范围))] […] OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令重启后生效。 深休眠唤醒后有效,参数配置自动保存 NVRAM。 参数 字符串型。待配置的 UE 功能。 AUTOCONNECT CELL_RESELECTION ENABLE_BIP MULTITONE CELL_RESELECTION NAS_SIM_POWER_SAVING_ENABLE RELEASE_VERSION IPV6_GET_PREFIX_TIME NB_CATEGORY RAI HEAD_COMPRESS CONNECTION_REESTABLISHMENT TWO_HARQ PCO_IE_TYPE T3324_T3412_EXT_CHANGE_REPORT UE 开机或重启后是否自动尝试连接网络。若 启用自动连接功能,将设置 AT+CFUN=1 并 从 USIM 中读取 PLMN,并使用网提供的 APN。 是否重选小区。 启用/禁用 BIP。 多子载波 小区重选 USIM 卡省电模式。 发布版本。仅支持版本 R13 和 R14。当 UE 使 用 功 率 等 级 6 时 应 不 能 设 置 为 13 。 设置获取 IPv6 前缀的最长时间。范围: 0~65535。单位:秒。0 表示立即获取 IPv6 前缀,65535 表示不获取 IPv6 前缀。 配置 NB-IoT 类别。目前只支持 1 和 2。 启用/禁用 RAI。 头压缩。 重建连接。 双 HARQ PCO 类型。请求 PCO 和 EPCO。 启用/禁用当和/或 的 NAS 计时器更改时, AT+CEREG=5 的 URC 显示。 上海移远通信技术股份有限公司 80 / 169 BC28-F&BC95-GF AT 命令手册 NON_IP_NO_SMS_ENABLE 'True'表示 为 Non-IP 时,不 支持 SMS。 SUPPORT_SMS 启用/禁用 SMS。 HPPLMN_SEARCH_ENABLE 启用/禁用 HPPLMN 搜索。 配置指定 UE 功能。与 对应的值如下: AUTOCONNECT True 上电开机后自动触发注册 False 上电开机后需要执行 AT+CGA TT=1 触发触发 CELL_RESELECTION True 使能小区重选 False 禁止小区重选 ENABLE_BIP True 使能 BIP False 禁用 BIP MULTITONE True 使能多 Tone 功能 NAS_SIM_POWER_SAVING_ENABLE False True 禁用能多 Tone 功能 使能 SIM 节能 False 禁用 SIM 节能,SIM 卡不会休 眠 RELEASE_VERSION 13 版本 13 14 版本 14,此时支持会 R14 的一 些特性,并使能 Cat NB2 IPV6_GET_PREFIX_TIME 0~65534 65535 指定获取 IPv6 前缀的时延 不获取 IPv6 前缀。 整型。范围:0~65535;单位 秒;默认值:15。 NB_CATEGORY 1 NB-Catgory 1 2 NB-Catgory 2,仅在 R14 下支 持 RAI True 支持 R14 RAI,需要 CNMPSD False 不支持 R14 RAI HEAD_COMPRESS True 使能头压缩 False 禁用头压缩 CONNECTION_REESTABLISHMENT True 使能 RRC 重建 False 禁用 RRC 重建 TWO_HARQ True 使能 2-HARQ,该特性在 R14 环 境下会提升峰值速率 False 禁用 2-HARQ,如果使能该特 性,在 R14 环境下会提升峰值 速率 PCO_IE_TYPE PCO 使用 PCO 模式 EPCO 使用 EPCO 模式 T3324_T3412_EXT_CHANGE_REPORT True 使能相关时间改变报告 NON_IP_NO_SMS_ENABLE False True 禁用相关时间改变报告 为 Non-IP 时, 上海移远通信技术股份有限公司 81 / 169 BC28-F&BC95-GF AT 命令手册 SUPPORT_SMS HPPLMN_SEARCH_ENABLE 错误码。参考第 6 章。 True False True False 不支持 SMS。 支持短信功能 不支持短信功能 使能 HPPLMN 搜索 去使能 HPPLMN 搜索 备注 只 有 AT+CFUN=0 时 , 才 能 设 置 MULTITONE 、 NAS_SIM_POWER_SAVING_ENABLE 、 RELEASE_VERSION 、 SYNC_TIME_PERIOD 、 NB_CATEGORY 、 RAI 、 HEAD_COMPRESS 、 TWO_HARQ、PCO_IE_TYPE、HPPLMN_SEARCH_ENABLE 和 SUPPORT_SMS。 举例 AT+NCONFIG=? +NCONFIG:(AUTOCONNECT,(FALSE,TRUE)) +NCONFIG:(CELL_RESELECTION,(FALSE,TRUE)) +NCONFIG:(ENABLE_BIP,(FALSE,TRUE)) +NCONFIG:(MULTITONE,(FALSE,TRUE)) +NCONFIG:(NAS_SIM_POWER_SAVING_ENABLE,(FALSE,TRUE)) +NCONFIG:(RELEASE_VERSION,(13,14)) +NCONFIG:(IPV6_GET_PREFIX_TIME,(0-65535)) +NCONFIG:(NB_CATEGORY,(1,2)) +NCONFIG:(RAI,(FALSE,TRUE)) +NCONFIG:(HEAD_COMPRESS,(FALSE,TRUE)) +NCONFIG:(CONNECTION_REESTABLISHMENT,(FALSE,TRUE)) +NCONFIG:(TWO_HARQ,(FALSE,TRUE)) +NCONFIG:(PCO_IE_TYPE,(PCO,EPCO)) +NCONFIG:(T3324_T3412_EXT_CHANGE_REPORT,(FALSE,TRUE)) +NCONFIG:(NON_IP_NO_SMS_ENABLE,(FALSE,TRUE)) +NCONFIG:(SUPPORT_SMS,(FALSE,TRUE)) +NCONFIG:(HPPLMN_SEARCH_ENABLE,(FALSE,TRUE)) OK 4.6. AT+NCCID 识别 USIM 卡 该执行和查询命令均可从 USIM 卡中读取 ICCID。若无 USIM 卡或者 USIM 卡不可读,则执行该命令 后会报错且不会返回任何 USIM 卡数据。 上海移远通信技术股份有限公司 82 / 169 BC28-F&BC95-GF AT 命令手册 AT+NCCID 识别 USIM 卡 执行命令 AT+NCCID 查询命令 AT+NCCID? 测试命令 AT+NCCID=? 最大响应时间 特性说明 响应 +NCCID: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NCCID: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 / 参数 字符串型。USIM 卡识别码。 错误码。参考第 6 章。 举例 AT+NCCID +NCCID:44123456789012345678 OK AT+NCCID? +NCCID:44123456789012345678 OK 上海移远通信技术股份有限公司 83 / 169 BC28-F&BC95-GF AT 命令手册 4.7. AT+NPOWERCLASS 设置频段和功率等级的映射 该命令用于设置频段和功率等级的映射。该查询命令返回频段和功率等级的所有映射。 AT+NPOWERCLASS 设置频段和功率等级的映射 设置命令 响应 AT+NPOWERCLASS=, OK 若出现任何错误: ERROR 或者 查询命令 +CME ERROR: 响应 AT+NPOWERCLASS? +NPOWERCLASS:, […] OK 测试命令 AT+NPOWERCLASS=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NPOWERCLASS:(支持的列表),(支持的列表) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令重启后生效。 深休眠唤醒后有效;参数配置自动保存到 NVRAM。 参数 整型。频段,作为映射的关键。 整型。频段的功率等级。当前仅支持级别 3、5 和 6;单位:dBm。只有当无线处于 非活动状态时(AT+CFUN=0 将强制模块进入非活动状态)才能设置该参数。 功率等级 3 5 6 上海移远通信技术股份有限公司 84 / 169 BC28-F&BC95-GF AT 命令手册 最大发射功率 23 20 14 错误码。参考第 6 章。 备注 1. 仅当 AT+NCONFIG 中=RELEASE_VERSION,且设置为 14 时,方可被设 置为 6。 2. 不允许 Power Class 6 与 Power Class 3 或 Power Class 5 混合设置。 4.8. AT+NPSMR 省电模式状态上报 设 置 命 令 用 于 控 制 URC +NPSMR 的 显 示 。 若 =1 , 功 率 模 式 发 生 改 变 时 , 则 上 报 URC +NPSMR:。 查询命令返回当前配置。若=0,返回+NPSMR:;若=1,返回+NPSMR:,。 AT+NPSMR 省电模式状态上报 设置命令 响应 AT+NPSMR= OK 查询命令 AT+NPSMR? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NPSMR:[,] OK 测试命令 AT+NPSMR=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NPSMR:(支持的列表) OK 若出现任何错误: ERROR 或者 上海移远通信技术股份有限公司 85 / 169 BC28-F&BC95-GF AT 命令手册 最大响应时间 特性说明 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置不保存至 NVRAM。 参数 整型。启用/禁用 URC。 0 禁用 URC 1 启用 URC +NPSMR: 整型。UE 的功率模式。 0 正常模式 1 省电模式 错误码。参考第 6 章。 4.9. AT+NPTWEDRXS 设置 PTW 和 eDRX 设置命令用于控制 UE 是否应用 PTW 和 eDRX,以及各指定接入技术类型请求的 PTW 和 eDRX 值。 当=2 并且网络提供的 PTW 和 eDRX 参数发生变化时,设置命令还用于控制相关 URC 的显示。 AT+NPTWEDRXS=3 为该命令的特殊形式。在此特殊形式中,将禁用 PTW 和 eDRX,并且命令中所 有参数的数据将被删除。 查询命令返回的当前设置。 测试命令以复合值的形式返回支持的和访问技术的取值范围以及请求的 PTW 和请求的 eDRX 值。 AT+NPTWEDRXS 设置 PTW 和 eDRX 设置命令 响应 AT+NPTWEDRXS=,[,[,]] OK 若出现任何错误: ERROR 或者 查询命令 +CME ERROR: 响应 AT+NPTWEDRXS? +NPTWEDRXS:,,[,[,]] OK 若出现任何错误: ERROR 或者 +CME ERROR: +NPTWEDRXS:(支持的列表),(支持的列 表),(支持的范围),(支 持的范围) OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。启用或禁用 UE 中请求的 PTW 和 eDRX。该参数适用于所有指定类型的接入技术, 即 的最新设置将对所有指定的 值生效。当设置为 0 并 且没有或时,则会 将省略值设置为无效值,如 0x00。 0 禁用请求的 PTW 和 eDRX 1 启用请求的 PTW 和 eDRX 2 启用请求的 PTW 和 eDRX,并且启用 URC: +NPTWEDRXP:[,[,[,[,]]]] 3 禁用 eDRX 并移除 eDRX 的所有参数。 整型。接入技术的类型。该参数用于指定接入技术类型与请求的 eDRX 值之间的关系。 5 E-UTRAN(NB-S1 模式) 字符串型。请求的 PTW 周期值。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 PTW 长度 0 0 0 0 2.56 秒 0 0 0 1 5.12 秒 上海移远通信技术股份有限公司 87 / 169 BC28-F&BC95-GF AT 命令手册 0 0 1 0 7.68 秒 0 0 1 1 10.24 秒 0 1 0 0 12.8 秒 0 1 0 1 15.36 秒 0 1 1 0 17.92 秒 0 1 1 1 20.48 秒 1 0 0 0 23.04 秒 1 0 0 1 25.6 秒 1 0 1 0 28.16 秒 1 0 1 1 30.72 秒 1 1 0 0 33.28 秒 1 1 0 1 35.84 秒 1 1 1 0 38.4 秒 1 1 1 1 40.96 秒 字符串型。请求的 eDRX 周期值。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 E-UTRAN eDRX 周期长度 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串型。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 E-UTRAN DRX 周期长度 0 0 1 0 20.48 秒 0 0 1 1 40.96 秒 0 1 0 1 81.92 秒 1 0 0 1 163.84 秒 1 0 1 0 327.68 秒 1 0 1 1 655.36 秒 1 1 0 0 1310.72 秒 1 1 0 1 2621.44 秒 1 1 1 0 5242.88 秒 1 1 1 1 10485.76 秒 字符串型。4 位格式的半字节参数。NB-S1 模式。 位数 4 3 2 1 PTW 长度 上海移远通信技术股份有限公司 88 / 169 BC28-F&BC95-GF AT 命令手册 0 0 0 0 2.56 秒 0 0 0 1 5.12 秒 0 0 1 0 7.68 秒 0 0 1 1 10.24 秒 0 1 0 0 12.8 秒 0 1 0 1 15.36 秒 0 1 1 0 17.92 秒 0 1 1 1 20.48 秒 1 0 0 0 23.04 秒 1 0 0 1 25.6 秒 1 0 1 0 28.16 秒 1 0 1 1 30.72 秒 1 1 0 0 33.28 秒 1 1 0 1 35.84 秒 1 1 1 0 38.4 秒 1 1 1 1 40.96 秒 错误码。参考第 6 章。 4.10. AT+NPIN PIN 管理 该设置命令用于验证、更改、启用、禁用或解锁 PIN。执行完 PIN 命令后,将收到 URC。 USIM PIN 和 USIM PUK 是指 UICC 上所选应用程序的 PIN。例如,在 E-UTRAN 上下文中,当前选定 UICC 上的所选应用程序应为 USIM,而 USIM PIN 则表示所选 USIM 的 PIN。有关 UICC 应用选择的更多 详细信息,请参考 3GPP TS 31.101。 AT+NPIN PIN 管理 设置命令 响应 AT+NPIN=, OK [,] +NPIN: 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 保存机制与(U)SIM 有关;参数配置不保存至 NVRAM。 上海移远通信技术股份有限公司 89 / 169 BC28-F&BC95-GF AT 命令手册 参数 ,, 整型。PIN 操作模式。 PIN 操作模式 0 验证 PIN 码 1 更改 PIN 码 2 启用 PIN 码 3 禁用 PIN 码 4 解锁 PIN 码 参数随 的设置而变化。 当为 0、2 和 3 时,该参数为 。 当为 1 时,该参数为 。 当为 4 时,该参数为 。 参数随的设置而变化。 当为 0、2 和 3 时,参数被省略。 当为 1 时,该参数为。 当为 4 时,该参数为。 字符串型。十进制格式。应与来自 MT 用户接口设备指定密码或 者 AT+NPIN=1,,相同。为设备指定的密码 相同。是新密码。最小长度:4;最大长度:8;单位:字节。 字符串型。十进制格式。字符串长度:8;单位:字节。 字符串型。结果。 OK ERROR PIN disabled ERROR PIN blocked ERROR wrong PIN ERROR wrong format ERROR 整型。十进制格式。剩余的 PIN 重试次数。如果无剩余重试次数,则 PIN 被锁定。再次使用 PIN 之前,需要输入 AT+NPIN=4,,。 错误码。参考第 6 章。 举例 AT+NPIN=0,29102394 OK +NPIN:OK 4.11. AT+NCSEARFCN 清除存储的频点 该命令用于清除存储的频点。 上海移远通信技术股份有限公司 90 / 169 BC28-F&BC95-GF AT 命令手册 AT+NCSEARFCN 执行命令 AT+NCSEARFCN 清除存储的频点 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 AT+CFUN=0 的模式下配置,切换为 AT+CFUN=1 后生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 错误码。参考第 6 章。 备注 该命令必须在 AT+CFUN=0 的模式下配置,切换为 AT+CFUN=1 后生效。 举例 AT+NCSEARFCN OK 4.12. AT+NITZ 设置时间更新模式 该命令用于设置时间更新模式。查询命令会返回 UE 中的当前时间更新模式。如果由于 UE 发生错误而 导致设置失败,则返回+CME ERROR:。 AT+NITZ 设置时间更新模式 设置命令 响应 AT+NITZ= OK 若出现任何错误: ERROR 或者 +CME ERROR: 上海移远通信技术股份有限公司 91 / 169 查询命令 AT+NITZ? 测试命令 AT+NITZ=? 最大响应时间 特性说明 参数 举例 AT+NITZ=1 OK AT+NITZ? +NITZ:1 OK AT+NITZ=? +NITZ:(0,1) OK BC28-F&BC95-GF AT 命令手册 响应 +NITZ: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NITZ:(支持的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置不保存至 NVRAM。 整型。时间更新模式。 0 通过本地时间更新时间 1 通过 NITZ 更新时间 错误码。参考第 6 章。 上海移远通信技术股份有限公司 92 / 169 BC28-F&BC95-GF AT 命令手册 4.13. AT+NLOGLEVEL 设置日志级别 该命令用于设置日志级别。 AT+NLOGLEVEL 设置日志级别 设置命令 AT+NLOGLEVEL=, 查询命令 AT+NLOGLEVEL? 测试命令 AT+NLOGLEVEL=? 最大响应时间 特性说明 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NLOGLEVEL:, OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NLOGLEVEL:(支持的列表),(支持的列表) OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令重启后生效。 深休眠唤醒后有效;参数配置保存至 NVRAM。 参数 字符串型。请求的核。 APPLICATION 字符串型。需要的日志级别。 VERBOSE NORMAL WARNING 上海移远通信技术股份有限公司 93 / 169 BC28-F&BC95-GF AT 命令手册 ERROR NONE 错误码。参考第 6 章。 举例 AT+NLOGLEVEL=? +NLOGLEVEL:(APPLICATION),(VERBOSE,NORMAL,WARNING,ERROR,NONE) OK AT+NLOGLEVEL? +NLOGLEVEL:APPLICATION,VERBOSE OK 4.14. AT+QPLMNS 触发 PLMN 搜索 设置命令用于当 UE 处于无服务状态时触发 PLMN 搜索;若 UE 处于服务状态,执行该命令后返回 +CME ERROR: 。 查询命令返回当前 PLMN 搜索状态,及 PLMN 搜索定时器的重置时间。 AT+QPLMNS 触发 PLMN 搜索 测试命令 响应 AT+QPLMNS=? OK 查询命令 AT+QPLMNS? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +QPLMNS:[,] OK 执行命令 AT+QPLMNS 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 若出现任何错误: 上海移远通信技术股份有限公司 94 / 169 最大响应时间 特性说明 BC28-F&BC95-GF AT 命令手册 ERROR 或者 +CME ERROR: 5秒 / 参数 整型。NAS 层 PLMN 的状态。 0 未激活,未进行 PLMN 搜索 1 搜索中,正在进行 PLMN 搜索 2 已选定,已搜索到 PLMN 3 处于 OOS 状态,UE 处于无服务状态并启动 PLMN 搜索定时器 整型。OOS PLMN 定时器剩余时间。单位:秒。仅当=3 时有效。 错误码。参考第 6 章。 4.15. AT+QNBIOTRAI 设置 NB-IoT 释放辅助指示 该命令用于设置 NB-IoT 释放辅助指示。若=1,UE 将发送 RAI 标识并携带 1 字节的数据 至网络。 AT+QNBIOTRAI 设置 NB-IoT 释放辅助指示 测试命令 AT+QNBIOTRAI=? 响应 +QNBIOTRAI:(支持的列表) 设置命令 AT+QNBIOTRAI= OK 响应 OK 最大响应时间 特性说明 若有任何错误: ERROR 或者 +CME ERROR: 5秒 / 上海移远通信技术股份有限公司 95 / 169 参数 BC28-F&BC95-GF AT 命令手册 整型。释放辅助指示信息。 0 无可用信息(或不采用其他选项) 1 TE 将仅发送 1 个上行数据包,无下行数据包 错误码。参考第 6 章。 4.16. AT+QCFG 配置系统功能参数 该命令用于配置系统的功能参数。 AT+QCFG 配置系统功能参数 测试命令 AT+QCFG=? 响应 +QCFG: 'epco',(支持的列表) +QCFG: 'NcellMeas',(支持的列表) +QCFG: 'rohc',(支持的列表) +QCFG: 'DataInactTimer',(支持的列表) +QCFG: 'OOSScheme',(支持的范围) +QCFG: 'logbaudrate',(支持的范围) +QCFG: 'slplocktimes',(支持的范围) +QCFG: 'faultaction',(支持的列表) +QCFG: 'Sib14Acc',(支持的列表) OK 查询命令 AT+QCFG? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +QCFG: 'epco', +QCFG: 'NcellMeas', +QCFG: 'rohc', +QCFG: 'DataInactTimer', +QCFG: 'OOSScheme', +QCFG: 'logbaudrate', +QCFG: 'slplocktimes', +QCFG: 'faultaction', +QCFG: 'Sib14Acc ', OK 上海移远通信技术股份有限公司 96 / 169 BC28-F&BC95-GF AT 命令手册 设置命令 配置/查询是否启用 EPCO AT+QCFG='epco'[,] 设置命令 配置/查询是否开启 APN 自动激活 AT+QCFG='NcellMeas'[,] 设置命令 配置/查询是否支持 ROHC AT+QCFG='rohc'[,] 若出现任何错误: ERROR 或者 +CME ERROR: 响应 若省略可选参数,则查询当前配置: +QCFG: 'epco', OK 若指定可选参数,则配置是否启用 EPCO: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 若省略可选参数,则查询当前配置: +QCFG: 'NcellMeas', OK 若指定可选参数,则配置是否开启邻区测量: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 若省略可选参数,则查询当前配置: +QCFG: 'rohc', OK 若指定可选参数,则配置是否支持 ROHC: OK 若出现任何错误: ERROR 或者 上海移远通信技术股份有限公司 97 / 169 BC28-F&BC95-GF AT 命令手册 +CME ERROR: 设置命令 配置/查询 UE 侧去激活定时器的值 AT+QCFG='DataInactTimer'[,] 响应 若省略可选参数,则查询当前配置: +QCFG: 'DataInactTimer', OK 若指定可选参数,则配置 UE 侧去激活定时器的值: OK 设置命令 配置/查询 OOS 状态下的搜网间隔 AT+QCFG='OOSScheme'[,] 若出现任何错误: ERROR 或者 +CME ERROR: 响应 若省略可选参数,则查询当前配置: +QCFG: 'OOSScheme', OK 若指定可选参数,则配置 OOS 状态下的搜网间隔: OK 设置命令 配置/查询抓取日志的波特率 AT+QCFG='logbaudrate'[,] 若出现任何错误: ERROR 或者 +CME ERROR: 响应 若省略可选参数,则查询当前配置: +QCFG: 'logbaudrate', OK 若指定可选参数,则配置抓取日志的波特率: OK 设置命令 配置/查询锁休眠持续时间 AT+QCFG='slplocktimes'[,] 若出现任何错误: ERROR 或者 +CME ERROR: 响应 若省略可选参数,则查询当前配置: +QCFG: 'slplocktimes', 上海移远通信技术股份有限公司 98 / 169 BC28-F&BC95-GF AT 命令手册 设置命令 配置/查询配置 faultaction 行为模式 AT+QCFG='faultaction'[,] 设置命令 配置/查询配置 Sib14Acc 行为模式 AT+QCFG=' Sib14Acc '[,] 最大响应时间 特性说明 OK 若指定可选参数,则配置锁休眠持续时间: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 若省略可选参数,则查询当前配置: +QCFG: ' faultaction ', OK 若指定可选参数,则配置 faultaction 行为: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 若省略可选参数,则查询当前配置: +QCFG: ' Sib14Acc ', OK 若指定可选参数,则配置 Sib14Acc 行为: OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 AT+QCFG='faultaction'立即生效,其余重启生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 上海移远通信技术股份有限公司 99 / 169 参数 BC28-F&BC95-GF AT 命令手册 字符串型。可配置的功能项。 'epco' 配置扩展协议配置项 'NcellMeas' 配置是否开启邻区测量 'rohc' 配置是否支持 ROHC 'DataInactTimer' 设置 UE 侧去激活定时器的值,单位:秒 'OOSScheme' 配置 OOS 状态下的搜网间隔 'logbaudrate' 配置抓取日志的波特率 'slplocktimes' 配置锁休眠持续时间 'faultaction' 配置 hardfault 行为模式 'Sib14Acc' 配置被 SIB14 禁止接入后是否仍允许立即接入 整型。功能的配置值 描述 'epco' 0 禁用 EPCO,即使用 PCO 1 使能 EPCO 'NcellMeas' 0 关闭邻区测量 1 打开邻区测量 'rohc' 0 不支持 ROHC 1 支持 ROHC 'DataInactTimer' 0 去激活定时器无效。范围:15~255,默认值:60; 单位:秒 'OOSScheme' 0 OOS 状态下 PLMN 搜索间隔为 30 秒、1 分钟和 2 分钟 1 OOS 状态下 PLMN 搜索间隔为 5 分钟、10 分钟和 15 分钟 2 OOS 状态下 PLMN 搜索间隔为 10 分钟、30 分钟 和 60 分钟 3 在 30 秒后进行一次搜网,之后停止搜网。直到 AT+QPLMNS 重新触发搜网 'logbaudrate' 921600~6000000 抓取日志的波特率 'slplocktimes' 0~30 锁休眠持续时间。默认值:0;单位:秒 'faultaction' 0 将完整的异常信息转储到 Flash 和 EPAT 工具中, 然后陷入无限循环 1 打印必要的异常信息然后重置模块 2 转储完整的异常信息到 Flash 然后重置模块 3 将完整的异常信息转储到 Flash 和 EPAT 工具中, 然后重置模块 4 直接重置模块。建议在批量生产阶段将此值设置为 该值 'Sib14Acc' 0 被 SIB14 禁止接入后不允许立即接入 1 被 SIB14 禁止接入后允许立即接入 错误码。参考第 6 章。 上海移远通信技术股份有限公司 100 / 169 BC28-F&BC95-GF AT 命令手册 备注 1. ='DataInactTimer'只能在 AT+CFUN=0 时设置。 2. 该命令部分参数在不同的模块软件版本中默认值可能有所不同,使用该命令时,需要检查下当前设置 值。 4.17. AT+CTZR 设置时区上报 该设置命令控制时区变化事件上报。启用上报后,一旦时区发生改变,UE 将返回 URC +CTZV:、 +CTZE:,,[]或+CTZEU:,,[]。如果网络提供时区,则 UE 会在网络注册 时提供时区。若因 UE 错误导致设置失败,则返回+CME ERROR:。 查询命令返回 UE 当前已设置的报告设置。 AT+CTZR 设置时区上报 测试命令 AT+CTZR=? 响应 +CZTR:(支持的范围) OK 设置命令 AT+CTZR= 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 查询命令 AT+CTZR? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +CTZR: OK 若出现任何错误: ERROR 或者 +CME ERROR: 上海移远通信技术股份有限公司 101 / 169 BC28-F&BC95-GF AT 命令手册 最大响应时间 特性说明 参数 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置不保存至 NVRAM。 整型。是否启用 URC 上报以及可启用上报的 URC 类型。 0 禁用时区变化事件 URC 上报 1 启用时区变化通过 URC +CTZV:上报 2 启用扩展时区和本地时间通过 URC +CTZE:,,[]上报 3 启用扩展时区和世界时通过 URC +CTZEU:,,[]上报 字符串型。本地时区(当地时间与 GMT 的时差以 15 分钟为单位)加上夏令时的总 和。格式为'±zz',长度固定,即两位整数,范围:-48 ~ +56。为保持两位,范 围在-9 ~ +9 之间的数字均以 0 开头,例如'-09'、'+00'和'+09'。 整型。是否包含夏令时调整。 0 不包含夏令时调整 1 包括增加 1 小时(相当于中的 4 个 15 分钟)的夏令时调整 2 包括增加 2 小时(相当于中的 8 个 15 分钟)的夏令时调整 字符串型。当地时间。格式为'YYYY/MM/DD,hh:mm:ss',以整数形式分别表示年 (YYYY)、月(MM)、日(DD)、时(hh)、分(mm)和秒(ss)。如果核 心网提供世界时间,UE 可从网络传输时区信息时提供的信息中得出本地时间,并 以 URC 上报扩展时区和本地时间。 字符串型。世界时间。格式为 YYYY/MM/DD,hh:mm:ss,以整数形式分别表示年 (YYYY)、月(MM)、日(DD)、时(hh)、分(mm)和秒(ss)。如果核 心网提供世界时间,在网络传输时区信息时可得到世界时间,并以 URC 上报扩展 时区和世界时间。 错误码。参考第 6 章。 举例 AT+CTZR=0 OK AT+CTZR? +CTZR:0 OK AT+CTZR=? +CTZR:(0,1,2,3) OK 上海移远通信技术股份有限公司 102 / 169 BC28-F&BC95-GF AT 命令手册 4.18. AT+NIPINFO 上报 IP 地址信息 该命令用于设置是否启用 URC 上报 IP 地址信息。 如果成功获取 IP 地址,将不会上报,URC 以+NIPINFO:,, 的格式上报。 如果获取 IP 地址失败,将不会上报,URC 以+NIPINFO:,, 的格式上报。 查询命令返回当前设置。 AT+NIPINFO 上报 IP 地址信息 测试命令 AT+NIPINFO=? 响应 +NIPINFO:(支持的列表) OK 设置命令 AT+NIPINFO= 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 查询命令 AT+NIPINFO? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NIPINFO: OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置不保存至 NVRAM。 上海移远通信技术股份有限公司 103 / 169 BC28-F&BC95-GF AT 命令手册 参数 < failure_cause> 整型。是否启用 URC 以上报 IP 地址信息。 0 禁用 URC 1 启用 URC +NIPINFO:,[,][,] 整型。指定 PDP 上下文(请参考 AT+CGDCONT)。 整型。指定 IP 地址的类型。 IP 互联网协议(IETF STD 5 [103]) IPV6 互联网协议,版本 6 IPV4V6 引入虚拟参数以处理双 IP 栈 UE 容量。 字符串型。IP 地址。IPv4 地址为点分十进制,例如:100.1.0.26。IPv6 地址以十六 进制数和冒号表示,例如:108F: 0: 0: 0: 8: 800: 200C: 417A。当地址获取失败时, 该参数不显示。 整型。获取 IP 地址失败的原因。 1 仅允许 PDN 类型 IPv4 2 仅允许 PDN 类型 IPv6 3 仅允许单地址承载 4 IPv6 RA 超时 5 未指定 错误码。参考第 6 章。 4.19. AT+QCHIPINFO 读取系统信息 该命令用于返回系统信息,包括温度和电池电压。 AT+QCHIPINFO 读取系统信息 测试命令 AT+QCHIPINFO=? 响应 +QCHIPINFO:(支持的列表) OK 设置命令 AT+QCHIPINFO= 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +QCHIPINFO:, [+QCHIPINFO:,] OK 上海移远通信技术股份有限公司 104 / 169 BC28-F&BC95-GF AT 命令手册 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 字符串型。待读取的系统信息。 ALL 返回所有数据 TEMP 温度 VBAT 电池电压。单位:mV 整型。对应的值。 错误码。参考第 6 章。 举例 AT+QCHIPINFO=ALL +QCHIPINFO:TEMP,34.6 +QCHIPINFO:VBAT,3604 OK AT+QCHIPINFO=? +QCHIPINFO:(ALL,TEMP,VBAT) OK 4.20. AT+QIDNSCFG 配置 DNS 服务器地址 该命令用于配置和查询 DNS 服务器地址。查询命令返回当前使用的 DNS 服务器地址。 AT+QIDNSCFG 配置 DNS 服务器地址 设置命令 响应 AT+QIDNSCFG=[,] OK 若出现任何错误: ERROR 上海移远通信技术股份有限公司 105 / 169 BC28-F&BC95-GF AT 命令手册 查询命令 AT+QIDNSCFG? 测试命令 AT+QIDNSCFG=? 最大响应时间 特性说明 或者 +CME ERROR: 响应 PrimaryDns: SecondaryDns: OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 5秒 该命令立即生效。 深休眠唤醒后无效;参数配置不保存到 NVRAM。 参数 字符串型。首选域名服务器地址。 字符串型。备用域名服务器地址。若未设置,则查询命令返回 0.0.0.0。 错误码。参考第 6 章。 备注 1. 在执行 AT+QDNS 过程中,不允许配置 DNS 服务器地址。 2. 如果未配置 DNS 服务器地址,则默认将使用网络提供的 DNS 服务器地址或模块预置 DNS 服务器地 址。 举例 AT+QIDNSCFG=? OK AT+QIDNSCFG? PrimaryDns: 114.114.114.114 SecondaryDns: 8.8.8.8 OK AT+QIDNSCFG=8.8.8.8,8.8.4.4 OK 上海移远通信技术股份有限公司 106 / 169 AT+QIDNSCFG? PrimaryDns: 8.8.8.8 SecondaryDns: 8.8.4.4 OK BC28-F&BC95-GF AT 命令手册 4.21. AT+QDNS 触发 DNS 域名解析 该命令用于触发 DNS 域名解析。当域名解析完成后,UE 将显示域名解析的结果:+QDNS:。 如果未返回域名解析结果,再执行该设置命令,则会上报 ERROR。 AT+QDNS 触发 DNS 域名解析 设置命令 响应 AT+QDNS=[,] OK +QDNS: 最大响应时间 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 参数 整型。 0 DNS 域名解析,主机名不能为空。 1 如果主机名不为空,则清除内存中的主机名解析数据。如果主机名为空,则将清除 所有解析数据。 2 DNS 域名解析,主机名不能为空。模块不缓存解析结果。 域名。 字符串型。域名解析的结果。域名对应的 IP 地址。若解析失败,返回 FAIL。 错误码。参考第 6 章。 举例 AT+QDNS=0,www.baidu.com OK +QDNS:111.13.100.91 上海移远通信技术股份有限公司 107 / 169 BC28-F&BC95-GF AT 命令手册 4.22. AT+NPING 测试到远程主机的 IP 网络连接 该命令将 ICMP 数据包发送到指定的主机地址。 尝试 PING 操作最多不超过 1 次。如果在设置的超时期限内没有任何数据包收到响应,则将会发生错 误。 如果收到响应,将上报+NPING 消息。如果没有收到响应,将返回带有错误值的 +NPINGERR 主动响 应消息。 AT+NPING 测试到远程主机的 IP 网络连接 设置命令 响应 AT+NPING=[,[,]] +NPING:,, 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +NPINGERR: 5秒 / 参数 发送消息的对端地址。点分十进制 IPv4 地址。IP 地址可以用十进制、八进制 或十六进制表示法指定。仅支持 IPv4。 整型。回显数据包有效负载的字节大小。范围:12~1500;默认值:12。 整型。等待回显回复响应的最大时间。范围:10~600000;单位:毫秒;默认 值为 10000。 整型。响应包中收到的 TTL。 整型。从发送包到收到的响应所经过的时间。单位:毫秒。 整型。提供有关 PING 请求失败原因的相关信息。 1 在超时期间远端主机没有响应 2 发送 PING 请求失败 上海移远通信技术股份有限公司 108 / 169 BC28-F&BC95-GF AT 命令手册 4.23. AT+NATSPEED 配置 UART 端口波特率 该命令用于配置 UART 端口波特率。 AT+NATSPEED 配置 UART 端口波特率 测试命令 AT+NATSPEED=? 响应 +NATSPEED:(支持的列表),(支持的 范围),(支持的列表),(支持的范围),(支持 的列表),(支持的范围),(支持的 列表) OK 查询命令 AT+NATSPEED? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NATSPEED:,,,[,] OK 若出现任何错误: ERROR 或者 +CME ERROR: 设置命令 响应 AT+NATSPEED=,,,[,[,[,]]] 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 特性说明 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置不保存到 NVRAM。 上海移远通信技术股份有限公司 109 / 169 参数 BC28-F&BC95-GF AT 命令手册 整型。请求的 UART 端口的波特率。值大于低功耗 UART 所支持的最 快速度时,将禁用深度睡眠的低功耗操作,将返回: +NATSPEED:DISABLE_DEEP_SLEEP。 整型。表示在切换回原来速度之前等待通信的时间。单位:秒。默认值:3。最大值: 30。0 表示使用默认值。 整型。表示是否将和存储到 NVRAM。 0 不存储到 NVRAM,重启后需要重新配置 1 存储到 NVRAM,超时前有交互。 整型。LP UART 同步到它检测到的每个起始位,并使用它为数据中的每个后续位配 置其最佳采样点。如果需要,'同步模式'字段允许修改此采样点。当 为 2400 bps、4800 bps 和 57600 bps 时,不支持 3。 该参数可能在以后的版本中删除。 0 正常采样 1 稍后采样 2 提前采样 3 更早采样 整型。LP UART 停止位。 1 1 个停止位 2 2 个停止位 整型。AT UART 奇偶校验。 0 未启用奇偶校验 1 奇校验 2 偶校验 AT UART 软件(XON/XOFF)流控 0 禁用软件流控 1 启用软件流控 错误码。参考第 6 章。 举例 AT+NATSPEED=9600,3,1,2,1 OK AT+NATSPEED? +NATSPEED:9600,2,1,0,0 OK AT+NATSPEED=? +NATSPEED:(2400,4800,9600,57600,115200,230400,460800),(0-30),(0,1),(0-3),(1-2),(0-2),(0,1) OK 上海移远通信技术股份有限公司 110 / 169 BC28-F&BC95-GF AT 命令手册 备注 、、、当前不生效。 4.24. AT+NUICC 设置 UICC 功耗模式 该命令用于打开/关闭 UICC。仅当 AT+NCONFIG 的配置项 NAS_SIM_POWER_SAVING_ENABLE 为真时才可使用,使用 AT+CSIM 和 AT+CRSM 时会用到该功能。使用该命令可能会影响开机时的功耗。 如果设置失败,则返回+CME ERROR: 。 AT+NUICC 设置 UICC 功耗模式 测试命令 AT+NUICC=? 响应 +NUICC:(支持的列表) OK 设置命令 AT+NUICC= 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。UICC 功耗模式。 0 下电 1 上电 错误码。参考第 6 章。 上海移远通信技术股份有限公司 111 / 169 举例 AT+NUICC=1 OK BC28-F&BC95-GF AT 命令手册 4.25. AT+NSOCR 创建 Socket 该命令用于在 UE 上创建一个 Socket,该命令与指定的协议相关。如果端口已设置,使能接收功能, 则对于在该端口上接收的任何消息,将上报 URC +NSONMI。 如果已经为协议或端口的组合创建了 Socket,那么第二次请求 AT+NSOCR 将会失败。 AT+NSOCR 创建 Socket 设置命令 AT+NSOCR=,,[,[,[,]]] 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 字符串型。Socket 类型。 DGRAM UDP STREAM TCP 整型。标准互联网协议。例如,UDP 为 17,TCP 为 6。 整型。范围:0~65535。表示一个包含在发送的消息中的本地端口,并会通过此本 地端口接收消息。如果为 0(在创建 TCP Socket 时),则模块将为此 Socket 分配 一个随机的 。 整型。已创建 Socket 的 ID。范围:0~6。最多支持 7 个 Socket,但其他服务可能 会占用 Socket。 整型。接收控制。 0 忽略传入消息 1 接收传输消息 字符串类型。地址族类型。 上海移远通信技术股份有限公司 112 / 169 BC28-F&BC95-GF AT 命令手册 AF_INET IPv4 AF_INET6 IPv6 IP 地址。网络分配给 UE 的 IP 地址。 错误码。详情参见第 6 章。 备注 1. 最大支持 7 个 Socket,但是其他服务,例如 MQTT、CoAP 等,也许会减少 Socket 的最大数量。 2. 参数 中,端口 56830、42950 和 43950 为预留端口,不建议使用。 3. 目前仅支持一条 TCP 链路进入省电模式,多条 TCP 链路同时存在时,模块将无法进入省电模式。 举例 AT+NSOCR=DGRAM,17,4587,1,AF_INET 1 OK 4.26. AT+NSOST 发送消息(仅限 UDP) 该命令用于将包含长度字节数据的 UDP 数据报发送到 上的 ,并返 回发送的 Socket 以及发送的数据字节数。如果数据量大于允许发送的最大数据长度,仅指示成功发送的数 据长度。 AT+NSOST 发送消息(仅限 UDP) 设置命令 响应 AT+NSOST=,<remote_add , r>,,,[,< sequence>] OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。由 AT+NSOCR 返回的 Socket ID。范围:0~6。 上海移远通信技术股份有限公司 113 / 169 BC28-F&BC95-GF AT 命令手册 字符串型。点分十进制 IPv4 地址。支持十进制、八进制或十六进制格式。 整型。接收消息的远端端口。支持十进制和十六进制格式。范围:1~65535。 整型。要发送消息数据的长度。单位:字节。最大长度为 1358 字节,实际取决于 网络下发的 MTU 值。 字符串型。要发送的数据。十六进制格式。 整型。数据的序列。范围:1~255。若省略,则不会上报数据发送状态。若指定, 当数据成功发送到 NB-IoT 栈或被丢弃时,将上报以下 URC: +NSOSTR:,, 整型。数据报状态。 0 错误 1 已发送 整型。错误码。详情参见第 6 章。 备注 在数据成功发送到 NB-IoT 栈或被丢弃之前,不能使用相同的 ,否则将返回 ERROR。 举例 AT+NSOST=1,192.158.5.1,1024,2,AB30,1 1,2 OK 4.27. AT+NSOSTEX 发送消息(仅限 UDP) 该命令用于将包含数据长度字节的 UDP 数据报发送到指定的 上的 , 并返回发送的 Socket 以及发送的数据字节数。如果数据量大于允许发送的最大数据长度,仅指示成功发送 的数据长度。 AT+NSOSTEX 发送消息(仅限 UDP) 设置命令 命令模式下发送数据: AT+NSOSTEX=,,,,, 响应 , OK 若出现任何错误: ERROR 或者 +CME ERROR: 上海移远通信技术股份有限公司 114 / 169 BC28-F&BC95-GF AT 命令手册 设置命令 数据模式下发送不定长数据: AT+NSOSTEX=,,, 响应 > 响应 > 之后,输入需要发送的数据,按'Ctrl'+'Z' 发送数据;按'Esc'取消发送操作。 , OK 设置命令 数据模式下发送定长数据 AT+NSOSTEX=,,,, 若出现任何错误: ERROR 或者 +CME ERROR: 响应 > 响应 > 之后,输入需要发送的数据,当长度达到指定 的时,自动发送。 , OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。由 AT+NSOCR 返回的 Socket ID。范围:0~6。 字符串型。点分十进制 IPv4 地址。支持十进制、八进制或十六进制格式。 整型。接收消息的远端端口。支持十进制和十六进制格式。范围:1~65535。 整型。要发送数据的长度。单位:字节。最大长度为 1358 字节,实际取决于网络 下发的 MTU 值。 字符串型。要发送的数据。十六进制格式。 整型。数据的序列。范围:0~255。如果为 0,则不会上报数据发送状态。如果为 非 0 值,当数据成功发送到 NB-IoT 栈或被丢弃时,将上报以下 URC: +NSOSTR:,, 整型。数据报状态。 0 错误 1 已发送 错误码。详情参见第 6 章。 上海移远通信技术股份有限公司 115 / 169 BC28-F&BC95-GF AT 命令手册 备注 1. 在数据成功发送到 NB-IoT 栈或被丢弃之前,不能使用相同的 ,否则将返回 ERROR。 2. 在数据模式下,为的字符长度。 举例 AT+NSOSTEX=1,192.158.5.1,1024,1,2,AB30 1,2 OK AT+NSOSTEX=1,192.158.5.1,1024,1,4 >AB30 1,4 OK AT+NSOSTEX=1,192.158.5.1,1024,1 >AB30 1,4 OK 4.28. AT+NSOSTF 发送带标志的消息(仅限 UDP) 该命令用于将包含长度字节数据的 UDP 数据报发送到 上的 ,允许 设置元数据标志,并将返回发送的 Socket 以及发送的数据字节数。 AT+NSOSTF 发送带标志的消息(仅限 UDP) 设置命令 AT+NSOSTF=,,,,,[,] 响应 , OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 上海移远通信技术股份有限公司 116 / 169 BC28-F&BC95-GF AT 命令手册 参数 整型。由 AT+NSOCR 返回的 Socket ID。范围:0~6。 字符串型。点分十进制 IPv4 地址。支持十进制,八进制或十六进制格式。 整型。接收消息的远端端口。支持十进制和十六进制格式。范围:1~65535。 整型。消息传输类型。此参数的值为十六进制格式,并通过对以下标志中的零个或 多个进行逻辑'或'运算来形成: 0x100 异常消息:发送具有高优先级的消息 0x200 释放指示:指示该条消息发送后释放 0x400 释放指示:表示收到该消息的回复后释放 若不需设置 ,应将值设置为 0。 整型。要发送数据的长度。单位:字节。最大长度为 1358 字节,实际取决于网络 下发的 MTU 值。 字符串型。要发送的数据。十六进制格式。 整型。数据的序列。范围:1~255。若省略,则不会上报数据发送状态。若设置, 当数据成功发送到 NB-IoT 栈或被丢弃时,将上报以下 URC: +NSOSTR:,, 数据报状态。 0 错误 1 已发送 错误码。详情参见第 6 章。 备注 在数据成功发送到 NB-IoT 栈或被丢弃之前,不能使用相同的 ,否则将返回 ERROR。 举例 AT+NSOSTF=1,192.158.5.1,1024,0x100,2,AB30,1 1,2 OK 4.29. AT+NSOSTFEX 发送带标志位的消息(仅限 UDP) 该命令用于将 UDP 数据报发送到指定的 host:port 并允许设置标志位。 它将与发送时所在的 socket 以及发送的数据字节数一起返回。 如果数据量大于可以发送的最大数据包,则 AT+NSOSTFEX 返回值将 指示成功发送了多少数据。 上海移远通信技术股份有限公司 117 / 169 BC28-F&BC95-GF AT 命令手册 AT+NSOSTFEX 发送带标志位的消息(仅限 UDP) 设置命令 命令模式下发送数据: AT+NSOSTEX=,,,,,, 设置命令 数据模式下发送不定长数据: AT+NSOSTFEX=,,,, 响应 , OK 若出现任何错误: ERROR 或者 +CME ERROR: 响应 > 响应 > 之后,输入需要发送的数据,按'Ctrl'+'Z' 发送数据;按'Esc'取消发送操作。 , OK 设置命令 数据模式下发送定长数据: AT+NSOSTFEX=,,,,, 若出现任何错误: ERROR 或者 +CME ERROR: 响应 > 响应 > 之后,输入需要发送的数据,当长度达到指定 的时,自动发送。 , OK 最大响应时间 特性说明 若出现任何错误: ERROR Or +CME ERROR: 5秒 / 参数 整型。由 AT+NSOCR 返回的 Socket ID。范围:0~6。 字符串型。点分十进制 IPv4 地址。支持十进制、八进制或十六进制格式。 上海移远通信技术股份有限公司 118 / 169 BC28-F&BC95-GF AT 命令手册 整型。接收消息的远端端口。支持十进制和十六进制格式。范围:1~65535。 整型。指定消息传输类型。此参数的值为十六进制格式,并通过对以下标志中的零 个或多个进行逻辑'或'运算来形成: 0x100 异常消息:发送具有高优先级的消息 0x200 释放指示:指示该条消息发送后释放 0x400 释放指示:表示收到该消息的回复后释放 若不需设置 ,应将值设置为 0。 整型。数据的序列。范围:0~255。如果为 0,则不会上报数据发送状态。如果为 非 0 值,当数据成功发送到 NB-IoT 栈或被丢弃时,将上报以下 URC: +NSOSTR:,, 整型。要发送数据的长度。单位:字节。最大长度为 1358 字节,实际取决于网络 下发的 MTU 值。 字符串型。要发送的数据。十六进制格式。 整型。数据报状态。 0 错误 1 已发送 错误码。详情参见第 6 章。 备注 1. 在数据成功发送到 NB-IoT 栈或被丢弃之前,不能使用相同的 ,否则将返回 ERROR。 2. 在数据模式下,为的字符长度。 举例 AT+NSOSTFEX=1,192.158.5.1,1024,0x100,1,2,AB30 1,2 OK AT+NSOSTFEX=1,192.158.5.1,1024,0x100,1,4 >AB30 1,4 OK AT+NSOSTFEX=1,192.158.5.1,1024,0x100,1 >AB30 1,4 OK 上海移远通信技术股份有限公司 119 / 169 BC28-F&BC95-GF AT 命令手册 4.30. AT+NQSOS 查询待处理的 Socket 消息清单 UE 可以使用该命令查询待处理上行消息清单。 AT+NQSOS 查询待处理的 Socket 消息清单 设置命令 查询指定 ID 的 Socket 消息清单 AT+NQSOS=[,[,[…]]] 响应 [+NQSOS:,] [+NQSOS:,] […] OK 查询命令 查询已创建的所有 Socket 的消息清单 AT+NQSOS? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 [+NQSOS:,] [+NQSOS:,] […] OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。由 AT+NSOCR 返回的 Socket ID。范围:0~6。 整型。待处理的上行消息序列。范围:1~255。 错误码。详情参见第 6 章。 举例 AT+NQSOS=1,2 +NQSOS:1,2 +NQSOS:2,3 上海移远通信技术股份有限公司 120 / 169 OK AT+NQSOS? +NQSOS:1,2 +NQSOS:2,3 OK BC28-F&BC95-GF AT 命令手册 4.31. AT+NSORF 读取消息 该命令用于接收 Socket()上的数据,响应中的 是返回的实际字符数。 当数据到达时,模块上报 URC +NSONMI 响应以指示收到消息的 Socket 以及接收数据的实际长度等 信息;AT+NSORF 命令的为请求的数据长度。如果请求的数据长度大于返回数据的实际长 度,则仅提供返回数据的长度,并且剩余长度将返回为 0。如果请求的数据长度小于返回数据的实际长度, 则仅返回请求长度的数据,并指示剩余的字节数。消息完全被读取后,如果有另一条消息需要处理,将发 送新的 +NSONMI 通知。 如果消息的到达速度快于读取的速度,并且内部消息缓冲区已满,则最新消息将被丢弃。 AT+NSORF 读取消息 设置命令 AT+NSORF=, 响应 ,,,,, OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。由+NSONMI URC 返回的 Socket ID。范围:0~6。 返回的最大数据长度。十进制格式。最大请求数据长度为 1358 字节。 发送消息的系统地址。 点分十进制 IPv4 地址,点分十进制。IP 地址可以以十进制,八进制或十六进制表 示。仅支持 IPv4。 上海移远通信技术股份有限公司 121 / 169 BC28-F&BC95-GF AT 命令手册 发送消息的远端端口。范围:0~65535。 返回的数据长度。十进制格式。 未读取的消息剩余数据长度。十进制字格式。 接收的数据,十六进制字符串格式。最大的接收数据长度是 1358 字节。 错误码。详情参见第 6 章。 举例 AT+NSORF=1,10 1,192.168.5.1,1024,2,ABAB,0 OK 4.32. AT+NSOCO 连接命令(仅限 TCP) 该命令将 TCP 服务器连接到指定的主机端口。 AT+NSOCO 连接命令(仅限 TCP) 设置命令 响应 AT+NSOCO=,, 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 / 参数 整型。由 AT+NSOCR 返回的 Socket ID。范围:0~6。 发送消息的系统地址。支持十进制,八进制或十六进制表示。 整型。连接的远端端口。范围:1~65535。支持十进制和十六进制格式。 错误码。详情参见第 6 章。 举例 AT+NSOCO=1,192.158.5.1,1024 OK 上海移远通信技术股份有限公司 122 / 169 BC28-F&BC95-GF AT 命令手册 4.33. AT+NSOSD 发送消息(仅限 TCP) 该命令可以发送 TCP 数据报到 TCP 服务器,会返回发送 Socket 和数据字节数量。AT+NSOSD 的返 回值将返回成功发送的数据长度。 AT+NSOSD 发送数据(仅限 TCP) 设置命令 响应 AT+NSOSD=,,<dat , a>[,[,]] OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。由 AT+NSOCR 返回的 Socket ID。范围:0~6。 整型。发送的数据长度。十进制格式。默认最大长度为 1358 字节,实际取决于网 络下发的 MTU 值。 十六进制字符串格式。要传输的数据。 整型。指定消息传输的类型。此参数的值为十六进制格式,并通过对以下标志中的 零个或多个进行逻辑'或'运算来形成: 0x100 异常消息:发送具有高优先级的消息 0x200 释放指示:指示该条消息发送后释放 0x400 释放指示:指示收到该条消息的回复后释放 如果不设置 ,则应将值设置为 0。 整型。数据的序列。范围 1~255。若省略,则不会上报数据发送状态;若指定,当 服务器应答数据帧或 UE 丢弃数据帧时,将上报以下结果: +NSOSTR:,, 数据报的状态。 0 错误 1 已发送 错误码。详情参见第 6 章。 举例 AT+NSOSD=1,2,AB30 上海移远通信技术股份有限公司 123 / 169 1,2 OK AT+NSOSD=1,2,AB30,0x100 1,2 OK AT+NSOSD=1,2,AB30,0x100,255 1,2 OK BC28-F&BC95-GF AT 命令手册 4.34. AT+NSOSDEX 发送消息(仅限 TCP) 该命令用于将 TCP 数据报发送到 TCP 服务器。它将返回发送时所用的 socket 以及发送的数据字节数。 如果数据量大于可以发送的最大数据报,则 AT+NSOSDEX 返回值将指示成功发送了多少数据。 如果指定 ,则当服务器请求数据报或 UE 丢弃数据报时,将报告结果。 AT+NSOSDEX 发送消息(仅限 TCP) 设置命令 响应 AT+NSOSDEX=,,,, , OK 设置命令 AT+NSOSDEX=,, 若出现任何错误: ERROR 或者 +CME ERROR: 响应 > 响应 > 之后,输入需要发送的数据,按'Ctrl'+'Z' 发送数据;按'Esc'取消发送操作。 , OK 若出现任何错误 ERROR 或者 +CME ERROR: 上海移远通信技术股份有限公司 124 / 169 BC28-F&BC95-GF AT 命令手册 设置命令 AT+NSOSDEX=,,, 响应 > 响 应 > 之 后 , 输 入 需 要 发 送 的 数 据 , 当 长 度 达 到 自动发送。 , OK 最大响应时间 特性说明 若出现任何错误 ERROR 或者 +CME ERROR: 5秒 / 参数 整型。由 AT+NSOCR 返回的 Socket ID。范围:0~6。 整型。指定消息传输的类型。此参数的值为十六进制格式,并通过对以下标志中的 零个或多个进行逻辑'或'运算来形成: 0x100 异常消息:发送具有高优先级的消息 0x200 释放指示:指示该条消息发送后释放 0x400 释放指示:指示收到该条消息的回复后释放 如果未设置 ,则应将值设置为 0。 整型。数据的序列。范围:0~255。如果为 0,则不会上报数据发送状态。如果为 非 0 值,当数据成功发送到 NB-IoT 栈或被丢弃时,将上报以下结果: +NSOSTR:,, 整型。表示发送的数据长度。十进制格式。默认最大长度为 1358 字节,实际取决 于网络下发的 MTU 值。 要传输的数据。十六进制字符串格式。 数据报状态。 0 错误 1 已发送 错误码。详情参见第 6 章。 举例 AT+NSOSDEX=1,0x100,1,2,AB30 1,2 OK AT+NSOSDEX=1,0x100,1 上海移远通信技术股份有限公司 125 / 169 >AB30 1,4 OK AT+NSOSDEX=1,0x100,1,4 >AB30 1,4 OK BC28-F&BC95-GF AT 命令手册 4.35. AT+NSOCL 关闭 Socket 该命令用于关闭指定的 Socket。如果有待读取的未处理消息,则会将它们删除。不再打印 +NSONMI 通知。如果已经关闭,或者从未被创建 Socket,该命令会返回错误。 AT+NSOCL 关闭 Socket 设置命令 响应 AT+NSOCL= OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 举例 AT+NSOCL=1 OK 整型。AT+NSOCR 返回的 Socket ID。范围:0~6。 错误码。详情参见第 6 章。 上海移远通信技术股份有限公司 126 / 169 BC28-F&BC95-GF AT 命令手册 4.36. AT+NSONMI 指示已到达 Socket 的消息 该命令用于设置 URC +NSONMI 指示已到达 Socket 的消息: 查询命令返回命令的当前设置。 AT+NSONMI 指示已到达的 Socket 消息 设置命令 AT+NSONMI= 响应 OK 查询命令 AT+NSONMI? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NSONMI: OK 测试命令 AT+NSONMI=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NSONMI:(支持的列表) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。配置下行数据 URC 指示。 0 禁用 URC 指示消息。 1 启用 URC,仅指示消息数据长度: +NSONMI:,。 上海移远通信技术股份有限公司 127 / 169 BC28-F&BC95-GF AT 命令手册 2 启用 URC 指示发送消息的系统地址及远程端口、消息长度及数据内容 +NSONMI:,, ,,。 3 启用 URC 指示消息长度及数据内容 +NSONMI:,,. 整型。接收数据的 Socket。十进制格式。范围:0~6。 整型。缓存为空时接收到的第一条消息数据长度。单位:字节。 发送消息的系统地址。 整型。远程端口。范围:0~65535。 十六进制字符串格式。接收到的数据。最大长度为 1358 字节。 错误码。详情参见第 6 章。 举例 AT+NSONMI=1 OK AT+NSONMI? +NSONMI:1 OK AT+NSONMI=? +NSONMI:(0-3) OK 备注 仅在缓存为空时,模块响应一次 URC +NSONMI 以指示接收到新消息;缓存中存在消息时,模块不响应 URC +NSONMI。使用 AT+NSORF 读取所有缓存数据后,将继续返回 URC +NSONMI。 4.37. +NSOCLI 关闭 Socket 指示(仅用于响应) 这是一条 URC,指示所指 Socket 已经被 LwIP 内部关闭。 +NSOCLI 关闭 Socket 指示(仅用于响应) URC 格式: +NSOCLI: 参数 整型。已关闭的 Socket ID。十进制格式。范围:0~6。 上海移远通信技术股份有限公司 128 / 169 备注 此 URC 仅在 TCP 模式下上报。 BC28-F&BC95-GF AT 命令手册 4.38. AT+NSOSTATUS 获取 Socket 状态 设置命令返回指定的 Socket 状态信息,执行命令返回所有 Socket 的状态信息。 AT+NSOSTATUS 获取 Socket 状态 设置命令 响应 AT+NSOSTATUS= +NSOSTATUS:,[] OK 执行命令 AT+NSOSTATUS 若出现任何错误: ERROR 或者 +CME ERROR: 响应 [+NSOSTATUS:,[,] [+NSOSTATUS:,[,] [...] OK 测试命令 AT+NSOSTATUS=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NSOSTATUS:(支持的范围) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 上海移远通信技术股份有限公司 129 / 169 BC28-F&BC95-GF AT 命令手册 参数 整型。由 AT+NSOCR 返回的 Socket ID。范围:0~6。 整型。Socket 状态 0 可用 1 不存在(如果 Socket 未绑定到分配的正确 IP 地址 NW,也会返回此状态) 2 流量控制 3 退避 整型。退避定时器/T3396 定时器剩余时间。仅在退避状态时显示。单位:秒。 整型。错误码。详情参见第 6 章。 备注 如果打开运营商自注册(参考《Quectel_BC28-F&BC95-GF_运营商自注册使用说明》)或中国电信物联网 平台自注册(AT+QREGSWT=1),启动时相关任务将自动创建并占用靠前的空闲 Socket。 举例 AT+NSOSTATUS=1 +NSOSTATUS:1,0 OK AT+NSOSTATUS +NSOSTATUS:0,0 +NSOSTATUS:1,0 +NSOSTATUS:2,1 +NSOSTATUS:3,1 +NSOSTATUS:4,1 +NSOSTATUS:5,1 +NSOSTATUS:6,1 OK AT+NSOSTATUS=? +NSOSTATUS:(0-6) OK 4.39. AT+QLEDMODE 设置 NETLIGHT 功能模式 该命令用于设置 NETLIGHT LED 指示灯的功能模式。 上海移远通信技术股份有限公司 130 / 169 BC28-F&BC95-GF AT 命令手册 AT+QLEDMODE 设置 NETLIGHT 功能模式 设置命令 响应 AT+QLEDMODE= OK 查询命令 AT+QLEDMODE? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +QLEDMODE: OK 测试命令 AT+QLEDMODE=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +QLEDMODE:(支持的列表) OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令重启后生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。NETLIGHT LED 指示灯的功能模式。 0 禁用 NETLIGHT LED 功能,NETLIGHT 引脚输出低电平。 1 启用 NETLIGHT LED 功能,NETLIGHT 引脚输出 PWM 信号。 不同的高电平和低电平持续时间表示不同的网络状态,如下: 搜网状态:高电平 64 ms(灯亮)/ 低电平 800 ms(灯灭); 连接状态:高电平 64 ms(灯亮)/ 低电平 2000 ms(灯灭) 错误码。详情参见第 6 章。 上海移远通信技术股份有限公司 131 / 169 举例 AT+QLEDMODE=1 OK AT+QLEDMODE? +QLEDMODE:1 OK AT+QLEDMODE=? +QLEDMODE:(0,1) OK BC28-F&BC95-GF AT 命令手册 4.40. AT+QIPERF IPERF 性能测试 该命令用于测试 TCP/IP 的上行和下行性能。 AT+QIPERF 测试命令 AT+QIPERF=? IPERF 性能测试 响应 +QIPERF: ( 支 持 的 范 围 ),( 支 持 的 范 围 ),( 支 持 的 范 围 ),( 支 持 的 范围),(支持的范围),(支持的 范围),(支持的范围),(支持 的范围) 设置命令 AT+QIPERF=[,[,[,[,[,[,[,[,]]]]]]]] OK 响应 OK 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 / 参数 整型。 IPERF 命令 0 终止所有 IPERF 服务 上海移远通信技术股份有限公司 132 / 169 BC28-F&BC95-GF AT 命令手册 1 启动 IPERF Client(客户端) 2 停止 IPERF Client(客户端) 3 启动 IPERF Server(服务器) 4 启动 IPERF UDP NAT Server(服务器) IPERF UDP NAT Server 是一种 IPERF UDP 服务器,在这种模式下,UE 将 发送一个 UDP 数据包到远程服务器以设置 UDP 连接,之后 UE 等待接收下行 UDP 数据包,然后启动下行 UDP IPERF 服务器。 5 停止 IPERF Server(服务器) 整型。协议类型。 0 UDP 1 TCP 整型。UDP/TCP 端口号。默认值:5001。 如果是 1 或 4,则此是目标服务器端口号。 如果为 3,则此是本地 IPERF 服务器端口号。 字符串型。IP 地址。为 1、3 和 4 时不可省略。 如果是 1 或 4,指示目标服务器地址。 如果为 3,并且测试域为 IPv6 域,则必须是 UE 本地 IPv6 地址。 整型。吞吐量(Throughput)。默认值:20000;范围:1~1200000;单位:bps。 整型。上行 UDP/TCP IPERF 数据包的有效负载大小。仅在为 1 时配置。 范围:36~1472,默认值 1350。 整型。客户端模式时,UE 发送的数据包号。范围:0~65000。默认值 0,表示一直 发送数据包。 整型。 IPERF 服务持续时间。单位:秒。如果未指定,则 IPERF 不会在遇到错误 或收到终止命令之前停止。 整型。报告 IPERF 的 URC 的时间间隔。默认值:10;单位:秒。 如果为 1,则 UE 发送 URC +QIPERF:Client SUCC, pkg sent bytes: , UL through put: bps; 如果是 3 或 4,则 UE 发送 URC +QIPERF:Server SUCC, pkg sent bytes:, UL through put: bps 整型。错误码。详细信息,请参考第 6 章。 备注 1. IPERF 客户端服务完成(终止/超时)后,UE 发送 URC: +QIPERF:Client END, pkg sent total bytes: , average UL through put: bps 2. 当 IPERF 服务器服务完成(终止/超时)时,UE 发送 URC: +QIPERF:Server END, pkg recv total bytes: , average DL through put: bps 3. 如果发生导致 IPERF 服务无法继续的错误,则 UE 发送 URC: +QIPERF:Client FAIL, ; or +QIPERF: Server FAIL, 举例 AT+QIPERF=1,0,5001,'180.101.147.115',10000 OK 上海移远通信技术股份有限公司 133 / 169 BC28-F&BC95-GF AT 命令手册 +QIPERF:Client SUCC, pkg sent bytes: 15158, UL through put: 12126 bps +QIPERF:Client SUCC, pkg sent bytes: 12402, UL through put: 9921 bps +QIPERF:Client SUCC, pkg sent bytes: 12402, UL through put: 9921 bps +QIPERF:Client SUCC, pkg sent bytes: 13780, UL through put: 11024 bps +QIPERF:Client SUCC, pkg sent bytes: 12402, UL through put: 9921 bps AT+QIPERF=0 OK +QIPERF:Client END, pkg sent total bytes: 74412, average UL through put: 10263 bps 上海移远通信技术股份有限公司 134 / 169 BC28-F&BC95-GF AT 命令手册 5 LwM2M 物联网平台命令 本章节描述了模块针对 LwM2M 物联网平台的 AT 命令。使用本章 AT 命令可用于对接中国电信 AEP 平台和中国电信 IoT 平台。 5.1. AT+QCFG='LWM2M/Lifetime' 配置 IoT 平台注册生命周期 该命令用于配置 IoT 平台的生命周期值。UE 的更新注册时间约为生命周期的 0.9 倍。 AT+QCFG='LWM2M/Lifetime' 配置 IoT 平台注册生命周期 设置命令 AT+QCFG='LWM2M/Lifetime'[,] 响应 若省略可选参数,则查询平台的生命周期值: +QCFG: 'LWM2M/Lifetime', OK 若指定可选参数,则配置平台的生命周期值: OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令重启后生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。LwM2M 协议的生命周期。范围:0~(30×2592000);默认值:0;单位:秒。 0 禁用生命周期功能。UE 将不会定期向 loT 平台发送更新注册包。 1~(30×2592000) 启用生命周期功能。但即使 UE 将生命周期值设置为 1~899 秒, 的最小有效值仍为 900 秒。 错误码。参考第 6 章。 上海移远通信技术股份有限公司 135 / 169 举例 AT+QCFG='LWM2M/Lifetime' +QCFG: 'LWM2M/Lifetime',0 OK AT+QCFG='LWM2M/Lifetime',864000 OK BC28-F&BC95-GF AT 命令手册 5.2. AT+NCDP 配置和查询 CDP 服务器设置 该命令用于设置和查询 CDP 服务器的 IP 地址和端口号。当网络服务器应用程序网关是 CDP 服务器或 者中国电信 IoT 平台时,可使用该命令。 AT+NCDP 配置和查询 CDP 服务器设置 设置命令 AT+NCDP=[,] 响应 从提供的参数中更新 CDP 服务器配置: OK 查询命令 AT+NCDP? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 返回当前 CDP 服务器 IP 地址和端口号: +NCDP:, OK 最大响应时间 特性说明 若未设置 CDP 服务器: ERROR 或者 +CME ERROR: 5秒 该命令重启后生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 字符串型。IoT 平台 IP 地址。支持 IPv4、IPv6 和域名。最大长度:256 字节。 整型。无符号整型。范围:0~65535;默认值:5683。若配置端口为 0,则使用默认端 上海移远通信技术股份有限公司 136 / 169 BC28-F&BC95-GF AT 命令手册 口;若没有指定端口,则使用之前设置的端口;若没有指定端口且之前未设置,则使用 默认端口。 错误码。参考第 6 章。 举例 AT+NCDP=192.168.5.1,5683 OK AT+NCDP? +NCDP:192.168.5.1,5683 OK 5.3. AT+QLWSREGIND 注册控制 该命令用于向 IoT 平台发起注册和注销。若消息未能发送,则返回错误码和描述作为中间消息。 AT+QLWSREGIND 注册控制 设置命令 响应 AT+QLWSREGIND= OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。动作类型。 0 触发注册操作 1 触发注销操作 错误码。参考第 6 章。 举例 AT+QLWSREGIND=0 OK 上海移远通信技术股份有限公司 137 / 169 BC28-F&BC95-GF AT 命令手册 5.4. AT+QLWULDATA 发送数据 该命令用于使用 LwM2M 协议向 IoT 平台发送数据。若消息未能发送,则返回错误码及描述作为 中间消息。在模块注册到 IoT 平台之前,执行该命令则会触发注册操作并丢弃数据。 AT+QLWULDATA 发送数据 设置命令 响应 AT+QLWULDATA=,[, OK ] 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 / 参数 整型。表示发送数据的长度。最大值:1024。 字符串型。十六进制格式。单位:字节。 数据序列号。范围:0~255。如果使用非 0 的来发送 CoAP 数据,且 当前有携带相同的 NON 或者 CON 类型 CoAP 数据未发送完成,那么 会将数据丢弃并返回错误。如果参数值为 0,则被忽略。 错误码。参考第 6 章。 举例 AT+QLWULDATA=3,AA34BB OK 5.5. AT+QLWULDATAEX 发送 CON/NON 消息 该命令用于根据 LwM2M 协议使用 RAI 标识符向物联网平台发送需要确认的消息(CON)或者不需要 确认的消息(NON)。发送 CON 数据后,发送结果会自动反馈给 TE,TE 也可以使用 AT+QLWULDATA STATUS?查询已发送 CON 数据的状态。如果发送 CON 数据,它必须在发送下一个 CON 或者 NON 数据 之前获取发送 CON 数据的状态(失败/超时/成功/获得重置消息)。如果模块尚未注册到 NB-IoT 平台,则 该命令将使模块仅启动注册,模块将丢弃发送的数据。 上海移远通信技术股份有限公司 138 / 169 BC28-F&BC95-GF AT 命令手册 AT+QLWULDATAEX 发送 CON/NON 消息 设置命令 响应 AT+QLWULDATAEX=,,[,] 若出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 / 参数 整型。发送数据的长度。最大值:1024。 字符串型。十六进制格式。单位:字节。 消息发送模式。 0x0000 发送 NON 消息。 0x0001 发送带有 RELEASE 释放辅助提示的 NON 消息。 0x0010 发送带有 RELEASE_AFTER_REPLY 释放辅助提示的 NON 消息。 0x0100 发送 CON 消息。 0x0101 发送带有 RELEASE_AFTER_REPLY 释放辅助提示的 CON 消息。 整型。数据序列号。范围:0~255。如果使用非 0 的发送 CoAP 数据, 且当前有携带相同的 NON 或者 CON 类型 CoAP 数据未发送完成,那么会 将数据丢弃并返回错误。如果参数值为 0,则被忽略。 错误码。参考第 6 章。 举例 AT+QLWULDATAEX=3,AA34BB,0x0001 OK 5.6. AT+QLWULDATASTATUS 查询 CON 消息发送状态 该命令用于查询向 NB-IoT 平台发送 CON 数据的状态。此命令仅查询已发送的 CON 数据的状态。 当发送 CON 类型 CoAP 数据时携带了非 0 的,该命令的响应为:+QLWULDATASTAT US:,;当发送 CON 类型 CoAP 数据时没有携带或者携带的 为 0,该命令的响应为:+QLWULDATASTATUS:。 上海移远通信技术股份有限公司 139 / 169 BC28-F&BC95-GF AT 命令手册 AT+QLWULDATASTATUS 查询命令 AT+QLWULDATASTATUS? 查询 CON 消息发送状态 响应 +QLWULDATASTATUS:[,] OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。表示 CON 数据发送状态。 0 未发送 1 已发送,等待 IoT 平台响应 2 发送失败 3 超时 4 成功 5 收到 RESET 消息 数据序列。范围:0~255。若当发送 CON 类型 CoAP 数据时没有携带或 为 0,则被省略。 错误码。参考第 6 章。 举例 AT+QLWULDATASTATUS? +QLWULDATASTATUS:4 OK 5.7. AT+QREGSWT 设置注册模式 该命令用于在重启模块后设置注册模式: ⚫ 若设置为 0,模块在重启并连接到网络后会发送 REGISTERNOTIFY 消息到设备,然后通 过执行命令 AT+QLWSREGIND 触发注册。 上海移远通信技术股份有限公司 140 / 169 BC28-F&BC95-GF AT 命令手册 ⚫ 若设置为 1,模块在重启并连接到网络后会触发自动注册。 ⚫ 若设置为 2,模块在重启并连接到网络后不会触发注册。 AT+QREGSWT 设置注册模式 设置命令 响应 AT+QREGSWT= OK 查询命令 AT+QREGSWT? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +QREGSWT: OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令重启后生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 整型。表示注册模式。 0 手动注册模式 1 自动注册模式 2 禁用注册 错误码。参考第 6 章。 备注 如果不需要使用物联网平台,必须使用命令 AT+QREGSWT=2 禁用注册功能。该命令仅在使用 AT+NRB 重启 UE 后才生效。 举例 AT+QREGSWT=1 OK AT+QREGSWT? 上海移远通信技术股份有限公司 141 / 169 +QREGSWT:1 OK BC28-F&BC95-GF AT 命令手册 5.8. AT+NMGS 发送消息 该命令用于发送数据到 IoT 平台。若消息未能发送,会返回错误码及描述作为中间消息。如果模 块尚未注册到物联网平台,执行该命令将会促使模块发起注册,并丢弃数据。 AT+NMGS 发送消息 设置命令 响应 AT+NMGS=,[,] 如出现任何错误: ERROR 或者 +CME ERROR: 最大响应时间 5秒 特性说明 / 参数 消息的长度。十进制。最大值:1024。单位:字节。 待传输的数据。十六进制字符串格式。最大长度为 1024 字节。 数据序列号。范围:0~255。如果使用非 0 的发送 CoAP 数据,且当前有 携带相同的 NON 类型 CoAP 数据未发送完成,那么会将数据丢弃并返回 错误。若为 0 则被忽略。 整型。错误码。参考第 6 章。 举例 AT+NMGS=3,AA11BB OK 5.9. AT+NMGR 接收消息 该命令用于通过 LwM2M 协议从 IoT 平台接收消息。 上海移远通信技术股份有限公司 142 / 169 BC28-F&BC95-GF AT 命令手册 该命令返回最先缓存的消息并将消息从缓存中删除,如果没有缓存的消息,则该命令无响应;如果使 能新消息指示(AT+NNMI),执行该命令将无法获取收到的消息。 AT+NMGR 接收消息 执行命令 AT+NMGR 响应 , OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 消息长度。十进制。最大为 1024。单位:字节。 十六进制字符串格式。接收的数据。最大长度为 1024 字节。 整型。错误码。参考第 6 章。 举例 AT+NMGR 5,48656C6C6F OK 5.10. AT+NNMI 设置新消息指示 该命令用来设置或者获取已发送的新消息指示。UE 从 IoT 平台接收到一个下行消息后会发送新消息指 示。 AT+NNMI=1 使能新消息指示和数据,会返回当前所有缓存的消息,格式为+NNMI:,。 例如,+NNMI:5,48656C6C6F。 AT+NNMI=2 仅使能新消息指示,每次收到新的消息都会触发指示 URC,响应结果格式为:+NNMI。 可以通过命令 AT+NMGR 接收缓存消息。 上海移远通信技术股份有限公司 143 / 169 BC28-F&BC95-GF AT 命令手册 默认值为 1,模块重启后会还原到默认值。 AT+NNMI 设置新消息指示 查询命令 AT+NNMI? 响应 +NNMI: OK 设置命令 AT+NNMI= 若出现任何错误: ERROR 或者 +CME ERROR: 响应 OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置不保存到 NVRAM。 参数 整型。新消息指示状态。 0 无指示 1 指示和消息 2 仅指示 整型。消息长度。 十六进制字符串格式。待接收的数据。 错误码。参考第 6 章。 举例 AT+NNMI=1 OK AT+NNMI? +NNMI:1 OK 上海移远通信技术股份有限公司 144 / 169 BC28-F&BC95-GF AT 命令手册 5.11. AT+NSMI 发送消息指示 当发送一条上行消息至 IoT 平台时,使用该命令设置或者获取已发送消息的指示。 如果开启了发送消息指示,当有新消息发送到 NB-IoT 栈时,会返回如下 URC: +NSMI:[,](例如:+NSMI:SENT)。 只有当发送数据的 AT 命令中包含非 0 参数,模块发送到 MCU 的通知消息中才会包含 ,且该参数值与发送数据的 AT 命令中的一致。 当发送 CoAP 数据的 AT 命令中包含非 0 参数,且 CoAP 数据成功发送到 NB-IoT 平台, 模块发送到 MCU 的通知消息中值为 SENT_TO_AIR_INTERFACE;如果上述的命令中没有 或者值为 0 且 CoAP 数据成功发送到 NB-IoT 平台,模块发送到 MCU 的通知消息 中值为 SENT。 对于 CON 数据来说,SENT 和 SENT_TO_AIR_INTERFACE 说明发送数据到 NB-IoT 平台的结果;对 于 NON 数据来说,SENT 和 SENT_TO_AIR_INTERFACE 说明数据发送到 NB-IoT 栈。 AT+NSMI 发送消息指示 设置命令 响应 AT+NSMI= OK 查询命令 AT+NSMI? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 +NSMI: OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令立即生效。 深休眠唤醒后有效;参数配置不保存到 NVRAM。 上海移远通信技术股份有限公司 145 / 169 参数 举例 AT+NSMI=1 OK AT+NSMI? +NSMI:1 OK BC28-F&BC95-GF AT 命令手册 整型。是否发送消息指示。 0 不发送指示 1 发送指示 字符串型。数据发送的状态。 SENT 数据发送到 C 核 SENT_TO_AIR_INTERFACE 数据发送到空口 DISCARDED 数据丢弃 整型。数据序列。范围:1~255。表示 AT 命令中携带的非 0 的向 loT 平台发送数据。 错误码。参考第 6 章。 5.12. AT+NQMGR 查询已接收消息状态 该命令用于查询从 IoT 平台已接收下行消息的状态。 AT+NQMGR 查询已接收消息状态 执行命令 响应 AT+NQMGR BUFFERED=,RECEIVED=,DROPPE D= OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 上海移远通信技术股份有限公司 146 / 169 参数 整型。下行缓存中等待读取的消息条数。 整型。UE 启动后收到的消息总数。 整型。UE 启动后丢弃的消息条数。 错误码。参考第 6 章。 举例 AT+NQMGR BUFFERED=0,RECEIVED=34,DROPPED=2 OK BC28-F&BC95-GF AT 命令手册 5.13. AT+NQMGS 查询发送的消息状态 该命令用于查询向 IoT 平台发送的上行消息的状态。 AT+NQMGS 执行命令 AT+NQMGS 查询发送的消息状态 响应 PENDING=,SENT=,ERROR= OK 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 参数 整型。上行缓存中等待发送的消息条数。 整型。UE 启动后,发送到 NB-IoT 平台的上行消息总数。 整型。UE 启动后,因错误被丢弃的消息条数。 错误码。参考第 6 章。 上海移远通信技术股份有限公司 147 / 169 BC28-F&BC95-GF AT 命令手册 备注 1. 对于 CON 类型 CoAP 数据,只有当 timeout、RST、sent_fail 或者 sent_success 之后,相应统计值 才会改变; 2. 对于 NON 类型 CoAP 数据,当数据发送到 NB-IoT 栈后,相应统计值才会改变。 举例 AT+NQMGS PENDING=1,SENT=34,ERROR=0 OK 5.14. AT+NMSTATUS 消息注册状态 当模块连接到 CDP 服务器时,该命令用于上报当前注册状态。当 LwM2M 处于 MO_DATA_ENABLED 状态,则 UE 可以发送数据。 AT+NMSTATUS 消息注册状态 查询命令 AT+NMSTATUS? 响应 +NMSTATUS: OK 测试命令 AT+NMSTATUS=? 若出现任何错误: ERROR 或者 +CME ERROR: 响应 (支持的列表) 最大响应时间 特性说明 OK 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 / 上海移远通信技术股份有限公司 148 / 169 BC28-F&BC95-GF AT 命令手册 参数 字符串型。当前注册状态。 UNINITIALISED MISSING_CONFIG INIITIALISING INIITIALISED INIT_FAILED REGISTERING REGISTERED DEREGISTERED MO_DATA_ENABLED NO_UE_IP REJECTED_BY_SERVER TIMEOUT_AND_RETRYING REG_FAILED DEREG_FAILED 错误码。参考第 6 章。 未初始化 配置丢失 初始化中 初始化完成 初始化失败 注册中 已注册 已注销 使能数据发送 无UE IP 服务器拒绝 超时并重试 注册失败 注销失败 5.15. AT+QLWSERVERIP 设置/删除 Bootstrap/LwM2M 服务器 IP 该命令用于设置和删除 Bootstrap 和 IoT 服务器 IP 地址。AT+QLWSERVERIP 和 AT+NCDP 两个命 令适用同一个 NVRAM 项: ⚫ 当 IP 地址和端口与 NVRAM 匹配时,执行 AT+QLWSERVERIP=DEL,,将会删 除 IP 信息; ⚫ 当 IP 地址与 NVRAM 匹配时,执行 AT+QLWSERVERIP=DEL,将会删除 IP 信息。 AT+QLWSERVERIP 设置/删除 Bootstrap/LwM2M 服务器 IP 设置命令 响应 AT+QLWSERVERIP=,[,] 若出现任何错误: ERROR 或者 查询命令 +CME ERROR: 响应 AT+QLWSERVERIP? +QLWSERVERIP:,, […] OK 上海移远通信技术股份有限公司 149 / 169 BC28-F&BC95-GF AT 命令手册 最大响应时间 特性说明 若出现任何错误: ERROR 或者 +CME ERROR: 5秒 该命令重启后生效。 深休眠唤醒后有效;参数配置自动保存至 NVRAM。 参数 Bootstrap/LwM2M 服务器 IP 类型。 LWM2M IoT 服务器 IP BS Bootstrap 服务器 IP DEL 删除 IP 信息 字符串型。域名或者 IP 地址。IP 地址格式为点分十进制格式的 IPv4 地址,如: 180.101.147.115。 整型。端口号。范围:0~65535。 错误码。参考第 6 章。 举例 AT+QLWSERVERIP=BS,180.101.147.115,5683 OK AT+QLWSERVERIP=LWM2M,180.101.147.115,5683 OK AT+QLWSERVERIP? +QLWSERVERIP:BS,180.101.147.115,5683 +QLWSERVERIP:LWM2M,180.101.147.115,5683 OK AT+QLWSERVERIP=DEL,180.101.147.115,5683 OK 上海移远通信技术股份有限公司 150 / 169 BC28-F&BC95-GF AT 命令手册 6 错误码 本章介绍与 BC28-F 和 BC95-GF 模块相关的错误码。 下表中列出的错误代码符合 3GPP 规范。客户可以参考 3GPP TS 27.007 V13.5.0, sub-clause 9.2 了 解所有可能的错误码。 表 2:通用错误码 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 错误代码 MT not connection MT link reserved operation not allowed operation not supported PH-SIM PIN required PH-FSIM PIN required PH-FSIM PUK required SIM not inserted SIM PIN required SIM PUK required SIM failure SIM busy SIM wrong incorrect password SIM PIN2 required SIM PUK2 required 中文解释 MT 未连接 MT 链接保留 不允许操作 不支持操作 需要 PH-SIM PIN 需要 PH-FSIM PIN 需要 PH-FSIM PUK 未插入 SIM 卡 需要 SIM PIN 需要 SIM PUK SIM 卡失败 SIM 卡忙碌 SIM 卡错误 密码不正确 需要 SIM PIN2 需要 SIM PUK2 上海移远通信技术股份有限公司 151 / 169 BC28-F&BC95-GF AT 命令手册 20 memory full 内存已满 21 invalid index 无效索引 22 not found 未发现 23 memory failure 内存不足 24 text string too long 文本字符串过长 25 invalid characters in text string 无效文本字符串 26 dial string too long 拨号字符串过长 27 invalid characters in dial string 无效拨号字符串 30 no network service 无网络服务 31 network timeout 网络超时 32 network not allowed - emergency call only 网络不允许-仅紧急呼叫 40 network personalization PIN required 需要网络个性化 PIN 41 network personalization PUK required 需要网络个性化 PUK 42 network subset personalization PIN 需要网络子集个性化 PIN required 43 network subset personalization PUK 需要网络子集个性化 PUK required 44 service provider personalization PIN 需要服务提供商个性化 PIN required 45 service provider personalization PUK 需要服务提供商个性化 PUK required 46 corporate personalization PIN required 需要企业个性化 PIN 47 corporate personalization PUK required 需要企业个性化 PUK 48 hidden key required 需要隐藏密钥 49 EAP method not support EAP 方法不支持 50 incorrect Parameters 无效参数 51 command implemented but currently 命令已实现,但当前已禁用 disabled 52 command aborted by user 命令被用户终止 上海移远通信技术股份有限公司 152 / 169 BC28-F&BC95-GF AT 命令手册 53 not attached to network due to MT 由于 MT 功能受限,未注册到网络 functionality restrictions 54 modem not allowed-MT restricted to Modem 不允许- MT 仅限于紧急呼叫 emergency calls only 55 operation not allowed because of MT 由于 MT 功能受限,操作不允许 functionality restrictions 56 fixed dial number only allowed - called 仅允许固定拨号-已拨号码非固话 number is not a fixed 57 temporarily out of service due to other MT 由于其他 MT 使用,暂时停用 usage 58 language/alphabet not supported 不支持的语言/字母 59 unexpected data value 数据值超出范围 60 system failure 系统发生问题 61 data missing 数据丢失 62 call barred 禁止通话 63 message waiting indication subscription 消息等待指示订阅失败 failure 100 unknown 未知 103 illegal MS 非法 MS 106 illegal ME 非法 ME 107 GPRS services not allowed 不允许的 GPRS 服务 108 GPRS services and non GPRS services 不允许的 GPRS 服务和非 GPRS 服务 not allowed 111 PLMN not allowed 不允许 PLMN 112 location area not allowed 不允许的位置区域 113 roaming not allowed in this location area 在此位置区域内不允许漫游 114 GPRS services not allowed in this PLMN 此 PLMN 不允许使用 GPRS 服务 115 No suitable cells in location area 位置区域内没有合适的小区 122 Congestion 拥塞 126 Insufficient resources 资源不足 127 Mission or unknown APN 任务或未知 APN 上海移远通信技术股份有限公司 153 / 169 BC28-F&BC95-GF AT 命令手册 128 Unknown PDP address or PDP type 未知 PDP 地址或 PDP 类型 129 User authentication failed 用户鉴权失败 130 Active reject by GGSN services GW or 被 GGSN 服务 GW 或 PDN GW 主动拒绝 PDN GW 131 Active reject unspecified 未指定主动拒绝 132 service option not supported 服务选项不支持 133 requested service option not subscribed 未订阅请求服务选项 134 service option temporarily out of order 服务选项暂时失灵 140 Feature not supported 不支持该功能 141 Semantic errors in the TFT operation TFT 操作语义错误 142 Syntactical errors in the TFT operation TFT 操作中的句法错误 143 Unknown PDP context 未知 PDP 上下文 144 Semantic errors in packet filters 数据包过滤器中的语义错误 145 Syntactical errors in packet filters 数据包过滤器中的句法错误 146 PDP context without TFT already 没有激活 TFT 的 PDP 上下文 activated 148 unspecified GPRS error 未指定的 GPRS 错误 149 PDP authentication failure PDP 认证失败 150 invalid mobile class 无效移动类 171 Last PDN disconnection not allowed 不允许最后一个 PDN 断开连接 172 Semantically incorrect message 消息语义不正确 173 Mandatory information element error 强制性信息元素错误 174 Information element not existent or not 信息元素不存在或未实现 implemented 175 Conditional IE error 有条件 IE 错误 176 Protocol error unspecified 未指定的协议错误 177 Operator determined barring 运营商决定的限制 178 Max number of PDP contexts reached 达到 PDP 上下文的最大数量 上海移远通信技术股份有限公司 154 / 169 BC28-F&BC95-GF AT 命令手册 Requested APN not supported in current 当前的 RAT 和 PLMN 组合不支持请求的 179 RAT and PLMN combination APN 180 Request rejected bearer control mode 请求拒绝承载控制模式冲突 violation 181 Unsupported OCI value 不支持的 OCI 值 182 User data transmission via control plane is 通过控制平面的用户数据传输拥塞 congested 301 Internal error base 内部错误基础 302 UE busy UE 繁忙 303 Not power on 未开机 304 PDN not active 未激活 PDN 305 PDN not valid 无需 PDN 306 PDN invalid type 无需 PDN 类型 307 PDN no parameter PDN 无参数 308 UE fail UE 失败 309 PDN type and APN duplicate used 重复的 PDN 和 APN 310 PAP and EITF not matched PAP 和 EITF 不匹配 311 SIM PIN disabled SIM 卡 PIN 码已禁用 312 SIM PIN already enabled SIM 卡 PIN 码已启用 313 SIM PIN wrong format SIM PIN 格式错误 512 Required parameter not configured 未配置必需的参数 514 AT internal error AT 内部错误 515 CID is active CID 已激活 516 Incorrect state for command 命令状态错误 517 CID is invalid CID 无效 518 CID is not active CID 未激活 520 Deactivate the last active CID 停用最后一个已激活的 CID 521 CID is not defined CID 未定义 上海移远通信技术股份有限公司 155 / 169 BC28-F&BC95-GF AT 命令手册 522 UART parity error UART 奇偶校验错误 523 UART frame error UART 帧错误 524 UE is in minimal function mode UE 处于最小功能模式 525 AT command aborted: in processing AT 命令中止:处理中 526 AT command aborted: error AT 命令中止:出错 527 Command interrupted 命令中断 528 Configuration conflicts 配置冲突 529 During FOTA updating 在 FOTA 更新期间 530 Not the AT allocated socket 非 AT 分配的 Socket 531 USIM PIN is blocked USIM PIN 被阻止 532 USIM PUK is blocked USIM PUK 被阻止 533 Not mipi module 非 mipi 模块 534 File not found 文件未找到 535 Conditions of use not satisfied 使用条件不满足 536 AT UART buffer error AT UART 缓冲区错误 537 Back off timer is running 退避计时器正在运行 上海移远通信技术股份有限公司 156 / 169 BC28-F&BC95-GF AT 命令手册 7 重启原因 除了重新上电或外部复位,如果模块因其他任何原因重新启动,将输出一条消息,以表明重新启动的 原因。该打印的重启原因仅供参考,不能作为判断模块重启的唯一原因。 表 3:重启原因显示 序号 1 2 3 4 5 6 重启消息显示 REBOOT_CAUSE_APPLICATION_UNKNOWN REBOOT_CAUSE_APPLICATION_WATCHDOG REBOOT_CAUSE_APPLICATION_ASSERT REBOOT_CAUSE_APPLICATION_HARDFAULT REBOOT_CAUSE_APPLICATION_AT REBOOT_CAUSE_APPLICATION_POWER_ON_RESET 上海移远通信技术股份有限公司 157 / 169 BC28-F&BC95-GF AT 命令手册 8 举例 8.1. 附着网络 执行命令 AT+NCONFIG=AUTOCONNECT,TRUE 模块自动附着网络。 如果需要手动注网,请通过执行命令 AT+NCONFIG=AUTOCONNECT,FALSE 禁用自动附着网络功 能。该设置将保存至 NVRAM,并在执行命令 AT+NRB 重启模块后生效。 8.1.1. 自动附着网络 以下是附着网络的简单示例。客户可以通过以下命令查询模块是否已附着到网络: REBOOT_CAUSE_APPLICATION_POWER_ON_RESET OK //模块上电开机 AT+CFUN? +CFUN:1 OK AT+CIMI 460111174590523 //查询 IMSI 号 OK AT+CEREG? +CEREG:0,1 //查询网络注册状态 //=0 表示已禁用网络注册 URC,=1 表示已注册 OK AT+CGATT? +CGATT:1 //查询网络附着状态 //网络附着成功,通常需要等待 30 秒 OK AT+CGPADDR //查询模块的 IP 地址 +CGPADDR:0,10.169.241.248 OK 上海移远通信技术股份有限公司 158 / 169 BC28-F&BC95-GF AT 命令手册 8.1.2. 手动附着网络 全频段搜网可能会花费较长的时间,因此建议手动注网时,只搜索指定的频段。 AT+NCONFIG=AUTOCONNECT,FALSE OK AT+NRB REBOOTING //禁用自动连接网络 //重启模块 REBOOT_CAUSE_APPLICATION_AT OK AT+NBAND=5 OK AT+CFUN=1 OK AT+CIMI 460111174590523 //重启原因 //指定要搜索的频段 B5 //将模块设置为全功能模式 //查询 IMSI 号 OK AT+CGATT=1 OK AT+NUESTATS Signal power:-870 Total power:-710 TX power:-128 TX time:995 RX time:16146 Cell ID:139024564 ECL:0 SNR:-6 EARFCN:3686 PCI:473 RSRQ:-160 OPERATOR MODE:4 CURRENT BAND:8 //触发网络连接 //查询模块状态 OK AT+CEREG? +CEREG:0,1 //查询网络注册状态 //=0 表示已禁用网络注册 URC,=1 表示已注册 OK AT+CGATT? +CGATT:1 //查询网络附着状态 //网络附着成功,通常需要等待 30 秒 上海移远通信技术股份有限公司 159 / 169 OK AT+CGPADDR +CGPADDR:0,10.3.42.109 OK BC28-F&BC95-GF AT 命令手册 //查询模块的 IP 地址 8.2. 发送/接收/读取 UDP 信息 以下是发送/接收/读取 UDP 信息的简单示例。Socket 关闭后,将不会收到任何响应。当不使用 IoT 平 台时,需要在模块连接到网络之前禁用 IoT 平台的注册功能。 AT+QREGSWT=2 OK … //禁用 IoT 平台的注册功能 //连接网络 AT+CGPADDR +CGPADDR:0,10.3.42.109 OK AT+NSOCR=DGRAM,17,0,1 1 //查询模块的 IP 地址 //创建一个 Socket OK AT+NSOST=1,220.180.239.212,8012,5,1245783132,100 //发送信息 1,5 OK +NSOSTR:1,100,1 //数据成功发送到 NB-IoT 栈的报文 +NSONMI:1,5 AT+NSORF=1,5 1,220.180.239.212,8012,5,1245783132,0 //接收信息 //读取信息 OK AT+NSOCL=1 OK //关闭 Socket 8.3. 发送/接收/读取 TCP 信息 以下是发送/接收/读取 TCP 信息的简单示例。关闭 Socket 后,将不会收到任何响应。当不适用 IoT 平 台时,需要在模块连接到网络之前禁用 IoT 平台的注册功能。 上海移远通信技术股份有限公司 160 / 169 BC28-F&BC95-GF AT 命令手册 AT+QREGSWT=2 OK … AT+CGPADDR +CGPADDR:0,10.3.42.79 OK AT+NSOCR=STREAM,6,0,1 1 OK AT+NSOCO=1,220.180.239.212,8009 OK AT+NSOSD=1,4,01020304,0x100,101 1,4 OK +NSOSTR:1,101,1 +NSONMI:1,4 AT+NSORF=1,4 1,220.180.239.212,8009,4,01020304,0 OK AT+NSOCL=1 OK //禁用 IoT 平台的注册功能 //连接网络 //查询模块的 IP 地址 //创建一个 Socket //连接服务器 //发送数据 //确认数据报文已由服务器接收 //接收信息 //读取信息 //关闭 Socket 8.4. 中国电信 IoT 平台相关举例 8.4.1. 注册中国电信 IoT 平台 8.4.1.1. 自动注册模式 AT+QREGSWT? +QREGSWT:1 OK AT+NCDP=180.101.147.115,5683 OK AT+NRB REBOOTING //自动注册模式(默认模式) //设置 IoT 平台 IP 地址及端口 //重启模块 上海移远通信技术股份有限公司 161 / 169 BC28-F&BC95-GF AT 命令手册 REBOOT_CAUSE_APPLICATION_AT OK AT+CGPADDR +CGPADDR:0,10.3.42.109 OK +QLWEVTIND:0 +QLWEVTIND:3 //重启原因 //查询模块的 IP 地址 //表明成功注册 //IoT 平台已订阅实例 19/0。当模块报告此消息时,MCU 可以发送数据到 IoT 平台。 8.4.1.2. 手动注册模式 AT+CGPADDR +CGPADDR:0,11.202.63.115 OK AT+NCDP=180.101.147.115,5683 OK AT+QREGSWT? +QREGSWT:0 OK AT+QLWSREGIND=0 OK +QLWEVTIND:0 +QLWEVTIND:3 AT+QLWSREGIND=1 OK +QLWEVTIND:1 //查询模块的 IP 地址 //设置 IoT 平台 IP 地址及端口 //查询注册模式 //手动注册模式 //开始注册 IoT 平台 //表明成功注册 //IoT 平台已订阅实例 19/0。当模块报告此消息时,MCU 可以发送数据到 IoT 平台。 //从 IoT 平台注销 //表明注销成功 8.4.2. 从中国电信 IoT 平台发送/接收数据 +QLWEVTIND:0 //表明成功注册 +QLWEVTIND:3 AT+QLWULDATA=3,313233 OK //IoT 平台已订阅实例 19/0。当模块报告此消息时,MCU 可以发送数据到 IoT 平台。 //发送 NON 数据,不需要 IoT 平台应答 ACK 消息。 上海移远通信技术股份有限公司 162 / 169 BC28-F&BC95-GF AT 命令手册 +NNMI:4,AAAA0000 AT+QLWULDATAEX=3,313233,0X0100 OK +QLWULDATASTATUS:4 +NNMI:4,AAAA0000 AT+QLWULDATASTATUS? +QLWULDATASTATUS:4 OK //模块已从物联网平台接收数据 //发送 CON 消息, IoT 平台需要应答 ACK 消息 //数据发送成功 //模块已从物联网平台接收数据 //查询数据发送状态 //数据发送成功 8.5. 释放辅助指示(RAI) 当 UE 没有更多数据要发送时,它将等待网络释放连接以进入空闲模式。为了使网络快速将 UE 释放到 空闲模式以节省功耗,释放辅助指示(RAI)在 R13 中引入,用于控制面 CIoT EPS 优化,其中 UE 可以 在非接入层(NAS)信令中包含 RAI,以指示在上行数据之后没有进一步的上行或下行数据传输,从而帮 助网络确定是否可以释放连接。 R14 引入了用于控制面和用户面 CIoT EPS 优化的接入层(AS)的 RAI。 当配置 AS RAI 时,UE 可以触发具有零字节大小的缓冲区状态报告(BSR),向 eNB 指示预计不会 再有 UL 或 DL 数据,可以释放连接。 8.5.1. RAI 功能操作举例(R13) 8.5.1.1. 发送 LwM2M CON/NON 数据 执行 AT+CSCON 使能 URC 上报功能,通过 URC 的上报状态,可判断 RAI 功能是否生效。 AT+CSCON=1 OK +CSCON:0 AT+NCDP? +NCDP:180.101.147.115,5683 //使能 URC 上报功能 //IoT 平台服务器地址 OK AT+QLWULDATAEX=3,AA34BB,0x0001 //使用 0x0001 标志位发送 NON 数据 OK +CSCON:1 //建立 RRC 连接,并开始发送数据 上海移远通信技术股份有限公司 163 / 169 BC28-F&BC95-GF AT 命令手册 +CSCON:0 //数据发送完毕后,立即释放 RRC 连接 AT+QLWULDATAEX=3,AA34BB,0x0101 //使用 0x0101 标志位发送 CON 数据 OK +CSCON:1 //建立 RRC 连接,并开始发送数据 +QLWULDATASTATUS:4 //CON 数据被平台确认收到 +CSCON:0 //数据发送完毕后,立即释放 RRC 连接 8.5.2. RAI 功能操作举例(R14) 以下示例中,R14 版本 RAI 功能均已经开启并生效。 //查询 R14 版本 RAI 功能是否开启 AT+NCONFIG? …… +NCONFIG:RAI,TRUE …… //R14 版本 RAI 功能已开启 OK 8.5.2.1. 发送 LwM2M CON/NON 数据 执行 AT+CSCON 使能 URC 上报功能,通过 URC 的上报状态,可判断 RAI 功能是否生效。 //模块已经连接至 IoT 平台 AT+CSCON=1 //使能 URC 上报功能 OK AT+QLWULDATAEX=5,1122334455,0x0000,2 //使用 0x0000 标志位发送 NON 数据 OK +CSCON:1 AT+CNMPSD //建立 RRC 连接,并开始发送数据 //通知网络没有数据业务 OK +CSCON:0 //RRC 连接立即释放 AT+QLWULDATAEX=5,1122334455,0x0100 //使用 0x0100 标志位发送 CON 数据 OK +CSCON:1 //建立 RRC 连接,并开始发送数据 +QLWULDATASTATUS:4 AT+CNMPSD //通知网络没有数据业务 OK +CSCON:0 //RRC 连接立即释放 上海移远通信技术股份有限公司 164 / 169 BC28-F&BC95-GF AT 命令手册 9 附录 A 术语缩写 表 4:术语缩写 缩写 3GPP APDU APN AS BCD BER BIP BSR CDP CHAP CID CIOT CoAP CON DF DNS EAP EARFCN 英文全称 中文全称 3rd Generation Partnership Project 第三代合作伙伴计划 Application Protocol Data Unit 应用协议数据单元 Access Point Name 接入点名称 Access Stratum 接入层 Binary-Coded Decimal 二进制编码的十进数 Bit Error Rate 误码率 Bearer Independent Protocol 承载独立协议 Buffer Status Report 缓冲区状态报告 Connected Device Platform Challenge-Handshake Authentication Protocol Context Identity 连接设备平台 挑战握手认证协议 上下文 ID Cellular Internet of Things 蜂窝物联网 Constrained Application Protocol 受限的应用层协议 Confirmable 需要对端返回应答的信息类型 Dedicated File 专用文件 Domain Name Server 域名系统(服务)协议 Extensible Authentication Protocol 可扩展认证协议 E-UTRA Absolute Radio Frequency Channel E-UTRA 绝对无线频道编号 Number 上海移远通信技术股份有限公司 165 / 169 BC28-F&BC95-GF AT 命令手册 ECL eDRX EITF EMM eNB EPAT EPCO EPS ESM E-UTRA(N) FOTA GGSN GMT GPRS GSM GW HARQ HPLMN HPPLMN ID IE IMEI IMEISV IMSI IoT Enhanced Coverage Level 增强覆盖等级(多出现于 NB-IoT) Extended Discontinuous Reception 扩展非连续性接收 ESM Information Transfer Flag ESM 消息传输标志 EPS Mobility Management EPS 移动管理 Evolved Node B 演进型 Node B Eigen Comm Platform Analysis Tools EigenComm 平台分析工具 Extended Protocol Configuration Options 扩展协议配置选项 Evolved Packet System 演进型分组系统 EPS Session Management EPS 会话管理 Evolved Universal Terrestrial Radio Access 演进型通用地面无线接入(网络) (Network) Firmware Upgrade Over-The-Air 固件空中升级 Gateway GPRS Support Node 网关 GPRS 支持节点 Greenwich Mean Time 格林尼治标准时间 General Packet Radio Service 通用分组无线服务技术 Global System for Mobile Communications 全球移动通信系统 Gateway 网关 Hybrid Automatic Repeat Request 混合式自动重传请求 Home Public Land Mobile Network 本地公用陆地移动网络 Higher Priority PLMN 高优先级 PLMN 搜索周期 Identifier 标识符 Information Element 信息元素 International Mobile Equipment Identity 国际移动设备识别码 International Mobile Equipment Identity and 国际移动用户识别码及软件版本 Software Version International Mobile Subscriber Identity 国际移动用户识别码 Internet of Things 物联网 上海移远通信技术股份有限公司 166 / 169 IP IPv4 IPv6 IRA ISIM ITU-T LwM2M MCU MF MS MT NAS NB-IoT NITZ NON NSLPI NVRAM OCI OOS PAP PCI PCO P-CSCF PDCP PDN BC28-F&BC95-GF AT 命令手册 Internet Protocol Internet Protocol version 4 Internet Protocol version 6 International Reference Alphabet IM (IP Multimedia) Service Identity Module International Telecommunication Union Lightweight M2M Microcontroller Unit Master File Mobile Station Mobile Terminated Non-Access Stratum. Narrow Band Internet of Thing Network Identity and Time Zone / Network Informed Time Zone. Nonconfirmable NAS Signaling Low Priority Indication Non-Volatile Random Access Memory Outgoing Call Information Out of Service Password Authentication Protocol Physical Cell Identity Protocol Configuration Options Proxy Call Session Control Function Packet Data Convergence Protocol Packet Data Network 互联网协议 第 4 版互联网协议 第 6 版互联网协议 国际参考字母编码 IM(IP 多媒体)业务识别模块 国际电信联盟(标准化工作组) 轻量化 M2M(协议) 微型控制单元/微程序控制器 主要文件 移动台 终止于移动端的 非接入层 窄带物联网 网络标识和时区 不需要对端返回应答的信息类型 非接入层信令低优先级指示 非易失性随机访问存储器 呼出电话信息 无服务 口令验证协议 物理小区识别码 协议配置选项 代理呼叫会话控制 分组数据集中协议 分组数据网络 上海移远通信技术股份有限公司 167 / 169 PDP PIN PLMN PS PSM PUK PTW RAI RAT RN ROHC RRC RX RxQual SIB SMS SNDCP SNR SVN TA TAU TCP TE TFT TX BC28-F&BC95-GF AT 命令手册 Packet Data Protocol 分组数据协议 Personal Identification Number 个人识别号 Public Land Mobile Network 公共陆地移动网络 Packet Switch 分组交换 Power Saving Mode 省电模式 PIN Unblocking Key PIN 码解锁密码 Paging Time Window 寻呼时间窗口 Release Assistant Indication 释放辅助指示 Radio Access Technology 无线接入技术 Release Note 发布说明 Robust Header Compression 健壮性头压缩 Radio Resource Control 无线资源控制 Receive 接收 Receive Quality 接收质量 System Information Block 系统信息块 Short Message Service Sub-Network Dependent Protocol Signal-to-Noise Ratio 短消息业务 Convergence 子网相关会聚协议 信噪比 Software Version Number 软件版本 Terminal Adapter 终端适配器 Tracking Area Update. 跟踪区更新 Transmission Control Protocol 传输控制协议 Terminal Equipment 终端设备 Traffic Flow Template 业务流模板 Transmit/Transmission 发送/传输 上海移远通信技术股份有限公司 168 / 169 UART UDP UE UICC UMTS URC USIM UUID WIM Universal Asynchronous Receiver/ Transmitter User Datagram Protocol User Equipment Universal Integrated Circuit Card Universal Mobile Telecommunications System (UMTS) Unsolicited Result Code Universal Subscriber Identity Module Universally Unique Identifier Wireless Identity Module BC28-F&BC95-GF AT 命令手册 通用异步收发传输器 用户数据报协议 用户设备 通用集成电路卡 通用移动通信系统 非请求结果码 通用用户识别卡 通用唯一识别码 无线识别模块 上海移远通信技术股份有限公司 169 / 169
965.02 KB
EG060V-EA AT Commands Manual LTE-A Module Series Version: 1.0 Date: 2021-03-08 Status: Released www.quectel.com LTE-A Module Series EG060V-EA AT Commands Manual Our aim is to provide customers with timely and comprehensive service. For any assistance, please contact our company headquarters: Quectel Wireless Solutions Co., Ltd. Building 5, Shanghai Business Park Phase III (Area B), No.1016 Tianlin Road, Minhang District, Shanghai 200233, China Tel: +86 21 5108 6236 Email: info@quectel.com Or our local office. For more information, please visit: http://www.quectel.com/support/sales.htm. For technical support, or to report documentation errors, please visit: http://www.quectel.com/support/technical.htm Or email to support@quectel.com. General Notes Quectel offers the information as a service to its customers. The information provided is based upon customers’ requirements. Quectel makes every effort to ensure the quality of the information it makes available. Quectel does not make any warranty as to the information contained herein, and does not accept any liability for any injury, loss or damage of any kind incurred by use of or reliance upon the information. All information supplied herein is subject to change without prior notice. Disclaimer While Quectel has made efforts to ensure that the functions and features under development are free from errors, it is possible that these functions and features could contain errors, inaccuracies and omissions. Unless otherwise provided by valid agreement, Quectel makes no warranties of any kind, implied or express, with respect to the use of features and functions under development. To the maximum extent permitted by law, Quectel excludes all liability for any loss or damage suffered in connection with the use of the functions and features under development, regardless of whether such loss or damage may have been foreseeable. Duty of Confidentiality The Receiving Party shall keep confidential all documentation and information provided by Quectel, except when the specific permission has been granted by Quectel. The Receiving Party shall not access or use Quectel’s documentation and information for any purpose except as expressly provided herein. Furthermore, the Receiving Party shall not disclose any of the Quectel's documentation and information to any third party without the prior written consent by Quectel. For any noncompliance to the above requirements, unauthorized use, or other illegal or malicious use of the documentation and information, Quectel will reserve the right to take legal action. Quectel_EG060V-EA_AT_Commands_Manual 1 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Copyright The information contained here is proprietary technical information of Quectel. Transmitting, reproducing, disseminating and editing this document as well as using the content without permission are forbidden. Offenders will be held liable for payment of damages. All rights are reserved in the event of a patent grant or registration of a utility model or design. Copyright © Quectel Wireless Solutions Co., Ltd. 2021. All rights reserved. Quectel_EG060V-EA_AT_Commands_Manual 2 / 161 LTE-A Module Series EG060V-EA AT Commands Manual About the Document Revision History Version - Date 2021-01-28 1.0 2021-03-08 Author Paddy LI/Igni LI/ Ethan BI/Martin WANG Paddy LI/Igni LI/ Ethan BI/Martin WANG Description Creation of the document First official release Quectel_EG060V-EA_AT_Commands_Manual 3 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Contents About the Document ................................................................................................................................... 3 Contents ....................................................................................................................................................... 4 Table Index................................................................................................................................................... 8 1 Introduction .......................................................................................................................................... 9 1.1. AT Command Syntax ................................................................................................................ 9 1.1.1. Definitions ........................................................................................................................ 9 1.1.2. AT Command Syntax....................................................................................................... 9 1.2. AT Command Responses ....................................................................................................... 11 1.3. Supported Character Sets ....................................................................................................... 11 1.4. AT Command Interface ........................................................................................................... 11 1.5. Unsolicited Result Code .......................................................................................................... 11 1.6. Declaration of AT Command Examples .................................................................................. 12 2 General Commands ........................................................................................................................... 13 2.1. ATI Display Product Identification Information...................................................................... 13 2.2. AT+GMI Request Manufacturer Identification ...................................................................... 14 2.3. AT+GMM Request Model Identification................................................................................ 14 2.4. AT+GMR Request Revision Identification of Software Release .......................................... 15 2.5. AT+CGMI Request Manufacturer Identification.................................................................... 15 2.6. AT+CGMM Request Model Identification ............................................................................. 16 2.7. AT+CGMR Request Revision Identification of Software Release........................................ 16 2.8. AT+GSN Request International Mobile Equipment Identity (IMEI) ...................................... 17 2.9. AT+CGSN Request International Mobile Equipment Identity (IMEI).................................... 18 2.10. ATQ Set Result Code Presentation Mode ............................................................................ 18 2.11. ATV TA Response Format.................................................................................................... 19 2.12. ATE Set Command Echo Mode............................................................................................ 20 2.13. AT+CFUN Set UE Functionality............................................................................................ 21 2.14. AT+CMEE Configure Error Message Format ....................................................................... 22 2.15. AT+CSCS Select TE Character Set ..................................................................................... 23 2.16. AT+QURCCFG Configure URC Output Port ........................................................................ 24 3 Status Control Commands ............................................................................................................... 26 3.1. AT+CPAS Mobile Equipment Activity Status........................................................................ 26 3.2. AT+CEER Report Extended Error ........................................................................................ 27 3.3. AT+QCFG Extended Configuration Settings ........................................................................ 28 3.3.1. AT+QCFG=' usbnet' USB Network Card Configuration ............................................ 29 3.3.2. AT+QCFG='devmode' Device Mode Configuration ..................................................... 29 3.3.3. AT+QCFG='IMS' IMS Service Configuration............................................................. 30 3.3.4. AT+QCFG='nwscanmode' Configure Network Search Mode ................................... 31 3.3.5. AT+QCFG='band' Band Configuration ...................................................................... 32 3.3.6. AT+QCFG='servicedomain' Configure Service Domain ........................................... 33 3.3.7. AT+QCFG='tone/incoming' Enable/Disable Ringing Tone........................................ 34 Quectel_EG060V-EA_AT_Commands_Manual 4 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 4 (U)SIM Related Commands ............................................................................................................... 36 4.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI) ...................................... 36 4.2. AT+CLCK Facility Lock ......................................................................................................... 37 4.3. AT+CPIN Enter PIN .............................................................................................................. 39 4.4. AT+CPWD Change Password.............................................................................................. 41 4.5. AT+CSIM Generic (U)SIM Access ....................................................................................... 42 4.6. AT+CRSM Restricted (U)SIM Access .................................................................................. 43 4.7. AT+QCCID Show ICCID ....................................................................................................... 44 4.8. AT+QSIMDET (U)SIM Card Detection ................................................................................. 45 4.9. AT+QSIMSTAT (U)SIM Insertion Status Report .................................................................. 46 5 Network Service Commands ............................................................................................................ 48 5.1. AT+COPS Operator Selection .............................................................................................. 48 5.2. AT+CREG Network Registration Status ............................................................................... 50 5.3. AT+CSQ Signal Quality Report ............................................................................................ 52 5.4. AT+CPOL Preferred Operator List ....................................................................................... 53 5.5. AT+COPN Read Operator Names ....................................................................................... 54 5.6. AT+CTZU Automatic Time Zone Update.............................................................................. 55 5.7. AT+CTZR Time Zone Reporting........................................................................................... 56 5.8. AT+QSPN Query the Service Provider Name ...................................................................... 57 5.9. AT+QNWINFO Query Network Information ......................................................................... 58 5.10. AT+QNWLOCK='common/lte' Network Locking Configuration........................................... 59 5.11. AT+QENG Query Primary Serving Cell and Neighbour Cell Information ............................ 60 5.12. AT+QCAINFO Query Carrier Aggregation Parameters ....................................................... 65 6 Call Related Commands.................................................................................................................... 67 6.1. AT+QECCNUM Configure Emergency Call Numbers ......................................................... 67 7 Phonebook Commands..................................................................................................................... 69 7.1. AT+CNUM Subscriber Number ............................................................................................ 69 7.2. AT+CPBS Select Phonebook Memory Storage ................................................................... 70 7.3. AT+CPBF Find Phonebook Entries ...................................................................................... 71 7.4. AT+CPBR Read Phonebook Entries .................................................................................... 72 7.5. AT+CPBW Write Phonebook Entry ...................................................................................... 73 8 Short Message Service Commands................................................................................................. 75 8.1. AT+CSMS Select Message Service ..................................................................................... 75 8.2. AT+CMGF Message Format................................................................................................. 76 8.3. AT+CSCA Service Center Address ...................................................................................... 77 8.4. AT+CPMS Preferred Message Storage ............................................................................... 78 8.5. AT+CMGD Delete Message ................................................................................................. 80 8.6. AT+CMGL List Messages ..................................................................................................... 81 8.7. AT+CMGR Read Message ................................................................................................... 85 8.8. AT+CMGS Send Message ................................................................................................... 88 8.9. AT+CMMS Send More Messages ........................................................................................ 90 8.10. AT+CMGW Write Message to Memory ................................................................................ 91 Quectel_EG060V-EA_AT_Commands_Manual 5 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 8.11. 8.12. 8.13. 8.14. AT+CMSS Send Message from Storage.............................................................................. 93 AT+CSCB Select Cell Broadcast Message Types ............................................................... 95 AT+CSDH Show SMS Text Mode Parameters .................................................................... 96 AT+CSMP Set SMS Text Mode Parameters........................................................................ 97 9 Packet Domain Commands .............................................................................................................. 99 9.1. AT+CGATT Attachment or Detachment of PS ..................................................................... 99 9.2. AT+CGDCONT Define PDP Context.................................................................................. 100 9.3. AT+CGACT Activate or Deactivate PDP Context .............................................................. 102 9.4. AT+CGPADDR Show PDP Address .................................................................................. 103 9.5. AT+CGCLASS GPRS Mobile Station Class....................................................................... 105 9.6. AT+CGREG GPRS Network Registration Status............................................................... 106 9.7. AT+CGEREP Packet Domain Event Reporting ................................................................. 107 9.8. AT+CGSMS Select Service for MO SMS Messages ......................................................... 109 9.9. AT+CEREG EPS Network Registration Status .................................................................. 110 9.10. AT+QGDCNT Packet Data Counter ................................................................................... 111 9.11. AT+QAUGDCNT Auto Save Packet Data Counter ............................................................ 113 9.12. AT+AUTOAPN Auto-configure APN ................................................................................... 114 9.13. AT+ZGDCONT Define PDP Context .................................................................................. 115 9.14. AT+ZGACT Activate or Deactivate PDP Context............................................................... 116 9.15. AT+ZGPADDR Show PDP Address ................................................................................... 118 9.16. AT+QICSGP Define PDP Context ...................................................................................... 119 9.17. AT+QNETDEVCTL Activate or Deactivate PDP Context................................................... 120 9.18. AT+QNETDEVSTATUS Show PDP Relevant Information ................................................ 122 10 Audio Commands ............................................................................................................................ 124 10.1. AT+CLVL Loudspeaker Volume Level Selection ............................................................... 124 10.2. AT+QLDTMF Play Local DTMF.......................................................................................... 124 10.3. AT+QAUDLOOP Enable/Disable Audio Loop Test ............................................................ 126 10.4. AT+QDAI Digital Audio Interface Configuration ................................................................. 126 10.5. AT+QSIDET Set Side Tone Gain in Current Mode ............................................................ 128 10.6. AT+QSLIC Enable/Disable SLIC ........................................................................................ 129 10.7. AT+QAUDMOD Set Audio Mode........................................................................................ 130 10.8. AT+QMIC Set Uplink Gains of Microphone ........................................................................ 130 10.9. AT+QRXGAIN Set Downlink Gains of RX .......................................................................... 131 10.10. AT+VTS DTMF and Tone Generation ................................................................................ 132 11 Hardware Related Commands ........................................................................................................ 134 11.1. AT+CCLK Clock .................................................................................................................. 134 11.2. AT+QSCLK Enable/Disable Low Power Mode................................................................... 135 11.3. AT+QPOWD Power off ....................................................................................................... 135 11.4. AT+QADC Read ADC Value ................................................................................................. 136 12 Appendix A References................................................................................................................... 138 12.1. References ............................................................................................................................ 138 12.2. Summary of CME ERROR Codes......................................................................................... 143 Quectel_EG060V-EA_AT_Commands_Manual 6 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 12.3. 12.4. 12.5. 12.6. Summary of CMS ERROR Codes......................................................................................... 145 Summary of URC................................................................................................................... 147 SMS Character Sets Conversions......................................................................................... 148 Release Cause Text List of AT+CEER ................................................................................. 154 Quectel_EG060V-EA_AT_Commands_Manual 7 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table Index Table 1: Types of AT Commands .............................................................................................................. 10 Table 2: ATV0&ATV1 Result Codes Equivalence and Brief Description .................................................. 20 Table 3: Related Documents.................................................................................................................... 138 Table 4: Terms and Abbreviations ........................................................................................................... 138 Table 5: Different Coding Schemes of +CME ERROR: ................................................................. 144 Table 6: Different Coding Schemes of +CMS ERROR: ................................................................. 146 Table 7: Summary of URC ....................................................................................................................... 147 Table 8: The Way of SMS Text Input or Output....................................................................................... 148 Table 9: The Input Conversions Table (DCS=GSM 7-bit and AT+CSCS='GSM') ................................. 149 Table 10: The Output Conversions Table (DCS=GSM 7-bit and AT+CSCS='GSM') ............................ 150 Table 11: GSM Extended Characters ...................................................................................................... 150 Table 12: The Input Conversions Table (DCS=GSM 7-bit and AT+CSCS='IRA') ................................. 151 Table 13: IRA Extended Characters ........................................................................................................ 152 Table 14: The Output Conversions Table (DCS=GSM 7-bit and AT+CSCS='IRA') .............................. 153 Table 15: GSM Extended Characters ...................................................................................................... 153 Table 16: Release Cause Text List of AT+CEER .................................................................................... 154 Quectel_EG060V-EA_AT_Commands_Manual 8 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 1 Introduction This document presents the AT Command Set applicable to the Quectel LTE-A module EG060V-EA. 1.1. AT Command Syntax 1.1.1. Definitions ⚫ Carriage return character. ⚫ Line feed character. ⚫ Parameter name. Angle brackets do not appear on the command line. ⚫ [...] Optional parameter of a command or an optional part of TA information response. Square brackets do not appear on the command line. When an optional parameter is not given in a command, the new value equals to its previous value or the default settings, unless otherwise specified. ⚫ Underline Default setting of a parameter. 1.1.2. AT Command Syntax All command lines must start with AT or at and end with . Information responses and result codes always start and end with a carriage return character and a line feed character: . Throughout this document, only the commands and responses are presented, while carriage return and line feed characters are deliberately omitted. The AT Command Set applicable to EG060V-EA consists of AT commands defined in 3GPP TS 27.007, 3GPP TS 27.005 and ITU-T recommendation V.25ter and the AT Commands developed by Quectel. These AT commands fall into three categories syntactically: basic, S parameter, and extended. ⚫ Basic Syntax These AT commands have the format of AT, or AT&, where is the command, and is/are the argument(s) for that command. An example of this is ATE, which tells the DCE whether received characters should be echoed back to the DTE according to the value of . is optional and a default will be used if it is omitted. ⚫ S Parameter Syntax These AT commands have the format of ATS=, where is the index of the S register to set, Quectel_EG060V-EA_AT_Commands_Manual 9 / 161 LTE-A Module Series EG060V-EA AT Commands Manual and is the value to assign to the S register. ⚫ Extended Syntax These AT commands have four types as explained in the following table: Table 1: Types of AT Commands Command Type Syntax Description Test Command AT+=? Read Command AT+? Test the existence of corresponding Write Command and to give information about the type, value, or range of its parameter. Check the current parameter value of a corresponding Write Command. Write Command AT+=[,[,[...]]] Set user-definable parameter value. Execution Command AT+ Return a specific information parameter or perform a specific action. Multiple AT commands can be placed in a single line using a semi-colon (;) between commands. In such cases, only the first command should have the AT prefix. Commands can be in upper or lower cases. Spaces should be ignored when you enter AT commands, except in the following cases: ⚫ Within quoted strings, where spaces are preserved; ⚫ Within an unquoted string or numeric parameter; ⚫ Within an IP address; ⚫ Within the AT command name up to and including a =, ? or =?. On input, at least a carriage return is required. A newline character is ignored so it is permissible to use carriage return/line feed pairs on the input. If no command is entered after the AT token, OK will be returned. If an invalid command is entered, ERROR will be returned. Optional parameters, unless explicitly stated, need to be provided up to the last parameter being entered. NOTE Every AT command must be inputted separately. Execute a new AT command only if the former one is finished. Quectel_EG060V-EA_AT_Commands_Manual 10 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 1.2. AT Command Responses When the AT command processor has finished processing a line, it will output OK, ERROR or +CME/+CMS ERROR: to indicate that it is ready to accept a new command. Solicited information responses are sent before the final OK, ERROR or +CME/+CMS ERROR: . Responses will be in the format of: +CMD1: OK Or OK 1.3. Supported Character Sets EG060V-EA AT command interface defaults to the GSM character set. EG060V-EA supports the following character sets: ⚫ GSM format ⚫ UCS2 ⚫ IRA The character set can be configured and interrogated by using the AT+CSCS (3GPP TS 27.007) and it is defined in 3GPP TS 27.005. The character set affects transmission and reception of SMS and SMS Cell Broadcast Messages, as well as the entry and display of phone book entries text field. 1.4. AT Command Interface The AT command interface includes two USB ports (USB MODEM port and USB AT port) and one main UART port, all of which support AT command communication and data transfer. 1.5. Unsolicited Result Code As an Unsolicited Result Code and a report message, the URC is not issued as part of the response Quectel_EG060V-EA_AT_Commands_Manual 11 / 161 LTE-A Module Series EG060V-EA AT Commands Manual related to an executed AT command. A URC is issued by EG060V-EA without being requested by the TE and it is issued automatically when a certain event occurs. Typical events leading to URCs are incoming calls (RING), received short messages, high/low voltage alarm, high/low temperature alarm, etc. 1.6. Declaration of AT Command Examples The AT command examples in this document are provided to help you familiarize with AT commands and learn how to use them. The examples, however, should not be taken as Quectel’s recommendation or suggestions about how you should design a program flow or what status you should set the module into. Sometimes multiple examples may be provided for one AT command. However, this does not mean that there exists a correlation among these examples and that they should be executed in a given sequence. Quectel_EG060V-EA_AT_Commands_Manual 12 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2 General Commands 2.1. ATI Display Product Identification Information This Execution Command returns product identification information including the identifier of device type and the firmware version of the product. ATI Display Product Identification Information Execution Command ATI Response Quectel Revision: Maximum Response Time Characteristics Reference V.25ter OK 300 ms / Parameter String type. Identifier of device type. String type. Product firmware version. Example ATI Quectel EG060V-EAAA Revision: EG060VEAAAR01A02M1G OK Quectel_EG060V-EA_AT_Commands_Manual 13 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2.2. AT+GMI Request Manufacturer Identification This command returns the manufacturer identification text. It is identical with AT+CGMI. AT+GMI Request Manufacturer Identification Test Command AT+GMI=? Execution Command AT+GMI Response OK Response Quectel Maximum Response Time Characteristics Reference V.25ter OK 300 ms / 2.3. AT+GMM Request Model Identification This command returns the product model identification text. It is identical with AT+CGMM. AT+GMM Request Model Identification Test Command AT+GMM=? Execution Command AT+GMM Response OK Response Maximum Response Time Characteristics Reference V.25ter OK 300 ms / Parameter String type. Identifier of device type. Quectel_EG060V-EA_AT_Commands_Manual 14 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2.4. AT+GMR Request Revision Identification of Software Release This command returns the product firmware version identification text. It is identical with AT+CGMR. AT+GMR Request Revision Identification of Software Release Test Command AT+GMR=? Execution Command AT+GMR Response OK Response Maximum Response Time Characteristics Reference V.25ter OK 300 ms / Parameter String type. Identification text of product software version. Example AT+GMR EG060VEAAAR01A06M1G OK 2.5. AT+CGMI Request Manufacturer Identification This command returns the manufacturer identification text. It is identical with AT+GMI. AT+CGMI Request Manufacturer Identification Test Command AT+CGMI=? Execution Command AT+CGMI Response OK Response Quectel OK Quectel_EG060V-EA_AT_Commands_Manual 15 / 161 Maximum Response Time Characteristics Reference 3GPP TS 27.007 300 ms / LTE-A Module Series EG060V-EA AT Commands Manual 2.6. AT+CGMM Request Model Identification This command returns a product model identification text. It is identical with AT+GMM. AT+CGMM Request Model Identification Test Command AT+CGMM=? Execution Command AT+CGMM Response OK Response Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK 300 ms / Parameter String type. Identifier of device type. 2.7. AT+CGMR Request Revision Identification of Software Release This command returns identification text of the product firmware revision. It is identical with AT+GMR. AT+CGMR Request Revision Identification of Software Release Test Command AT+CGMR=? Execution Command AT+CGMR Response OK Response Quectel_EG060V-EA_AT_Commands_Manual 16 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK 300 ms / Parameter String type. Identification text of product firmware revision. 2.8. AT+GSN Request International Mobile Equipment Identity (IMEI) This command requests the International Mobile Equipment Identity (IMEI) number of ME. With this command, you are able to identify an individual ME device. It is identical with AT+CGSN. AT+GSN Request International Mobile Equipment Identity (IMEI) Test Command AT+GSN=? Execution Command AT+GSN Response OK Response Maximum Response Time Characteristics Reference V.25ter OK 300 ms / Parameter String type. IMEI number of the ME. NOTE The serial number (IMEI) varies with the individual ME device. Quectel_EG060V-EA_AT_Commands_Manual 17 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2.9. AT+CGSN Request International Mobile Equipment Identity (IMEI) This command requests the International Mobile Equipment Identity (IMEI) number of ME. It is identical with AT+GSN. AT+CGSN Request International Mobile Equipment Identity (IMEI) Test Command AT+CGSN=? Execution Command AT+CGSN Response OK Response Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK 300 ms / Parameter String type. IMEI number of the ME. NOTE The serial number (IMEI) varies with the individual ME device. 2.10. ATQ Set Result Code Presentation Mode This command controls whether the result code is transmitted to the TE. Other information text transmitted as response is not affected. ATQ Set Result Code Presentation Mode Execution Command ATQ Response If =0: OK If =1: (none) Quectel_EG060V-EA_AT_Commands_Manual 18 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference V.25ter 300 ms / Parameter Integer type. 0 TA transmits result code 1 Result codes are suppressed and not transmitted 2.11. ATV TA Response Format This command determines the contents of header and trailer transmitted with AT command result codes and information responses. ATV TA Response Format Execution Command ATV Response When =0 0 Maximum Response Time Characteristics Reference V.25ter When =1 OK 300 ms / Parameter Integer type. 0 Information response: Short result code format: 1 Information response: Long result code format: Quectel_EG060V-EA_AT_Commands_Manual 19 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Example ATV1 OK AT+CSQ +CSQ: 30,99 //Set =1. //Query the current signal strength. OK ATV0 0 AT+CSQ +CSQ: 30,99 0 //When =1, the result code is OK. //Set =0. //When =0, the result code is 0. The equivalence between ATV0 and ATV1 result codes as well as the brief description of such codes are listed in the following table. Table 2: ATV0&ATV1 Result Codes Equivalence and Brief Description ATV1 OK ERROR ATV0 0 4 Description Acknowledges execution of a command Command not recognized, command line maximum length exceeded, parameter value invalid, or other problem with processing the command line 2.12. ATE Set Command Echo Mode This command controls whether or not the module echoes characters received from TE in AT command mode. ATE Set Command Echo Mode Execution Command ATE Response OK Maximum Response Time 300 ms Characteristics / Reference V.25ter Quectel_EG060V-EA_AT_Commands_Manual 20 / 161 Parameter Integer type. 0 Echo mode OFF 1 Echo mode ON LTE-A Module Series EG060V-EA AT Commands Manual 2.13. AT+CFUN Set UE Functionality This command controls the functionality level. It can also be used to reset the UE. AT+CFUN Set UE Functionality Test Command AT+CFUN=? Response +CFUN: (list of supported s),(list of supported s) Read Command AT+CFUN? OK Response +CFUN: Write Command AT+CFUN=[,] OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 15 s, determined by network. / Parameter Integer type. 0 Minimum functionality 1 Full functionality 3 Disable the UE from receiving RF signals 4 Disable the UE from both transmitting and receiving RF signals 5 Disable (U)SIM Quectel_EG060V-EA_AT_Commands_Manual 21 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 6 Second RX off Integer type. 0 Do not reset the UE before setting it to a functionality level. 1 Reset the UE. The device is fully functional after the reset. This value is applicable only when =1. Error codes. For more details, refer to Chapter 12.2. Example AT+CFUN=0 OK AT+CPIN? +CME ERROR: 13 AT+CFUN=1 OK AT+CPIN? +CPIN: READY OK AT+COPS? +COPS: 0,2,'46000',7 OK //Switch UE to minimum functionality. //(U)SIM failure. //Switch UE to full functionality. //Operator is registered. 2.14. AT+CMEE Configure Error Message Format This command configures whether to display the error result code +CME ERROR: , and in which format the code is displayed, numeric value or verbose message. AT+CMEE Configure Error Message Format Test Command AT+CMEE=? Response +CMEE: (range of supported s) Read Command AT+CMEE? OK Response +CMEE: Write Command AT+CMEE= OK Response TA disables or enables the use of the result code +CME ERROR: as an indication of an error related to the functionality of the ME. Quectel_EG060V-EA_AT_Commands_Manual 22 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK 300 ms / Parameter Integer or String type. 0 Disable result code, and use ERROR instead 1 Enable result code and display in numeric format 2 Enable result code and display in verbose format Error codes. For more details, refer to Chapter 12.2. Example AT+CMEE=0 OK AT+CPIN? ERROR AT+CMEE=1 OK AT+CPIN? +CME ERROR: 10 AT+CMEE=2 OK AT+CPIN? +CME ERROR: SIM not inserted //Disable result code. //Only ERROR is displayed. //Enable error result code in numeric format. //Enable error result code in verbose format. 2.15. AT+CSCS Select TE Character Set This Write Command informs the module which character set is used by the TE. This enables the UE to convert character strings correctly between TE and UE character sets. AT+CSCS Select TE Character Set Test Command AT+CSCS=? Response +CSCS: (list of supported s) OK Quectel_EG060V-EA_AT_Commands_Manual 23 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+CSCS? Write Command AT+CSCS= Maximum Response Time Characteristics Reference 3GPP TS 27.007 Response +CSCS: OK Response OK 300 ms / Parameter String type. 'GSM' GSM default alphabet 'IRA' International reference alphabet 'UCS2' UCS2 alphabet Example AT+CSCS? +CSCS: 'GSM' OK AT+CSCS='UCS2' OK AT+CSCS? +CSCS: 'UCS2' OK //Query the current character set of the module. //Set the character set to 'UCS2'. 2.16. AT+QURCCFG Configure URC Output Port This command configures the output port of URC. AT+QURCCFG Configure URC Output Port Test Command AT+QURCCFG=? Response +QURCCFG: 'urcport',(list of supported s) Quectel_EG060V-EA_AT_Commands_Manual 24 / 161 LTE-A Module Series EG060V-EA AT Commands Manual OK Write Command AT+QURCCFG='urcport'[,] Response If the optional parameter is omitted, query the current configuration: +QURCCFG: 'urcport', OK If the optional parameter is specified, configure the output port of URC: OK Or ERROR Maximum Response Time Characteristics 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter String type. Set URC output port. 'usbat' USB AT port 'usbmodem' USB modem port 'uart1' Main UART Example AT+QURCCFG=? +QURCCFG: 'urcport',('usbat','usbmodem','uart1') OK AT+QURCCFG='urcport' +QURCCFG: 'urcport','usbat' OK AT+QURCCFG='urcport','usbmodem' OK AT+QURCCFG='urcport' +QURCCFG: 'urcport','usbmodem' OK Quectel_EG060V-EA_AT_Commands_Manual 25 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 3 Status Control Commands 3.1. AT+CPAS Mobile Equipment Activity Status This command queries the activity status of the module. AT+CPAS Mobile Equipment Activity Status Test Command AT+CPAS=? Response +CPAS: (list of supported s) Execution Command AT+CPAS OK Response TA returns the activity status of ME: +CPAS: OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter Integer type. ME activity status. 0 Ready 1 Unavailable 2 Unknown 3 Ringing 4 Call in progress or call on hold 5 Asleep 6 Call active Quectel_EG060V-EA_AT_Commands_Manual 26 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Error codes. For more details, refer to Chapter 12.2. Example AT+CPAS +CPAS: 0 OK RING AT+CLCC +CLCC: 1,1,4,0,0,'15695519173',129,'',,0 OK AT+CPAS +CPAS: 3 OK AT+CLCC +CLCC: 1,0,0,0,0,'10010',129,'',, 0 OK AT+CPAS +CPAS: 6 OK //The module is ready. //The module is having an incoming call. //The module is ringing. //The module is making an outgoing call. //Call active. 3.2. AT+CEER Report Extended Error This command queries an extended error and report the cause of the last operation that failed, such as: ⚫ The failure to release a call ⚫ The failure to set up a call (both mobile originated or terminated) ⚫ The failure to modify a call by using supplementary services ⚫ The failure to activate, register, query, deactivate or deregister a supplementary service ⚫ The failure to attach to a GPRS network or the failure to activate a PDP context ⚫ The failure to detach from a GPRS network or the failure to deactivate a PDP context AT+CEER Report Extended Error Test command AT+CEER=? Response OK Quectel_EG060V-EA_AT_Commands_Manual 27 / 161 Execution command AT+CEER Maximum Response Time Characteristics LTE-A Module Series EG060V-EA AT Commands Manual Response +CEER: OK If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter String type. Cause of the last failure in setting up or releasing a CS or PS domain call. Possible causes are listed in Chapter 12.6. Cause data is captured from Call Manager events and cached locally for later use by this command. Error codes. For more details, refer to Chapter 12.2. 3.3. AT+QCFG Extended Configuration Settings This command queries and configures various UE settings. AT+QCFG Extended Configuration Settings Test Command AT+QCFG=? Response +QCFG: 'usbnet',(list of supported s) +QCFG: 'devmode',(list of supported s) +QCFG: 'IMS',(list of supported s) +QCFG: 'nwscanmode',(range of supported s) +QCFG: 'band',(list of supported s),(list of supported s) +QCFG: 'servicedomain',(range of supported s) +QCFG: 'tone/incoming',(list of supported s) Maximum Response Time OK 300 ms Quectel_EG060V-EA_AT_Commands_Manual 28 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 3.3.1. AT+QCFG=' usbnet' USB Network Card Configuration This command specifies a protocol for the USB network card. AT+QCFG= ' usbnet' USB Network Card configuration Write Command AT+QCFG='usbnet'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'usbnet', OK If the optional parameter is specified, configure the network card mode: OK Maximum Response Time Characteristics If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect after rebooting. The configuration will be saved automatically. Parameter Integer type. Protocol type specified for the USB network card. 1 ECM 3 RNDIS 4 NCM Error codes. For more details, refer to Chapter 12.2. 3.3.2. AT+QCFG='devmode' Device Mode Configuration This command configures the device mode. And the configuration will take effect after module reset. AT+QCFG='devmode' Device Mode Configuration Write Command AT+QCFG='devmode'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'devmode', Quectel_EG060V-EA_AT_Commands_Manual 29 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK If the optional parameter is specified, configure the device mode of UE: OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect after rebooting. The configuration will be saved automatically. Parameter Integer type. The mode of device. 0 Bridge mode 1 Router mode Error codes. For more details, refer to Chapter 12.2. 3.3.3. AT+QCFG='IMS' IMS Service Configuration This command specifies IMS service configuration. AT+QCFG='IMS' IMS Service Configuration Write Command AT+QCFG='IMS'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'IMS', OK If the optional parameter is specified, enable/disable VoLTE function: OK If there is any error: +CME ERROR: Or Quectel_EG060V-EA_AT_Commands_Manual 30 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 ERROR 300 ms The command takes effect after rebooting. The configuration will be saved automatically. Parameter Integer type. 0 Disable IMS service 1 Enable IMS service Error codes. For more details, refer to Chapter 12.2. 3.3.4. AT+QCFG='nwscanmode' Configure Network Search Mode This command specifies the network search mode. AT+QCFG='nwscanmode' Configure Network Search Mode Write Command AT+QCFG='nwscanmode'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'nwscanmode', OK If the optional parameter is specified, configure a network mode to search for: OK Maximum Response Time Characteristics If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 31 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. Network search mode. 0 AUTO 1 GSM only 2 WCDMA only 3 LTE only Error codes. For more details, refer to Chapter 12.2. Example AT+QCFG='nwscanmode',0 OK AT+QCFG='nwscanmode' +QCFG: 'nwscanmode',0 OK //Configure to AUTO mode. //Query the current network search mode. 3.3.5. AT+QCFG='band' Band Configuration This command specifies the preferred frequency bands to search for. AT+QCFG='band' Band Configuration Write Command AT+QCFG='band'[,,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'band',, OK If the optional parameter is specified, configure the preferred frequency bands to search for: OK Maximum Response Time Characteristics If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 32 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter String type. A hexadecimal value that specifies the preferred GSM and WCDMA frequency bands. Here is an example: 00000013=00000001(GSM900)+00000002(GSM1800)+00000010(WCDMA2100). If it is set to 0, it means there is no change to the preferred GSM and WCDMA frequency bands specified previously. 00000000 No change 00000001 GSM 900 B8 00000002 GSM 1800 B3 00000004 GSM 850 B5 00000010 WCDMA 2100 B1 00000040 WCDMA 850 B5 00000080 WCDMA 900 B8 0000FFFF Any frequency band String type. A hexadecimal value that specifies the preferred LTE frequency bands. If it is set to 0 or 0x40000000, it means there is no change to the preferred LTE frequency bands specified previously, e.g., 0x15=0x1(LTE B1)+0x4(LTE B3)+0x10(LTE B5). 0x1 (CM_BAND_PREF_LTE_EUTRAN_BAND1) LTE B1 0x4 (CM_BAND_PREF_LTE_EUTRAN_BAND3) LTE B3 0x10 (CM_BAND_PREF_LTE_EUTRAN_BAND5) LTE B5 0x40 (CM_BAND_PREF_LTE_EUTRAN_BAND7) LTE B7 0x80 (CM_BAND_PREF_LTE_EUTRAN_BAND8) LTE B8 0x80000(CM_BAND_PREF_LTE_EUTRAN_BAND20) LTE B20 0x8000000(CM_BAND_PREF_LTE_EUTRAN_BAND28) LTE B28 0x2000000000(CM_BAND_PREF_LTE_EUTRAN_BAND38) LTE B38 0x8000000000(CM_BAND_PREF_LTE_EUTRAN_BAND40) LTE B40 0x10000000000(CM_BAND_PREF_LTE_EUTRAN_BAND41) LTE B41 0x7FFFFFFFFFFFFFFF(CM_BAND_PREF_ANY) Any frequency band Error codes. For more details, refer to Chapter 12.2. 3.3.6. AT+QCFG='servicedomain' Configure Service Domain This command configures the service domain of UE. AT+QCFG='servicedomain' Configure Service Domain Write Command AT+QCFG='servicedomain'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'servicedomain', OK Quectel_EG060V-EA_AT_Commands_Manual 33 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics If the optional parameter is specified, configure the service domain of UE: OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. Service domain of UE. 0 CS only 1 PS only 2 CS&PS Error codes. For more details, refer to Chapter 12.2. Example AT+QCFG='servicedomain',2 OK AT+ QCFG='servicedomain' +QCFG: 'servicedomain',2 OK //Configure service domain as CS&PS. //Query service domain. 3.3.7. AT+QCFG='tone/incoming' Enable/Disable Ringing Tone This command enables or disables the ringing tone function. And the configuration will take effect immediately. AT+ QCFG='tone/incoming' Enable/Disable Ringing Tone Write Command AT+QCFG='tone/incoming'[, ] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'tone/incoming', OK Quectel_EG060V-EA_AT_Commands_Manual 34 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics If the optional parameter is specified, enable/disable the ringing tone function: OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. 0 Disable ring tone 1 Enable ring tone Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 35 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 4 (U)SIM Related Commands 4.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI) This command requests the International Mobile Subscriber Identity (IMSI) which is intended to permit the TE to identify the individual SIM card or the active application that is attached to MT. AT+CIMI Request International Mobile Subscriber Identity (IMSI) Test Command AT+CIMI=? Response OK Execution Command AT+CIMI Response TA returns for identifying the (U)SIM attached to ME. OK Maximum Response Time Characteristic Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter International Mobile Subscriber Identity (string without double quotes). Error codes. For more details, refer to Chapter 12.2 Example AT+CIMI 460023210226023 //Query IMSI number of the (U)SIM attached to ME. Quectel_EG060V-EA_AT_Commands_Manual 36 / 161 LTE-A Module Series EG060V-EA AT Commands Manual OK 4.2. AT+CLCK Facility Lock This command locks, unlocks or queries an MT or a network facility . It can be aborted when network facilities are being set or queried. Password is normally needed to do such operations. The factory default password of PF, PN, PU, PP and PC lock is '12341234'. When querying the status of a network service (=2), the response line for ‘not active’ case (=0) should be returned only if the service is not active for any . AT+CLCK Facility Lock Test Command AT+CLCK=? Response +CLCK: (list of supported s) OK Write Command Response AT+CLCK=,[,[ If is 0 or 1 and the command is set successfully: ,]] OK If =2 and command is set successfully: +CLCK: [,] […] Maximum Response Time Characteristic Reference 3GPP TS 27.007 OK 5 s The command takes effect immediately. The configuration will be saved automatically. Parameter String type. 'SC' (U)SIM (lock SIM/UICC card installed in the currently selected card slot) (SIM/UICC asks password in MT power-up and when this command is issued). 'CS' CNTRL (lock CoNTRoL surface (e.g. phone keyboard)) 'PS' PH-SIM (lock PHone to SIM card) (ME asks password when other than current SIM card inserted; ME may remember certain amount of previously used cards thus not requiring password when they are inserted) 'PF' Lock Phone to the very First inserted SIM card (also referred as PH-FSIM) (ME asks for password when a SIM card other than the first inserted one is inserted) Quectel_EG060V-EA_AT_Commands_Manual 37 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 'AO' BAOC (Bar All Outgoing Calls) (refer to 3GPP TS 22.088 clause 1) 'OI' BOIC (Bar Outgoing International Calls) (refer to 3GPP TS 22.088 clause 1) 'OX' BOIC-exHC (Bar Outgoing International Calls except to Home Country) (refer to 3GPP TS 22.088 clause 1) 'AI' BAIC (Bar All Incoming Calls) (refer to 3GPP TS 22.088 clause 2) 'IR' BIC-Roam (Bar Incoming Calls when Roaming outside the home country) (refer to 3GPP TS 22.088 clause 2) 'NT' Bar incoming calls from numbers Not stored to TA memory 'NM' Bar incoming calls from numbers Not stored to ME memory 'NS' Bar incoming calls from numbers Not stored to SIM memory 'NA' Bar incoming calls from numbers Not stored in Any memory 'AB' All Barring services (refer to 3GPP TS 22.030) (applicable only for =0) 'AG' All outgoing barring services (refer to 3GPP TS 22.030) (applicable only for =0) 'AC' All incoming barring services (refer to 3GPP TS 22.030) (applicable only for =0) 'FD' SIM card or active application in the UICC (GSM or USIM) fixed dialing memory feature (if PIN2 authentication has not been done during the current session, PIN2 is required as ) 'PN' Network Personalization (refer to 3GPP TS 22.022) 'PU' Network Subset Personalization (refer to 3GPP TS 22.022) 'PP' Service Provider Personalization (refer to 3GPP TS 22.022) 'PC' Corporate Personalization (refer to 3GPP TS 22.022) Integer type. 0 Unlock 1 Lock 2 Query status String type. Password. Integer type. 1 Voice 2 Data 4 FAX 7 All telephony except SMS (Default) 8 Short message service 16 Data circuit synchronization 32 Data circuit asynchronization Integer type. Facility status. 0 Off 1 On Example AT+CLCK='SC',2 +CLCK: 0 //Query the status of (U)SIM card. //The (U)SIM card is unlocked (OFF). Quectel_EG060V-EA_AT_Commands_Manual 38 / 161 OK AT+CLCK='SC',1,'1234' OK AT+CLCK='SC',2 +CLCK: 1 OK AT+CLCK='SC',0,'1234' OK LTE-A Module Series EG060V-EA AT Commands Manual //Lock (U)SIM card, and the password is 1234. //Query the status of (U)SIM card. //The (U)SIM card is locked (ON). //Unlock (U)SIM card. 4.3. AT+CPIN Enter PIN This command enters a password or queries whether or not the module requires a password so that it can be operated. The password may be (U)SIM PIN, (U)SIM PUK, PH-SIM PIN, etc. This Read Command returns an alphanumeric string indicating whether or not some password is required. TA stores a password, such as (U)SIM PIN, (U)SIM PUK, etc., which is necessary for it to be operated. TA shall automatically repeat a PIN that is entered for a second time. If no PIN request is pending, no action is taken and an error message +CME ERROR is returned to TE. If the PIN required is (U)SIM PUK or (U)SIM PUK2, the second pin is required. This second pin is used to replace the old pin in the (U)SIM. AT+CPIN Enter PIN Test Command AT+CPIN=? Read Command AT+CPIN? Response OK Response +CPIN: Write Command AT+CPIN=[,] Maximum Response Time Characteristic Reference 3GPP TS 27.007 OK Response OK 5 s The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 39 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter String without double quotes. Type of the password MT requires. READY MT is not pending for any password SIM PIN MT is waiting for (U)SIM PIN to be given SIM PUK MT is waiting for (U)SIM PUK to be given SIM PIN2 MT is waiting for (U)SIM PIN2 to be given SIM PUK2 MT is waiting for SIM PUK2 to be given PH-NET PIN MT is waiting for network personalization password to be given PH-NET PUK MT is waiting for network personalization unblocking password to be given PH-NETSUB PIN MT is waiting for network subset personalization password to be given PH-NETSUB PUK MT is waiting for network subset personalization unblocking password to be given PH-SP PIN MT is waiting for service provider personalization password to be given PH-SP PUK MT is waiting for service provider personalization unblocking password to be given PH-CORP PIN MT is waiting for corporate personalization password to be given PH-CORP PUK MT is waiting for corporate personalization unblocking password to be given String type. Password. If the requested password is a PUK, such as (U)SIM PUK, then must be followed by . String type. New password required when the requested code is a PUK. Example //Enter PIN. AT+CPIN? +CPIN: SIM PIN OK AT+CPIN=1234 OK +CPIN: READY AT+CPIN? +CPIN: READY OK //Enter PUK and PIN. AT+CPIN? //A PIN code is required. //Enter PIN. //PIN has already been entered. Quectel_EG060V-EA_AT_Commands_Manual 40 / 161 +CPIN: SIM PUK OK AT+CPIN='26601934','1234' OK +CPIN: READY AT+CPIN? +CPIN: READY OK LTE-A Module Series EG060V-EA AT Commands Manual //A PUK code is required. //Enter PUK and a new PIN password. //PUK has already been entered. 4.4. AT+CPWD Change Password This command sets a new password for the facility lock function defined by AT+CLCK. This Test Command returns a list of pairs which present the available facilities and the maximum length of their password. AT+CPWD Change Password Test Command AT+CPWD=? Response +CPWD: (list of supported s),(s) Write Command AT+CPWD=,, Maximum Response Time Characteristic Reference 3GPP TS 27.007 OK Response OK 5 s The command takes effect immediately. The configuration will be saved automatically. Parameter String type. Facility values. 'SC' (U)SIM (lock SIM/UICC card) (SIM/UICC asks password in MT power-up and when this lock command is issued) 'AO' BAOC (Bar All Outgoing Calls, refer to 3GPP TS 22.088 clause 1) 'OI' BOIC (Bar Outgoing International Calls, refer to 3GPP TS 22.088 clause 1) 'OX' BOIC-exHC (Bar Outgoing International Calls except to Home Country, refer to Quectel_EG060V-EA_AT_Commands_Manual 41 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 3GPP TS 22.088 clause 1) 'AI' BAIC (Bar All Incoming Calls, refer to 3GPP TS 22.088 clause 2) 'IR' BIC-Roam (Bar Incoming Calls when Roaming outside the home country, refer to 3GPP TS 22.088 clause 2) 'AB' All barring services (refer to 3GPP TS 22.030, applicable only for =0) 'AG' All outgoing barring services (refer to 3GPP TS 22.030, applicable only for =0) 'AC' All incoming barring services (refer to 3GPP TS 22.030, applicable only for =0) 'P2' (U)SIM PIN2 Integer type. Maximum length of password. String type. Old password specified for the facility from the user interface or with command. String type. New password. Example AT+CPIN? +CPIN: READY OK AT+CPWD='SC','1234','4321' //Change (U)SIM card password from '1234' to '4321'. OK //Restart module or re-activate the SIM card. AT+CPIN? //Query the type of PIN code required. +CPIN: SIM PIN OK AT+CPIN='4321' OK //Enter the new PIN to re-activate the SIM card. +CPIN: READY 4.5. AT+CSIM Generic (U)SIM Access This command allows a direct control of the (U)SIM that is installed in the currently selected card slot by a distant application on the TE. The TE shall then keep the processing of (U)SIM information within the frame specified by GSM/UMTS. AT+CSIM Generic (U)SIM Access Test Command AT+CSIM=? Response OK Quectel_EG060V-EA_AT_Commands_Manual 42 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command AT+CSIM=, Maximum Response Time Characteristic Reference 3GPP TS 27.007 Response +CSIM: , OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. Length of or string. Command transferred by MT to (U)SIM in the format described in 3GPP TS 51.011. Response to the command transferred by the (U)SIM to the MT in the format as described in 3GPP TS 51.011. 4.6. AT+CRSM Restricted (U)SIM Access This command offers easy but limited access to the (U)SIM database. It transmits the (U)SIM command number and its required parameters to the MT. AT+CRSM Restricted (U)SIM Access Test Command AT+CRSM=? Write Command AT+CRSM=[,[,,,[,][,]]] Response OK Response +CRSM: ,[,] OK Maximum Response Time If there is any error: +CME ERROR: Or ERROR 300 ms Quectel_EG060V-EA_AT_Commands_Manual 43 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Characteristic Reference 3GPP TS 27.007 The command takes effect immediately. The configuration will be saved automatically. Parameter , , , (U)SIM command number. 176 READ BINARY 178 READ RECORD 192 GET RESPONSE 214 UPDATE BINARY 220 UPDATE RECORD 242 STATUS Integer type. Identifier for an elementary data file on (U)SIM, if used by . Integer type. Parameters transferred by the MT to the (U)SIM. These parameters are mandatory for every command, except GET RESPONSE and STATUS. The values are described in 3GPP TS 51.011. Information which shall be written to the (U)SIM (hexadecimal character format; refer to AT+CSCS). The directory path of an elementary file on a UICC in hexadecimal format. Integer type. Information from the (U)SIM about the execution of the actual command. These parameters are delivered to the TE in both cases, on successful or failed execution of the command. Response of a successful completion of the command previously issued (hexadecimal character format; refer to AT+CSCS). STATUS and GET RESPONSE return data, which gives information about the current elementary data field. The information includes the type of file and its size (refer to 3GPP TS 51.011). After READ BINARY, READ RECORD or RETRIEVE DATA command, the requested data will be returned. is not returned after a successful UPDATE BINARY, UPDATE RECORD or SET DATA command. Error codes. For more details, refer to Chapter 12.2. 4.7. AT+QCCID Show ICCID This command returns the ICCID (Integrated Circuit Card Identifier) number of (U)SIM card. AT+QCCID Show ICCID Test Command AT+QCCID=? Response OK Quectel_EG060V-EA_AT_Commands_Manual 44 / 161 Execution Command AT+QCCID Maximum Response Time Characteristic LTE-A Module Series EG060V-EA AT Commands Manual Response +QCCID: OK Or ERROR 300 ms / Parameter String without double quotes. ICCID (Integrated Circuit Card Identifier) number of the (U)SIM card. Example AT+QCCID //Query ICCID of the (U)SIM card. +QCCID: 89860025128306012474 OK 4.8. AT+QSIMDET (U)SIM Card Detection This command enables (U)SIM card hot-swap function. (U)SIM card is detected by GPIO interrupt. The level of (U)SIM card detection pin when the (U)SIM card is inserted should also be set. AT+ QSIMDET (U)SIM Card Detection Test Command AT+QSIMDET=? Response +QSIMDET: (list of supported s),(list of supported s) Read Command AT+QSIMDET? OK Response +QSIMDET: , Write Command AT+QSIMDET=, OK Response OK Or ERROR Quectel_EG060V-EA_AT_Commands_Manual 45 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristic 300 ms The command takes effect after rebooting. The configuration will be saved automatically. Parameter Integer type. Integer type. Enable or disable (U)SIM card detection. 0 Disable 1 Enable Integer type. The level of (U)SIM detection pin when a (U)SIM card is inserted. 0 Low level 1 High level ⚫NOTES Hot-swap function is invalid if the value of is inconsistent with your hardware design. 4.9. AT+QSIMSTAT (U)SIM Insertion Status Report This command queries (U)SIM card insertion status or determines whether to report (U)SIM card insertion status. AT+QSIMSTAT (U)SIM Insertion Status Report Test Command AT+QSIMSTAT=? Response +QSIMSTAT: (list of supported s) Read Command AT+QSIMSTAT? OK Response +QSIMSTAT: , Write Command AT+QSIMSTAT= Maximum Response Time Characteristic OK Response OK Or ERROR 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 46 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. Enable or disable (U)SIM inserted status report. If it is enabled, when (U)SIM card is removed or inserted, the URC below will be reported: +QSIMSTAT: ,. 0 Disable 1 Enable Integer type. (U)SIM card status. This argument is not allowed to be set. 0 Removed 1 Inserted 2 Unknown, before (U)SIM initialization Example AT+QSIMSTAT? +QSIMSTAT: 0,1 OK AT+QSIMDET=1,0 OK AT+QSIMSTAT=1 OK AT+QSIMSTAT? +QSIMSTAT: 1,1 OK //Remove the (U)SIM card. +QSIMSTAT: 1,0 +CPIN: NOT READY AT+QSIMSTAT? +QSIMSTAT: 1,0 OK //Insert a (U)SIM card. +QSIMSTAT: 1,1 +CPIN: READY //Query (U)SIM card insertion status. //Enable (U)SIM card insertion status report. //Report (U)SIM card insertion status: removed. //Report (U)SIM card insertion status: inserted. Quectel_EG060V-EA_AT_Commands_Manual 47 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 5 Network Service Commands 5.1. AT+COPS Operator Selection This command returns the current operators and their status, and allows setting automatic or manual network selection. This Test Command returns a set of five parameters, each representing an operator presenting in the network. Any of the formats may be unavailable and should then be an empty field. The list of operators shall be in the order of: home network, networks referenced in (U)SIM and other networks. This Read Command returns the current mode and the currently selected operator. If no operator is selected, , and are omitted. This Write Command forces an attempt to select and register the GSM/UMTS network operator. If the selected operator is not available, no other operator shall be selected (except =4). The format of selected operator name shall apply to further Read Command (AT+COPS?). AT+COPS Operator Selection Test Command AT+COPS=? Response +COPS: [(list of supported ,long alphanumeric ,short alphanumeric ,numeric s[,])s][,,(range of supported s),(range of support ed s)] OK Read Command AT+COPS? If there is any error: +CME ERROR: Or ERROR Response +COPS: [,[,][,]] OK If there is any error: Quectel_EG060V-EA_AT_Commands_Manual 48 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command AT+COPS=[,[,[ ,]]] +CME ERROR: Or ERROR Response OK If there is any error: +CME ERROR: Or ERROR Maximum Response Time 180 s, determined by network. Characteristic / Reference 3GPP TS 27.007 Parameter Integer type. Operator status. 0 Unknown 1 Operator available 2 Current operator 3 Operator forbidden Strig type. Operator in format as per . Integer type. 0 Automatic mode. field is ignored 1 Manual operator selection. field shall be present and optionally 2 Manually deregister from network 3 Set only (for AT+COPS? Read Command), and do not attempt registration/deregistration ( and fields are ignored). This value is invalid in the response of Read Command 4 Manual/automatic selection. field shall be presented. If manual selection fails, automatic mode (=0) is entered Integer type. 0 Long format alphanumeric which can be up to 16 characters long 1 Short format alphanumeric 2 Numeric . GSM location area identification number Integer type. Access technology selected. Values 3, 4, 5 and 6 occur only in the response of Read Command while MS is in data service state and are not intended for the AT+COPS Write Command. 0 GSM 2 UTRAN 3 GSM W/EGPRS Quectel_EG060V-EA_AT_Commands_Manual 49 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 4 UTRAN W/HSDPA 5 UTRAN W/HSUPA 6 UTRAN W/HSDPA and HSUPA 7 E-UTRAN 8 UTRAN HSPA+ Error codes. For more details, refer to Chapter 12.2. Example AT+COPS=? //List all the current network operators. +COPS: (1,'CHN-UNICOM','UNICOM','46001',2),(1,'CHN-UNICOM','UNICOM','46001',0),(2,'CHN-UNICO M','UNICOM','46001',7),(1, 'CHN-CT', 'CT','46011',7),(3,'CHINA MOBILE','CMCC','46000',0),,(0-4),(0-2) OK AT+COPS? +COPS: 0,0,'46000',7 //Query the currently selected network operator. OK 5.2. AT+CREG Network Registration Status The Read Command returns the status of result code presentation and an integer which shows whether the network has currently indicated the registration of the ME. Location information elements and are returned only when =2 and ME is registered on the network. The Write Command controls the presentation of an unsolicited result code +CREG: when =1 and there is a change in the ME network registration status. AT+CREG Network Registration Status Test Command AT+CREG=? Response +CREG: (list of supported s) Read Command AT+CREG? OK Response +CREG: ,[,,[,]] OK If there is any error related to ME functionality: +CME ERROR: Quectel_EG060V-EA_AT_Commands_Manual 50 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command AT+CREG=[] Maximum Response Time Characteristic Reference 3GPP TS 27.007 Or ERROR Response OK 300 ms / Parameter Integer type. Whether to enable network registration URC. 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code: +CREG: 2 Enable network registration unsolicited result code with location information: +CREG: [,,[,]] Integer type. Registration status. 0 Not registered. ME is not currently searching a new operator to register to 1 Registered, home network 2 Not registered, but ME is currently searching a new operator to register to 3 Registration denied 4 Unknown 5 Registered, roaming String type. Two bytes location area code in hexadecimal format. String type. 16-bit (GSM) or 28-bit (UMTS/LTE) cell ID in hexadecimal format. Integer type. Access technology selected. 0 GSM 2 UTRAN 3 GSM W/EGPRS 4 UTRAN W/HSDPA 5 UTRAN W/HSUPA 6 UTRAN W/HSDPA and HSUPA 7 E-UTRAN 8 UTRAN HSPA+ Error codes. For more details, refer to Chapter 12.2. Example AT+CREG=2 OK AT+CREG? +CREG: 2,1,'550c','5a29c0b',7 //Activate extended URC mode. //URC reporting MT has registered on an E-UTRAN network. Quectel_EG060V-EA_AT_Commands_Manual 51 / 161 LTE-A Module Series EG060V-EA AT Commands Manual OK 5.3. AT+CSQ Signal Quality Report This command indicates the received signal strength and the channel bit error rate . This Test Command returns values supported by the TA. This Execution Command returns received signal strength indication and channel bit error rate from the ME. AT+CSQ Signal Quality Report Test Command AT+CSQ=? Response +CSQ: (list of supported s),(list of supported s) Execution Command AT+CSQ OK Response +CSQ: , OK Maximum Response Time Characteristic Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter Integer type. Received signal strength indicator. 0 -113dBm or less 1 -111dBm 2...30 -109dBm... -53dBm 31 -51dBm or greater 99 Not known or not detectable Integer type. Channel bit error rate (in percent). 0...7 As RXQUAL values in the table in 3GPP TS 45.008 subclause 8.2.4 99 Not known or not detectable Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 52 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Example AT+CSQ=? +CSQ: (0-31,99),(0-7,99) OK AT+CSQ +CSQ: 28,99 //The received signal strength indicator is 28 and the channel bit error rate is 99. OK 5.4. AT+CPOL Preferred Operator List This command edits and queries the list of preferred operators. AT+CPOL Preferred Operator List Test Command AT+CPOL=? Response +CPOL: (list of supported s),(list of supported s) Read Command AT+CPOL? OK Response Query the list of preferred operators: +CPOL: ,,[,,,,] ,,[,,,,] […] Write Command AT+CPOL=[,[,[,, ,]]] OK Response Edit the list of preferred operators: OK If there is any error: +CME ERROR: Or ERROR Maximum Response Time Characteristic If is given but is left out, the entry is deleted. 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 53 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference 3GPP TS 27.007 Parameter Integer type. The order number of operators in (U)SIM preferred operator list. 0 Long format alphanumeric 1 Short format alphanumeric 2 Numeric String type. indicates the format is alphanumeric or numeric (see AT+COPS). Integer type. GSM access technology. 0 Access technology is not selected 1 Access technology is selected Integer type. GSM compact access technology. 0 Access technology is not selected 1 Access technology is selected Integer type. UTRAN access technology. 0 Access technology is not selected 1 Access technology is selected Integer type. E-UTRAN access technology. 0 Access technology is not selected 1 Access technology is selected Error codes. For more details, refer to Chapter 12.2. NOTE The access technology selection parameters , , and are required when UE selects the PLMN selector and access technology for its (U)SIM card. 5.5. AT+COPN Read Operator Names This command returns the list of operator names from the ME. Each operator code that has an alphanumeric equivalent in the ME memory is returned. AT+COPN Read Operator Names Test Command AT+COPN=? Execution Command AT+COPN Response OK Response +COPN: , Quectel_EG060V-EA_AT_Commands_Manual 54 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristic Reference 3GPP TS 27.007 [+COPN: ,] […] OK If there is error related to MT functionality: +CME ERROR: Depends on the number of operator names. / Parameter String type. Operator in numeric format (see AT+COPS). String type. Operator in long alphanumeric format (see AT+COPS). Error codes. For more details, refer to Chapter 12.2. 5.6. AT+CTZU Automatic Time Zone Update This Write Command enables and disables automatic time zone update via NITZ. AT+CTZU Automatic Time Zone Update Test Command AT+CTZU=? Response +CTZU: (list of supported s) Write Command AT+CTZU= Read Command AT+CTZU? OK Response OK Or ERROR Response +CTZU: Maximum Response Time Characteristic Reference 3GPP TS 27.007 OK 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 55 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. The mode of automatic time zone update. 0 Disable automatic time zone update via NITZ 1 Enable automatic time zone update via NITZ and update GMT time to URC Example AT+CTZU? +CTZU: 1 OK AT+CTZU=? +CTZU: (0,1) OK AT+CTZU=0 OK AT+CTZU? +CTZU: 0 OK 5.7. AT+CTZR Time Zone Reporting This command controls the time zone reporting when event changes. If reporting is enabled, the MT returns the unsolicited result code +CTZV: or +CTZE: ,, whenever the time zone is changed. The configuration is stored to flash automatically. AT+CTZR Time Zone Reporting Test Command AT+CTZR=? Response +CTZR: (list of supported s) Write Command AT+CTZR= Read Command AT+CTZR? OK Response OK Or ERROR Response +CTZR: OK Quectel_EG060V-EA_AT_Commands_Manual 56 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristic Reference 3GPP TS 27.007 300ms / Parameter Integer type. The mode of time zone reporting. 0 Disable time zone reporting of changed event 1 Enable time zone reporting of changed event by unsolicited result code: +CTZV: 2 Enable extended time zone reporting by unsolicited result code: +CTZE: ,, String type. Sum of the local time zone (difference between the local time and GMT is expressed in quarters of an hour) plus daylight saving time. The format is '±zz', expressed as a fixed-width, two-digit integer from -48 to +56. To maintain a fixed width, numbers from -9 to +9 are expressed with a leading zero, e.g. '-09', '+00' and '+09'. Integer type. Indicates whether includes daylight savings adjustment. 0 includes no adjustment for daylight saving time 1 includes +1 hour (i.e. 4 quarters in ) adjustment for daylight saving time 2 includes +2 hours (i.e. 8 quarters in ) adjustment for daylight saving time String type. The local time. The format is 'YYYY/MM/DD,hh:mm:ss', expressed as integers representing year (YYYY), month (MM), date (DD), hour (hh), minute (mm) and second (ss). This parameter can be provided by the network when delivering time zone information and be presented in the URC of extended time zone reporting. 5.8. AT+QSPN Query the Service Provider Name This command queries the service provider name. AT+QSPN Query the Service Provider Name Test Command AT+QSPN=? Execution Command AT+QSPN Response OK Response +QSPN: ,,,, OK Quectel_EG060V-EA_AT_Commands_Manual 57 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristic 300 ms / Parameter String type. Full name of network. String type. Shortened name of network. String type. Service provider name. Integer type. Alphabet of full and shortened network name. 0 GSM 7-bit default alphabet 1 UCS2 String type. Registered PLMN. NOTES 1. If is 0, and will be shown in GSM 7-bit default alphabet string. 2. If is 1, and will be shown in UCS2 hexadecimal string. Example AT+QSPN //Query the service provider name. +QSPN: 'CHN-UNICOM','UNICOM','',0,'46001' OK 5.9. AT+QNWINFO Query Network Information This command indicates network information such as the access technology, the operator and the band selected. AT+QNWINFO Query Network Information Test Command AT+QNWINFO=? Response OK Execution Command AT+QNWINFO Response +QNWINFO: ,,, Maximum Response Time Characteristic OK 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 58 / 161 Parameter LTE-A Module Series EG060V-EA AT Commands Manual String type. The access technology selected. 'NONE' 'HDR' 'HDR-EHRPD' 'GSM' 'GPRS' 'EDGE' 'WCDMA' 'HSDPA' 'HSUPA' 'HSPA+' 'TDD LTE' 'FDD LTE' String type. The operator in numeric format. String type. The band selected. 'GSM 850' 'GSM 900' 'GSM 1800' 'WCDMA 2100' 'WCDMA 850' 'WCDMA 900' 'LTE BAND 1' – 'LTE BAND 41' Integer type. Channel ID. 5.10. AT+QNWLOCK='common/lte' Network Locking Configuration This command locks the module to a specified frequency or cell. AT+QNWLOCK='common/lte' Network Locking Configuration Test Command AT+QNWLOCK=? Response +QNWLOCK: 'common/lte',(range of supported s),< EARFCN>,,(list of supported s) Write Command AT+QNWLOCK='common/lte'[,< action>[,,]] OK Response If the optional parameters are omitted, query the current setting: +QNWLOCK: 'common/lte',,,, OK Quectel_EG060V-EA_AT_Commands_Manual 59 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics If the optional parameters are specified, lock the module to a specified frequency or cell: OK Or ERROR 300 ms The command takes effect immediately. The configurations will not be saved. Parameter Integer type. 0 Unlock the cell 1 Lock LTE cell through appointed EARFCN 2 Lock LTE cell through appointed EARFCN and PSC Integer type. Default value: 0. The appointed EARFCN of the cell to be locked. Integer type. Default value: 0. The appointed PCI of the cell to be locked. Integer type. Default value: 0. 0 Cell locking or unlocking finished 1 Cell locking or unlocking failed NOTES 1. The module can be unlocked from a cell after you set to 0 and reboot it. 2. The module needs to be fixed to LTE-only with AT+QCFG='NWSCANMODE',3 before it can be locked to an LTE cell with AT+QNWLOCK . 5.11. AT+QENG Information Query Primary Serving Cell and Neighbour Cell This command obtains the primary serving cell and neighbour cell information. AT+QENG Query Primary Serving Cell and Neighbour Cell Information Test Command AT+QENG=? Response +QENG: (list of supported s) Query the information of serving cell AT+QENG='servingcell' OK Response In GSM mode: Quectel_EG060V-EA_AT_Commands_Manual 60 / 161 LTE-A Module Series EG060V-EA AT Commands Manual +QENG: 'servingcell',,'GSM',,,,,,,,,,, ,,,,,,,,, ,,,, In LTE mode: +QENG: 'servingcell',,'LTE',,,< MNC>,,,,,,,,,,,, In WCDMA mode: +QENG: 'servingcell',,'WCDMA',,,,,,,,,,,,,, Query the information of neighbor cells AT+QENG='neighbourcell' OK Response In GSM mode: [+QENG: 'neighbourcell','GSM',,,, ,,,,,,, …] In LTE mode: [+QENG: 'neighbourcell intra','LTE',,,< RSRQ>,,,,,,,, …] [+QENG: 'neighbourcell inter','LTE',,,< RSRQ>,,,,,,, …] [+QENG: 'neighbourcell','WCDMA',,,,,,, …] In WCDMA mode: [+QENG: 'neighbourcell','WCDMA',,, ,,,,, …] [+QENG: 'neighbourcell','LTE',,,,, …] OK 300 ms / Parameter String format. The information of different cells. 'servingcell' The information of 3G/4G serving cells 'neighbourcell' The information of 3G/4G neighbour cells String format. UE state. 'SEARCH' UE is searching but has not found a suitable 3G/4G cell. 'LIMSRV' UE is camping on a cell but has not registered on the network. 'NOCONN' UE has camped on a cell and registered on the network, and it is in idle mode. 'CONNECT' UE has camped on a cell and registered on the network, and a call is in progress. LTE TDD or FDD mode. Integer type. Mobile Country Code (first part of the PLMN code). '-' Invalid Integer type. Mobile Network Code (second part of the PLMN code). '-' Invalid Hexadecimal format. Location Area Code. The parameter determines the two bytes location area code in hexadecimal format (e.g. 00C1 equals 193 in decimal) of the cell that was scanned. Range: 0-65535. Hexadecimal format. Cell ID. The parameter determines the 16-bit (GSM) or 28-bit (UMTS) cell ID. Range: 0–0xFFFFFFF. '-' Invalid Integer type. Base Station Identification Code. Range: 0-63. Integer type. The parameter determines the ARFCN of the cell that was scanned. Range: 0–1023. Physical cell ID. Integer type. Indicate the current band is PCS1900 or DCS1800. 0 DCS_1800 1 PCS_1900 '-' Other band Integer type. Routing Area Code. Range 0–255. Primary frequency. Integer type. RX level value for base station selection in dB (see 3GPP 25.304). RX level range: 0–63, subtract 111 to dBm value. Quectel_EG060V-EA_AT_Commands_Manual 62 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Integer type. MS maximum TX power in CCH. Integer type. Minimum access RX level. Integer type. Discontinuous reception cycle length. Integer type. Cell selection criterion. Integer type. Cell reselection criterion. Integer type. The parameter determines the UTRA-ARFCN of the cell that was scanned. Integer type. Whether current cell supports GPRS or not. 0 Not support GPRS 1 Support GPRS Integer type. In hopping, displays „h‟, otherwise displays the current ARFCN in voice call. Integer type. Timeslot number. Integer type. Timing advance for the base station. Range: 0–63. Integer type. Mobile Allocation Index Offset. Integer type. Hopping Sequence Number. Integer type. RX quality (sub), range: 0–7. Integer type. RX quality (full), range: 0–7. Integer type. RX level (sub), range: 0–63. Integer type. RX level (full), range: 0–63. String type. Channel mode during voice call. 'HR' Half rate 'FR' Full rate 'EFR' Enhanced full rate 'AMR' Adaptive Multi-Rate 'AMRHR' AMR half rate 'AMRFR' AMR full rate 'AMRWB' AMR wide band '-' Invalid Integer type. The parameter determines the E-UTRA-ARFCN of the cell that was scanned. E-UTRA frequency band (see 3GPP 36.101). Integer type. UL bandwidth. 0 1.4MHz 1 3MHz 2 5MHz 3 10MHz 4 15MHz 5 20MHz Integer type. DL bandwidth. 0 1.4MHz 1 3MHz 2 5MHz 3 10MHz Quectel_EG060V-EA_AT_Commands_Manual 63 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 4 15MHz 5 20MHz Tracking Area Code (see 3GPP 23.003 Section 19.4.2.3). Integer type. The parameter determines the primary scrambling code of the cell that was scanned. Integer type. Routing Area Code. Range 0–255. Integer type. The parameter determines the Received Signal Code Power level of the cell that was scanned. Integer type. Carrier to noise ratio in dB=measured Ec/Io value in dB. Reference Signal Received Power (see 3GPP 36.214 Section 5.1.1). Reference Signal Received Quality (see 3GPP 36.214 Section 5.1.2). Integer type. The parameter shows the Received Signal Strength Indication. Integer type. Logarithmic value of SINR, Values are in 1/5th of a dB. Range:0-250 which translates to -20dB - +30dB. Physical channel 0 DPCH 1 FDPCH Integer type. Spreading factor. 0 SF_4 1 SF_8 2 SF_16 3 SF_32 4 SF_64 5 SF_128 6 SF_256 7 SF_512 8 UNKNOWN Integer type. (0–16): slot format for DPCH. (0–9): slot format for FDPCH. Destination number on which call is to be deflected. Integer type. Compress mode. 0 Not support compress mode 1 Support compress mode Integer type. GPRS cell selection criterion. Integer type. GPRS cell reselection criterion. Receiver automatic gain control on the camped frequency. Integer type. Carrier to noise ratio in dB = measured Ec/Io value in dB. Integer type. 3G neighbour cell set. 1 Active set 2 Synchronous neighbour set 3 Asynchronous neighbour set Rank of this cell as neighbour for inter-RAT cell reselection. To be considered for reselection. The suitable receive level value of an evaluated lower priority cell must be greater than this value. Quectel_EG060V-EA_AT_Commands_Manual 64 / 161 LTE-A Module Series EG060V-EA AT Commands Manual To be considered for reselection. The suitable receive level value of an evaluated higher priority cell must be greater than this value. Reselection threshold for high priority layers. Reselection threshold for low priority layers. Integer type. Select receive level value for base station in dB (see 3GPP 25.304). Cell reselection priority. Range: 0–7. Threshold to control non-intra frequency searches. Specifies the suitable receive level threshold (in dB) used by the UE on the serving cell when reselecting towards a lower priority RAT/frequency. Cell selection parameter for the intra frequency cell. 5.12. AT+QCAINFO Query Carrier Aggregation Parameters This command queries carrier aggregation parameters. AT+QCAINFO Query Carrier Aggregation Parameters Test Command AT+QCAINFO=? Execution Command AT+QCAINFO Response OK Response +QCAINFO: 'pss',,,,,,,,, 'sss',,,,,, ,,, OK Maximum Response Time Characteristics If no secondary cell was active: OK 300 ms / Parameter Primary server cell. Secondary server cell. EARFCN. Integer type. Bandwidth. 6 1.4 MHZ 15 3 MHZ Quectel_EG060V-EA_AT_Commands_Manual 65 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 25 5 MHZ 50 10 MHZ 75 15 MHZ 100 20 MHZ String type. Band information. Integer type. Primary Carrier Component State. 0 No serving 1 Registered Integer type. Secondary Carrier Component State. 0 Deconfigured 1 Configured deactivated 2 Configured activated Integer type. Physical Cell ID. Integer type. Reference Signal Received Power (see 3GPP 36.214 Section 5.1.1). Integer type. Reference Signal Received Quality (see 3GPP 36.214 Section 5.1.2). Integer type. Integer type. The parameter shows the Received Signal Strength Indication. Integer type. Integer type. Logarithmic value of SINR. Values are in 1/5th of a dB. Range: 0-250, which translates to -20 dB to +30 dB. Quectel_EG060V-EA_AT_Commands_Manual 66 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 6 Call Related Commands 6.1. AT+QECCNUM Configure Emergency Call Numbers This command queries, adds and deletes ECC (emergency call) numbers. There are two kinds of ECC numbers: ECC numbers without (U)SIM and ECC numbers with (U)SIM. The default ECC numbers without (U)SIM is 911, 112, 00, 08, 110, 999, 118 and 119. The default ECC number with (U)SIM is 911 and 112. 911 and 112 will always be supported as ECC numbers, and cannot be deleted. ECC numbers can be saved into flash. If the (U)SIM card contains a ECC file, the numbers in the ECC file can also be regarded as ECC numbers. AT+QECCNUM Configure Emergency Call Numbers Test Command AT+QECCNUM=? Response +QECCNUM: (range of supported s) Write Command AT+QECCNUM=,[,[,,…[,]] ] OK Response If is equal to 0, query the ECC numbers. In this case, should be omitted, and the response is: +QECCNUM: [,,…] OK Read Command AT+QECCNUM? If is not equal to 0: =1 is used to add the ECC number; =2 is used to delete the ECC number. In this case, at least one ECC number should be inputted, and the response is: OK Or ERROR Response +QECCNUM: 0,[,…] +QECCNUM: 1,[,[…] Maximum Response Time Characteristics OK 300 ms The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 67 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference 3GPP TS 27.007 Parameter Integer type. ECC number operation mode. 0 Query ECC numbers 1 Add ECC numbers 2 Delete ECC numbers Integer type. ECC number type. 0 ECC numbers without (U)SIM 1 ECC numbers with (U)SIM String type; ECC numbers (e.g.110, 119). Example AT+QECCNUM=? +QECCNUM: (0-2) //Query the supported operation mode for ECC number. OK AT+QECCNUM? //Query the ECC numbers with or without (U)SIM. +QECCNUM: 0,'911','112','00','08','110','999','118','119','000' +QECCNUM: 1,'911','112','000' OK AT+QECCNUM=0,1 //Query the ECC numbers with (U)SIM. +QECCNUM: 1,'911','112','000' OK AT+QECCNUM=1,1,'110','234' //Add '110' and '234' into the type of ECC numbers with (U)SIM. OK AT+QECCNUM=0,1 //Query the ECC numbers with (U)SIM. +QECCNUM: 1,'911','112','000','110','234' OK AT+QECCNUM=2,1,'110' //Delete '110' from the type of ECC numbers with (U)SIM. OK AT+QECCNUM=0,1 //Query the ECC numbers with (U)SIM. +QECCNUM: 1,'911','112','000','234' OK Quectel_EG060V-EA_AT_Commands_Manual 68 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 7 Phonebook Commands 7.1. AT+CNUM Subscriber Number This command gets the subscribers' own number(s) from the (U)SIM. AT+CNUM Subscriber Number Test Command AT+CNUM=? Execution Command AT+CNUM Response OK Response [+CNUM: [],,] [+CNUM: [],,] OK Maximum Response Time Characteristics Reference 3GPP 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter Optional alphanumeric string associated with . The used character set should be the one selected with AT+CSCS command. String type phone number in the format specified by . Type of address of octet in integer format (See 3GPP TS 24.008). Usually, it has three kinds of values: 129 Unknown type 145 International type (contains the character '+') 161 National type Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 69 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 7.2. AT+CPBS Select Phonebook Memory Storage This command selects phonebook memory storage, which is used by other phonebook commands. The Read Command returns the current selected memory, the number of used locations and the total number of locations in the memory supported by manufacturer. The Test Command returns supported storages as compound values. AT+CPBS Select Phonebook Memory Storage Test Command AT+CPBS=? Response +CPBS: (list of supported s) OK Read Command AT+CPBS? If there is any error: +CME ERROR: Or ERROR Response +CPBS: ,, OK Write Command AT+CPBS= If there is any error: +CME ERROR: Or ERROR Response OK Maximum Response Time Characteristics Reference 3GPP 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter String type. Quectel_EG060V-EA_AT_Commands_Manual 70 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 'SM' (U)SIM phonebook 'FD' (U)SIM fixed dialing phonebook (AT+CPBW operation needs the authority of PIN2) 'ON' (U)SIM’s own numbers (MSISDNs) list 'AP' Selected application phonebook. If a UICC with an active USIM application is present, the application phonebook, DFPHONEBOOK under ADFUSIM, is selected. 'SDN' Service Dialing Number Integer type. Indicate the total number of used locations in the selected memory. Integer type. Indicate the total number of locations in the selected memory. Error codes. For more details, refer to Chapter 12.2. 7.3. AT+CPBF Find Phonebook Entries This command searches the phonebook entries starting with the given string from the current phonebook memory storage selected with AT+CPBS, and return all found entries sorted in alphanumeric order. AT+CPBF Find Phonebook Entries Test Command AT+CPBF=? Response +CPBF: , Write Command AT+CPBF= OK Response [+CPBF: ,,,] […] OK Maximum Response Time Characteristics Reference 3GPP 27.007 If there is any error: +CME ERROR: Or ERROR Depends on the storage of phonebook entries. / Quectel_EG060V-EA_AT_Commands_Manual 71 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. Indicate the maximum length of field . Integer type. Indicate the maximum length of field . String type. The field of maximum length in current TE character set specified by AT+CSCS. Integer type. In the range of location numbers of phone book memory. Type of address of octet in integer format (See 3GPP TS 24.008). Usually, it has three kinds of values: 129 Unknown type 145 International type (contains the character '+') 161 National type String type field of maximum length in current TE character set specified by AT+CSCS. Error codes. For more details, refer to Chapter 12.2. 7.4. AT+CPBR Read Phonebook Entries This command reads phonebook entries in location number range ... from the current phonebook memory storage selected with AT+CPBS. If is left out, only location will be returned. AT+CPBR Read Phonebook Entries Test Command AT+CPBR=? Response +CPBR: (list of supported s),, Write Command AT+CPBR=[,] OK Response +CPBR: ,,, […] OK Maximum Response Time Characteristics Reference 3GPP 27.007 If there is any error: +CME ERROR: Or ERROR Depends on the storage of phonebook entries. / Quectel_EG060V-EA_AT_Commands_Manual 72 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. Location numbers of phone book memory. Integer type. Indicate the maximum length of the field . Integer type. Indicate the maximum length of the field . Integer type. The first phone book record to read. Integer type. The last phonebook record to read. Type of address of octet in integer format (See 3GPP TS 24.008). Usually, it has three kinds of values: 129 Unknown type 145 International type (contains the character '+') 161 National type String type. The field of maximum length in current TE character set specified by AT+CSCS. Error codes. For more details, refer to Chapter 12.2. 7.5. AT+CPBW Write Phonebook Entry This command writes phonebook entry of the location number in the current phonebook memory storage selected with AT+CPBS. It can also delete a phonebook entry of the location number . AT+CPBW Write Phonebook Entry Test Command AT+CPBW=? Response +CPBW: (range of supported s),,(list of supported s), OK Write Command AT+CPBW=[][,[,[,]]] Maximum Response Time If there is any error: +CME ERROR: Or ERROR Response OK If there is any error: +CME ERROR: Or ERROR 300 ms Characteristics / Quectel_EG060V-EA_AT_Commands_Manual 73 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference 3GPP 27.007 Parameter Integer type. The range of location numbers of phonebook entry. If is not given, the first free entry will be used. If is given as the only parameter, the phonebook entry specified by is deleted. Integer type. Indicate the maximum length of field . Integer type. Indicate the maximum length of field . Type of address of octet in integer format (See 3GPP TS 24.008). Usually, it has two kinds of values: 129 Unknown type 145 International type (contains the character '+') String type field of maximum length in current TE character set specified by AT+CSCS. Error codes. For more details, refer to Chapter 12.2. Example AT+CSCS='GSM' OK AT+CPBW=10,'15021012496',129,'QUECTEL' OK AT+CPBW=10 OK //Make a new phonebook entry at location 10. //Delete the entry at location 10. Quectel_EG060V-EA_AT_Commands_Manual 74 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 8 Short Message Service Commands 8.1. AT+CSMS Select Message Service This command selects messaging service and returns the types of messages supported by the ME. AT+CSMS Select Message Service Test Command AT+CSMS=? Response +CSMS: (list of supported s) Read Command AT+CSMS? OK Response +CSMS: ,,, Write Command AT+CSMS= OK Response +CSMS: ,, OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. Type of message service. 0 3GPP TS 23.040 and 3GPP TS 23.041 (the syntax of SMS AT commands is compatible with 3GPP TS 27.005 Phase 2 version 4.7.0; Phase 2+ features which Quectel_EG060V-EA_AT_Commands_Manual 75 / 161 LTE-A Module Series EG060V-EA AT Commands Manual do not require new command syntax may be supported, e.g., correct routing of messages with new Phase 2+ data coding schemes). 1 3GPP TS 23.040 and 3GPP TS 23.041 (the syntax of SMS AT commands is compatible with 3GPP TS 27.005 Phase 2+ version; the requirement of setting 1 is mentioned under corresponding command descriptions). Integer type. Mobile terminated messages. 0 Type not supported 1 Type supported Integer type. Mobile originated messages. 0 Type not supported 1 Type supported Integer type. Broadcast type messages. 0 Type not supported 1 Type supported Error codes. For more details, refer to Chapter 12.3. Example AT+CSMS=? +CSMS: (0,1) OK AT+CSMS=1 +CSMS: 1,1,1 OK AT+CSMS? +CSMS: 1,1,1,1 OK //Query the supported service types. //Set the type of message service to 1. //Read the current setting. 8.2. AT+CMGF Message Format This command specifies the input and output format of the short messages. indicates the format of messages used with Test, Read, Write and Execution Commands and unsolicited result codes resulting from received messages. The format of messages can be either PDU mode (entire TP data units used) or text mode (headers and body of the messages given as separate parameters). Text mode uses the value of parameter specified by AT+CSCS command to inform the character set to be used in the message body in the TA-TE interface. Quectel_EG060V-EA_AT_Commands_Manual 76 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+CMGF Message Format Test Command AT+CMGF=? Read Command AT+CMGF? Write Command AT+CMGF= Maximum Response Time Characteristics Reference 3GPP TS 27.005 Parameter Integer type. 0 PDU mode 1 Text mode Response +CMGF: (list of supported s) OK Response +CMGF: OK Response This command tells TA which input and output format of messages to use. OK 300 ms The command takes effect immediately. The configuration will be saved automatically. 8.3. AT+CSCA Service Center Address This Write Command updates the SMSC address when mobile originated SMS are transmitted. In text mode, setting is used by Write Command. In PDU mode, setting is used by same command, but only when the length of the SMSC address coded into parameter equals zero. AT+CSCA Service Center Address Test Command AT+CSCA=? Read Command AT+CSCA? Response OK Response +CSCA: , Write Command OK Response Quectel_EG060V-EA_AT_Commands_Manual 77 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+CSCA=[,] Maximum Response Time Characteristics Reference 3GPP TS 27.005 OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Service center address. 3GPP TS 24.011 RP SC address Address-Value field in string format; BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Type of service center address. 3GPP TS 24.011 RP SC address Type-of-Address octet in integer format (see ). Error codes. For more details, refer to Chapter 12.2. Example AT+CSCA='+8613800210500',145 OK AT+CSCA? +CSCA: '+8613800210500',145 OK //Set SMS service center address. //Query SMS service center address. 8.4. AT+CPMS Preferred Message Storage This command selects the memory storages , and to be used for reading, writing, etc. AT+CPMS Preferred Message Storage Test Command AT+CPMS=? Response +CPMS: (list of supported s),(list of supported s),(list of supported s) Quectel_EG060V-EA_AT_Commands_Manual 78 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+CPMS? OK Response +CPMS: ,,,,,,,, Write Command AT+CPMS=[,[,]] OK Response +CPMS: ,,,,, OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Messages will be read and deleted from this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Messages will be written and sent to this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage The received messages will be placed in this memory storage if routing to PC is not set. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Integer type. Number of current messages in . Integer type. Total number of messages which can be stored in . Error codes. For more details, refer to Chapter 12.3. Example AT+CPMS='SM','SM','SM' +CPMS: 0,50,0,50,0,50 //Set SMS message storage as 'SM'. Quectel_EG060V-EA_AT_Commands_Manual 79 / 161 LTE-A Module Series EG060V-EA AT Commands Manual OK AT+CPMS? //Query the current SMS message storage. +CPMS: 'SM',18,50,'SM',18,50,'SM',18,50 OK 8.5. AT+CMGD Delete Message This command deletes short messages from the preferred message storage location . If is presented and not set to 0, then the ME shall ignore and follow the rules of shown as below. AT+CMGD Delete Message Test Command AT+CMGD=? Response +CMGD: (range of supported s),(list of supported s) Write Command AT+CMGD=[,] OK Response TA deletes message from preferred message storage location . OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 300 ms. Note: Operation of depends on the storage of deleted messages. The command takes effect immediately. The configurations will not be saved. Parameter Integer type value in the range of location numbers supported by the associated memory. 0 Delete the message specified in 1 Delete all read messages from storage Quectel_EG060V-EA_AT_Commands_Manual 80 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2 Delete all read messages from storage and sent mobile originated messages 3 Delete all read messages, sent and unsent mobile originated messages from storage 4 Delete all messages from storage Messages to be read and deleted from this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, refer to Chapter 12.3. Example AT+CMGD=1 OK AT+CMGD=1,4 OK //Delete the message specified with =1. //Delete all messages from storage. 8.6. AT+CMGL List Messages This Read Command returns messages with status value from preferred message storage to the TE. If the status of the message is 'REC UNREAD', the status in the storage changes to 'REC READ'. When executing command AT+CMGL without status value , it will report the list of SMS with 'REC UNREAD' status. AT+CMGL List Messages Test Command AT+CMGL=? Response +CMGL: (list of supported s) Write Command AT+CMGL[=] OK Response If in text mode (AT+CMGF=1) and the command is executed successfully: For SMS-SUBMITs and/or SMS-DELIVERs: +CMGL: ,,,[],[][,,] [...] OK For SMS-STATUS-REPORTs: +CMGL: ,,,,[],[],,, [...] OK For SMS-COMMANDs: +CMGL: ,,, [...] OK For CBM storage: +CMGL: ,,,,, [...] OK If in PDU mode (AT+CMGF=0) and the command is executed successfully: +CMGL: ,,[], [...] OK If there is any error: +CMS ERROR: Or ERROR Response List all messages with 'REC UNREAD' status from message storage , and then the status in the storage changes to 'REC READ'. 300ms. Note: Operation of depends on the storage of listed messages. The command takes effect immediately. The configurations will not be saved. Quectel_EG060V-EA_AT_Commands_Manual 82 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter In text mode: 'REC UNREAD' Received unread messages 'REC READ' Received read messages 'STO UNSENT' Stored unsent messages 'STO SENT' Stored sent messages 'ALL' All messages In PDU mode: 0 Received unread messages 1 Received read messages 2 Stored unsent messages 3 Stored sent messages 4 All messages Integer type. In the range of location numbers supported by the associated memory. Destination Address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Originating address. 3GPP TS 23.040 TP-Originating-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in TS 27.007). The type of address is given by . String type alphanumeric representation of or corresponding to the entry found in MT phonebook. Implementation of this feature is manufacturer specified. The used character set should be the one selected with AT+CSCS command (see definition of this command in 3GPP TS 27.007). Service center time stamp. 3GPP TS 23.040 TP-Service-Centre-Time-Stamp in time-string format (see ). Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Type of originating address. 3GPP TS 24.011 TP-Originating-Address Type-of-Address octet in integer format (see by default). Message length. Integer type. Indicate the length of the message body (or ) in characters in the text mode (AT+CMGF=1), or the length of the actual TP data unit in octets in PDU mode (AT+CMGF=0) (i.e. the RP layer SMSC address octets are not counted in the length). In the case of SMS: 3GPP TS 23.040 TP-User-Data in text mode responses; format: - If , indicates that 3GPP TS 23.038 GSM 7-bit default alphabet is used and indicates that 3GPP TS 23.040 TP-User-Data-Header-Indication is not set. - If TE character set is other than 'HEX' (refer to AT+CSCS command in 3GPP TS 27.007): ME/TA converts GSM alphabet into current TE character set according to rules of Annex A in 3GPP TS 27.007. - If TE character set is 'HEX': ME/TA converts each 7-bit character of GSM 7-bit Quectel_EG060V-EA_AT_Commands_Manual 83 / 161 LTE-A Module Series EG060V-EA AT Commands Manual default alphabet into two IRA character long hexadecimal number (e.g. character (GSM 7-bit default alphabet 23) is presented as 17 (IRA 49 and 55)). - If , indicates that 8-bit or UCS2 data coding scheme is used, or indicates that 3GPP TS 23.040 TP-User-Data-Header-Indication is set: ME/TA converts each 8-bit octet into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65)). In the case of CBS: 3GPP TS 23.041 CBM Content of Message in text mode responses; format: - If , indicates that 3GPP TS 23.038 GSM 7-bit default alphabet is used. - If TE character set is other than 'HEX' (see AT+CSCS in 3GPP TS27.007): ME/TA converts GSM alphabet into current TE character set according to rules of Annex A in 3GPP TS 27.007. - If TE character set is 'HEX': ME/TA converts each 7-bit character of the GSM 7-bit default alphabet into two IRA character long hexadecimal number. - If , indicates that 8-bit or UCS2 data coding scheme is used: ME/TA converts each 8-bit octet into two IRA character long hexadecimal number. In the case of SMS: 3GPP TS 24.011 SC address followed by 3GPP TS 23.040 TPDU in hexadecimal format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65)) 3GPP TS 27.007. Depends on the command or result code: first octet of 3GPP TS 23.040 SMS-DELIVER, SMS-SUBMIT (default 17), SMS-STATUS-REPORT, or SMS-COMMAND (default 2) in integer format. 3GPP TS 23.040 TP-Message-Reference in integer format 3GPP TS 23.040 TP-Recipient-Address Address-Value field in string format; BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see +CSCS in 3GPP TS 27.007); type of address given by . 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format (see by default). 3GPP TS 23.040 TP-Service-Centre-Time-Stamp in time-string format (see ). 3GPP TS 23.040 TP-Discharge-Time in time-string format: 'yy/MM/dd,hh:mm:ss±zz', where characters indicate year (two last digits), month, day, hour, minutes, seconds and time zone. E.g. 6th of May 1994, 22:10:00 GMT+2 hours equals to '94/05/06,22:10:00+08'. 3GPP TS 23.040 TP-Status in integer format. 3GPP TS 23.040 TP-Command-Type in integer format (default 0). 3GPP TS 23.041 CBM Serial Number in integer format. 3GPP TS 23.041 CBM Message Identifier in integer format. 3GPP TS 23.041 CBM Page Parameter bits 4-7 in integer format. 3GPP TS 23.041 CBM Page Parameter bits 0-3 in integer format. Messages to be read and deleted from this memory storage. Quectel_EG060V-EA_AT_Commands_Manual 84 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, refer to Chapter 12.3. Example AT+CMGF=1 //Set SMS message format as text mode. OK AT+CMGL='ALL' //List all messages from message storage. +CMGL: 1,'STO UNSENT','13156569236' +CMGL: 2,'STO UNSENT','13156569236' OK 8.7. AT+CMGR Read Message This Read Command returns SMS message with location value from message storage to the TE. If status of the message is 'REC UNREAD', status in the storage changes to 'REC READ'. AT+CMGR Read Message Test Command AT+CMGR=? Write Command AT+CMGR= Response OK Response If in text mode (AT+CMGF=1) and the command is executed successfully: For SMS-DELIVER: +CMGR: ,,[],[,,,,,,,] OK For SMS-SUBMIT: +CMGR: ,,[][,,,,,[],,,] OK For SMS-STATUS-REPORTs: +CMGR: ,,,[],[],,, Quectel_EG060V-EA_AT_Commands_Manual 85 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.005 OK For SMS-COMMANDs: +CMGR: ,,[,,[],[],[], ] OK For CBM storage: +CMGR: ,,,,, OK If in PDU mode (AT+CMGF=0) and command is executed successfully: +CMGR: ,[], OK If there is any error: +CMS ERROR: Or ERROR Depends on the length of message content. The command takes effect immediately. The configurations will not be saved. Parameter Integer type. The location numbers supported by the associated memory. In text mode 'REC UNREAD' Received unread messages 'REC READ' Received read messages 'STO UNSENT' Stored unsent messages 'STO SENT' Stored sent messages 'ALL' All messages In PDU mode 0 Received unread messages 1 Received read messages Quectel_EG060V-EA_AT_Commands_Manual 86 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2 Stored unsent messages 3 Stored sent messages 4 All messages String type alphanumeric representation of or corresponding to the entry found in MT phonebook. Implementation of this feature is manufacturer specified. The used character set should be the one selected with AT+CSCS command (see definition of this command in 3GPP TS 27.007). Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Originating address. 3GPP TS 23.040 TP-Originating-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Service center time stamp. 3GPP TS 23.040 TP-Service-Centre-Time-Stamp in time-string format (see ). First octet. Depending on the command or result code: First octet of 3GPP TS 23.040 SMS-DELIVER, SMS-SUBMIT (default 17), SMS-STATUS-REPORT, or SMS-COMMAND in integer format. If a valid value has been entered once, the parameter can be omitted. Protocol identifier. 3GPP TS 23.040 TP-Protocol-Identifier in integer format. Default: 0. Data coding scheme. Depending on the command or result code: 3GPP TS 23.038 SMS Data Coding Scheme (default 0), or Cell Broadcast Data Coding Scheme in integer format. Validity period. Depending on SMS-SUBMIT setting: 3GPP TS 23.040 TP-Validity-Period either in integer format or in time-string format (see ). Message number. 3GPP TS 23.040 TP-Message-Number in integer format. Message reference. 3GPP TS 23.040 TP-Message-Reference in integer format. Recipient address. 3GPP TS 23.040 TP-Recipient-Address Address-Value field in string format. BCD numbers (or GSM default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS). The type of address is given by . Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format (see by default). Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Type of originating address.3GPP TS 24.011 TP-Originating-Address Type-of-Address octet in integer format (see by default). Service center address. 3GPP TS 24.011 RP SC address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS in 3GPP TS 27.007). The type of address is given by . Quectel_EG060V-EA_AT_Commands_Manual 87 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Type of service center address. 3GPP TS 24.011 RP SC address Type-of-Address octet in integer format (see by default). Message length. Integer type. Indicate in the text mode (AT+CMGF=1) the length of the message body (or ) in characters, or in PDU mode (AT+CMGF=0) the length of the actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the length). The text of short message. In the case of SMS: 3GPP TS 24.011 SC address followed by 3GPP TS 23.040 TPDU in hexadecimal format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65)). 3GPP TS 23.040 TP-Discharge-Time in time-string format: 'yy/MM/dd,hh:mm:ss±zz', during which characters indicate year (two last digits), month, day, hour, minutes, seconds and time zone. E.g. 6th of May 1994, 22:10:00 GMT+2 hours equals to '94/05/06,22:10:00+08'. 3GPP TS 23.040 TP-Status in integer format. 3GPP TS 23.040 TP-Command-Type in integer format (default 0). 3GPP TS 23.041 CBM Serial Number in integer format. 3GPP TS 23.041 CBM Page Parameter bits 4-7 in integer format. 3GPP TS 23.041 CBM Page Parameter bits 0-3 in integer format. Messages to be read and deleted from this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, please refer to Chapter 12.3. Example +CMTI: 'SM',3 AT+CSDH=1 OK AT+CMGR=3 +CMGR: 'REC 0',145,27 //Indicates that new message has been received and saved to =3 of 'SM'. //Show SMS text mode parameters. //Read message. UNREAD','+8615021012496',,'18/12/15,15:06:37+32',145,4,0,0,'+861380021050 OK 8.8. AT+CMGS Send Message This Write Command sends a short message from TE to network (SMS-SUBMIT). After invoking the Quectel_EG060V-EA_AT_Commands_Manual 88 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command, wait for the prompt > and then start to write the message. After that, enter to indicate the ending of PDU and begin to send the message. Sending can be cancelled by giving character. Abortion is acknowledged with OK, though the message will not be sent. The message reference is returned to the TE on successful message delivery. Optionally (when AT+CSMS value is 1 and network supports) is returned. The value can be used to identify message upon unsolicited delivery status report result code. AT+CMGS Send Message Test Command AT+CMGS=? Write Command 1) If text mode (AT+CMGF=1): AT+CMGS=[,] text is entered means quits without sending 2) If PDU mode (AT+CMGF=0): AT+CMGS= PDU is given Response OK Response If in text mode (AT+CMGF=1) and sent successfully: +CMGS: OK If in PDU mode (AT+CMGF=0) and sent successfully: +CMGS: OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 120 s, determined by network. The command takes effect immediately. The configurations will not be saved. Parameter Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (refer to AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Integer type. Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Message length. Integer type. Indicating in the text mode (AT+CMGF=1) the length of the message body (or ) in characters, or in PDU mode (AT+CMGF=0), the length of the actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the length). Quectel_EG060V-EA_AT_Commands_Manual 89 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Message reference. 3GPP TS 23.040 TP-Message-Reference in integer format. Error codes. For more details, refer to Chapter 12.3. Example AT+CMGF=1 OK AT+CSCS='GSM' OK AT+CMGS='15021012496' > +CMGS: 247 OK //Set SMS message format as text mode. //Set character set as GSM which is used by the TE. //Enter in text. Use to send message, or to quit without sending. 8.9. AT+CMMS Send More Messages This command controls the continuity of the SMS relay protocol link. If the feature is enabled (and supported by the currently used network) multiple messages can be sent faster as the link is kept open. AT+CMMS Send More Messages Test Command AT+CMMS=? Response +CMMS: (range of supported s) Read Command AT+CMMS? OK Response +CMMS: Write Command AT+CMMS= OK Response OK Maximum Response Time Characteristics If there is any error: +CMS ERROR: Or ERROR 120 s, determined by network. The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 90 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference 3GPP TS 27.005 Parameter Integer type. 0 Feature disabled 1 Keep enabled until the time between the response of the latest message send command (AT+CMGS, AT+CMSS, etc.) and the next send command exceeds 1-5 seconds (the exact value is up to ME implementation), and then ME shall close the link and TA switches back to 0 automatically. 2 Feature enabled (If the time between the response of the latest message send command and the next send command exceeds 1-5 seconds (the exact value is up to ME implementation), ME shall close the link but TA will not switch back to 0 automatically). Error codes. For more details, refer to Chapter 12.3. NOTE After the execution of Read Command, it is required to wait for 5-10 seconds before issuing the Write Command. Otherwise +CMS ERROR: 500 may appear. 8.10. AT+CMGW Write Message to Memory This Write and Execution Commands store short messages (either SMS-DELIVER or SMS-SUBMIT) from TE to memory storage , and then the memory location of the stored message is returned. Message status will be set to 'stored unsent' by default, but parameter also allows other status values to be given. The syntax of input text is the same as the one specified in AT+CMGS Write Command. AT+CMGW Write Message to Memory Test Command AT+CMGW=? Write Command 1) If text mode (AT+CMGF=1): AT+CMGW=[,[,]] text is entered quits without sending Response OK Response If message writing is successful: +CMGW: OK If there is any error: Quectel_EG060V-EA_AT_Commands_Manual 91 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2) If PDU mode (AT+CMGF=0): AT+CMGW=[,] PDU is given Maximum Response Time Characteristics Reference 3GPP TS 27.005 +CMS ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will not be saved. Parameter Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Originating address. 3GPP TS 23.040 TP-Originating-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address given by . Type of originating address. 3GPP TS 24.011 TP-Originating-Address Type-of-Address octet in integer format (see by default). PDU mode Text mode Explanation 0 'REC UNREAD' Received unread messages 1 'REC READ' Received read messages 2 'STO UNSENT' Stored unsent messages 3 'STO SENT' Stored sent messages 4 'ALL' All messages Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Message length. Indicate the length of the message body (or ) in characters in the text mode (AT+CMGF=1), or in PDU mode (AT+CMGF=0), the length of the actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the length). In the case of SMS: 3GPP TS 24.011 SC address followed by 3GPP TS 23.04 TPDU in hexadecimal format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65)). Index of message in selected storage . Messages will be written and sent to this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, refer to Chapter 12.3. Quectel_EG060V-EA_AT_Commands_Manual 92 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Example AT+CMGF=1 OK AT+CSCS='GSM' OK AT+CMGW='15021012496' > +CMGW: 4 //Set SMS message format as text mode. //Set character set as GSM which is used by the TE. //Enter in text. Use to write message or to quit without sending. OK AT+CMGF=0 //Set SMS message format as PDU mode. OK AT+CMGW=18 > 0051FF00000008000A0500030002016D4B8BD5 +CMGW: 5 OK 8.11. AT+CMSS Send Message from Storage This Write Command sends messages with location value from message storage to the network (SMS-SUBMIT). If a new recipient address is given for SMS-SUBMIT, it shall be used instead of the one stored with the message. Reference value is returned to the TE on successful message delivery. Values can be used to identify message upon unsolicited delivery status report result code. AT+CMSS Send Message from Storage Test Command AT+CMSS=? Write Command AT+CMSS=[,[,]] Response OK Response If in text mode (AT+CMGF=1) and sent successfully: +CMSS: [,] OK If in PDU mode (AT+CMGF=0) and sent successfully: +CMSS: [,] OK Quectel_EG060V-EA_AT_Commands_Manual 93 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 120 s, determined by network. The command takes effect immediately. The configurations will not be saved. Parameter Integer type value in the range of location numbers supported by the associated memory. Destination Address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Message reference. 3GPP TS 23.040 TP-Message-Reference in integer format. Service center time stamp. 3GPP TS 23.040 TP-Service-Centre-Time-Stamp in time-string format (see ). The format is the same as in case of SMS, but without 3GPP TS 24.011 SC address field and the parameter shall be bounded by double quote characters like a normal string type parameter. Messages will be written and sent to this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, refer to Chapter 12.3. Example AT+CMGF=1 OK AT+CSCS='GSM' OK AT+CMGW='15021012496' > Hello +CMGW: 4 OK //Set SMS message format as text mode. //Set character set as GSM which is used by the TE. //Enter in text. Use to send message or to quit without sending. Quectel_EG060V-EA_AT_Commands_Manual 94 / 161 AT+CMSS=4,'18158848480' +CMSS: 54 OK LTE-A Module Series EG060V-EA AT Commands Manual //Send the message of index 4 from memory storage. 8.12. AT+CSCB Select Cell Broadcast Message Types This Write Command selects which types of CBMs are to be received by the ME. AT+CSCB Select Cell Broadcast Message Types Test Command AT+CSCB=? Response +CSCB: (list of supported s) Read Command AT+CSCB? OK Response +CSCB: ,, Write Command AT+CSCB=,[,] OK Response TA selects which types of CBMs are to be received by the ME. OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. 0 Message types specified in and are accepted 1 Message types specified in and are not accepted String type. All different possible combinations of CBM message identifiers (refer to ), e.g. '0,1,5,320-478,922'. Quectel_EG060V-EA_AT_Commands_Manual 95 / 161 LTE-A Module Series EG060V-EA AT Commands Manual String type. All different possible combinations of CBM data coding schemes (refer to ) (default is empty string), e.g. '0-3,5'. Error codes. For more details, refer to Chapter 12.3. 8.13. AT+CSDH Show SMS Text Mode Parameters This Write Command controls whether detailed header information is shown in text mode result codes. AT+CSDH Show SMS Text Mode Parameters Test Command AT+CSDH=? Response +CSDH: (list of supported s) Read Command AT+CSDH? OK Response +CSDH: Write Command AT+CSDH=[] Maximum Response Time Characteristics Reference 3GPP TS 27.005 OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will not be saved. Parameter Integer type. 0 Do not show header values defined in commands +CSCA, +CSMP (, , , , , ) and , or in +CMT, +CMGL, +CMGR result codes for SMS-DELIVERs and SMS-SUBMITs in text mode 1 Show the values in result codes Example AT+CSDH=0 OK Quectel_EG060V-EA_AT_Commands_Manual 96 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+CMGR=2 +CMGR: 'STO UNSENT','13156569236' OK AT+CSDH=1 OK AT+CMGR=2 +CMGR: 'STO UNSENT','13156569236',,128,17,0,0,143,'+8613800551500',145,18 OK 8.14. AT+CSMP Set SMS Text Mode Parameters This command sets values for additional parameters needed when a short message is sent to the network or placed in a storage in text mode (AT+CMGF=1). It is possible to set the validity period starting from when the SM is received by the SMSC ( ranges from 0 to 255) or define the absolute time of the validity period termination ( is a string). AT+CSMP Set SMS Text Mode Parameters Test Command AT+CSMP=? Read Command AT+CSMP? Response OK Response +CSMP: ,,, Write Command AT+CSMP=[,[,[,] ]] OK Response OK Maximum Response Time 300 ms Characteristics Reference 3GPP TS 27.005 The command takes effect immediately. The configurations will not be saved. Parameter First octet. Depending on the command or result code: First octet of 3GPP TS 23.040 SMS-DELIVER, SMS-SUBMIT (default 17), SMS-STATUS-REPORT, Quectel_EG060V-EA_AT_Commands_Manual 97 / 161 LTE-A Module Series EG060V-EA AT Commands Manual SMS-COMMAND in integer format. If a valid value has been entered once, this parameter can be omitted. Validity period. Depending on SMS-SUBMIT setting: 3GPP TS 23.040 TP-Validity-Period either in integer format or in time-string format (see ). Integer type. Protocol identifier. 3GPP TS 23.040 TP-Protocol-Identifier in integer format. Default: 167. Data coding scheme. Depending on the command or result code: 3GPP TS 23.038 SMS Data Coding Scheme (default 0), or Cell Broadcast Data Coding Scheme in integer format. Quectel_EG060V-EA_AT_Commands_Manual 98 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 9 Packet Domain Commands 9.1. AT+CGATT Attachment or Detachment of PS The command attaches MT to, or detaches MT from, the Packet Domain service. After the command has been completed, the MT remains in V.25ter command state. If MT is already in the requested state, the command will be ignored and the OK response will be returned. If the requested state cannot be achieved, an ERROR or +CME ERROR response will be returned. AT+CGATT Attachment or Detachment of PS Test Command AT+CGATT=? Response +CGATT: (list of supported s) Read Command AT+CGATT? OK Response +CGATT: Write Command AT+CGATT= OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 140 s, determined by network. Whether the command takes effect is determined by network. The configuration will not be saved. Parameter Integer type. Indicates the state of PS attachment. 0 Detached 1 Attached Quectel_EG060V-EA_AT_Commands_Manual 99 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Other values are reserved and will result in an ERROR response to the Write Command. Error codes. For more details, refer to Chapter 12.2. Example AT+CGATT=1 OK AT+CGATT=0 OK AT+CGATT? +CGATT: 0 OK //Attach to PS service. //Detach from PS service. //Query the current PS service state. 9.2. AT+CGDCONT Define PDP Context This command specifies PDP context parameters for a specific context . A special form of the Write Command (AT+CGDCONT=) causes the values for context to become undefined. It is not allowed to change the definition of an already activated context. This Read Command returns the current settings for each defined PDP context. AT+CGDCONT Define PDP Context Test Command AT+CGDCONT=? Response +CGDCONT: (range of supported s),, < APN>,,(range of supported s),(r ange of supported s),(list of supported s),(list of supported s),(range of supported s),(list of supported s) Read Command AT+CGDCONT? OK Response +CGDCONT: ,,,,,,,,, […] Write Command AT+CGDCONT=[,[, [,[,[, OK Response OK Or Quectel_EG060V-EA_AT_Commands_Manual 100 / 161 LTE-A Module Series EG060V-EA AT Commands Manual [,[,[,[, ]]]]]]]]] ERROR Maximum Response Time 300 ms Characteristics Reference 3GPP TS 27.007 The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. PDP context identifier. A numeric parameter which specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands. The range of permitted values (minimum value=1) is returned by the test form of the command. Range: 0–15. String type. Packet data protocol type, a string parameter which specifies the type of packet data protocol. Only 'IP', 'IPv6' and 'IPv4v6' are supported for EPS services. 'IP' Internet Protocol (IETF STD 5) 'PPP' Point to Point Protocol (IETF STD 51) 'IPV6' Internet Protocol, version 6 'IPV4V6' Virtual introduced to handle dual IP stack UE capability String type. Access point name, a string parameter that is a logical name used to select the GGSN or the external packet data network. If the value is null or omitted, then the subscription value will be requested. String type. Identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a dynamic address will be requested. The allocated address may be read using the AT+CGPADDR command. Integer type. Controls PDP data compression (applicable for SNDCP only) (see 3GPP TS 44.065). 0 Off (Default if value is omitted) 1 On (Manufacturer preferred compression) 2 V.42bis 3 V.44 (Not supported currently) Integer type. Controls PDP header compression (see 3GPP TS 44.065 and 3GPP TS 25.323). 0 Off 1 On 2 RFC1144 3 RFC2507 4 RFC3095 Integer type. Controls how the MT/TA requests to get the IPv4 address information. 0 IPv4 address allocated through NAS signalling Quectel_EG060V-EA_AT_Commands_Manual 101 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 1 IPv4 address allocated through DHCP Integer type. Indicates the type of PDP context activation request for the PDP context. Please refer to 3GPP TS 24.301 (subclause 6.5.1.2) and 3GPP TS 24.008 (subclause 10.5.6.17). If the initial PDP context is supported (subclause 10.1.0), it is not allowed to assign =0 for emergency bearer services. According to 3GPP TS 24.008 (subclause 4.2.4.2.2 and 4.2.5.1.4) and 3GPP TS 24.301 (subclause 5.2.2.3.3 and 5.2.3.2.2), a separate PDP context must be established for emergency bearer services. Integer type. Influences how the MT/TA requests to get the P-CSCF address, (see 3GPP TS 24.229 annex B and L). 0 Preference of P-CSCF address discovery not influenced by AT+CGDCONT 1 Preference of P-CSCF address discovery through NAS signaling 2 Preference of P-CSCF address discovery through DHCP Integer type. Indicates to the network whether the PDP context is for IM CN subsystem-related signaling only or not. 0 UE indicates that the PDP context is not for IM CN subsystem-related signaling only 1 UE indicates that the PDP context is for IM CN subsystem-related signaling only 9.3. AT+CGACT Activate or Deactivate PDP Context This Write Command activates or deactivates the specified PDP context(s) defined by CGDCONT. After the command has completed, the MT remains in V.250 command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the MT is not PS attached when the activation form of the command is executed, the MT first performs a PS attach and then attempts to activate the specified contexts. If no s specify the activation/deactivation form of the command, it will activate or deactivate all defined contexts. AT+CGACT Activate or Deactivate PDP Context Test Command AT+CGACT=? Response +CGACT: (list of supported s) Read Command AT+CGACT? OK Response +CGACT: , […] Write Command AT+CGACT=, OK Response OK Quectel_EG060V-EA_AT_Commands_Manual 102 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 Or NO CARRIER If there is any error: +CME ERROR: Or ERROR 150 s, determined by network. Whether the command takes effect is determined by network. The configurations will not be saved. Parameter Integer type. Indicates the state of PDP context activation. 0 Deactivated 1 Activated Other values are reserved and will result in an ERROR response to the Write Command. Integer type. Specifies a particular PDP context definition (see AT+CGDCONT). Error codes. For more details, refer to Chapter 12.2. Example AT+CGDCONT=2,'IP','UNINET' OK AT+CGACT=1,2 OK AT+CGACT? +CGACT: 1,1 +CGACT: 2,1 OK AT+CGACT=0,2 OK //Define PDP context. //Activate PDP. //Query the current PDP context state. //Deactivate the PDP. 9.4. AT+CGPADDR Show PDP Address This Write Command returns a list of PDP addresses for the specified context identifiers. If no is specified, the addresses for all defined contexts are returned. Quectel_EG060V-EA_AT_Commands_Manual 103 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+CGPADDR Show PDP Address Test Command AT+CGPADDR=? Response +CGPADDR: (list of defined s) Execution/Write Command AT+CGPADDR[=[,[,…]]] OK Response +CGPADDR: , […] Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK Or ERROR 300 ms Whether the command takes effect is determined by network. The configurations will not be saved. Parameter Integer type. Specifies a particular PDP context definition (see AT+CGDCONT). String type. Identifies the MT in the address space applicable to the PDP. The address may be static or dynamic. For a static address, it will be the one set by AT+CGDCONT when the context is defined. For a dynamic address it will be the one assigned during the last PDP context activation that used the context definition referred to by . is omitted if none is available. Example AT+CGDCONT=1,'IP','UNINET' OK AT+CGACT=1,1 OK AT+CGPADDR=1 +CGPADDR: 1,'10.76.51.180' OK //Define PDP context. //Activate PDP. //Show PDP address. Quectel_EG060V-EA_AT_Commands_Manual 104 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 9.5. AT+CGCLASS GPRS Mobile Station Class This command sets the MT to operate according to the specified mode of operation. For details, see 3GPP TS 23.060. AT+CGCLASS GPRS Mobile Station Class Test Command AT+CGCLASS=? Response +CGCLASS: (list of supported s) Read Command AT+CGCLASS? OK Response +CGCLASS: Write Command AT+CGCLASS= OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter String type. Indicates the GPRS mobile class (Functionality in descending order). A Class-A mode of operation (A/Gb mode), or CS/PS mode of operation (highest mode of operation) B Class-B mode of operation (A/Gb mode), or CS/PS mode of operation CG Class-C mode of operation in PS only mode (A/Gb mode), or PS mode of operation CC Class-C mode of operation in CS only mode (A/Gb mode), or CS (lowest mode of operation) Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 105 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 9.6. AT+CGREG GPRS Network Registration Status This command queries the network registration status and controls the presentation of an unsolicited result code +CGREG: when =1 and there is a change in the MT’s GPRS network registration status in GERAN/UTRAN, or unsolicited result code +CGREG: [,[],[],[],[]] when =2 and there is a change of the network cell in GERAN/UTRAN. The configuration will take effect immediately. AT+CGREG Network Registration Status Test Command AT+CGREG=? Response +CGREG: (list of supported s) Read Command AT+CGREG? OK Response +CGREG: ,[,,[,]] Write Command AT+CGREG= Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code +CGREG: 2 Enable network registration and location information unsolicited result code +CGREG: [,,[,]] Integer type. Indicates the GPRS registration status. 0 Not registered. MT is not currently searching an operator to register to. The UE is in GMM state GMM-NULL or GMM-DEREGISTERED-INITIATED. The GPRS service is disabled, but the UE is allowed to attach for GPRS if requested by the user. 1 Registered, home network. The UE is in GMM state GMM-REGISTERED or GMM-ROUTING-AREA-UPDATING-INITIATED INITIATED on the home PLMN. 2 Not registered, but MT is trying to attach or searching an operator to register to. Quectel_EG060V-EA_AT_Commands_Manual 106 / 161 LTE-A Module Series EG060V-EA AT Commands Manual UE is in GMM state GMM-DEREGISTERED or GMM-REGISTERED-INITIATED. The GPRS service is enabled, but an allowable PLMN is currently not available. The UE will start a GPRS attach as soon as an allowable PLMN is available. 3 Registration denied. The UE is in GMM state GMM-NULL. The GPRS service is disabled, and the UE is not allowed to attach for GPRS if requested by the user. 4 Unknown 5 Registered, roaming String type. Two-byte location area code in hexadecimal format (e.g. '00C3' equals 195 in decimal). String type. 16-bit (GSM) or 28-bit (UMTS/LTE) cell ID in hexadecimal format. Access technology selected. 0 GSM 2 UTRAN 3 GSM W/EGPRS 4 UTRAN W/HSDPA 5 UTRAN W/HSUPA 6 UTRAN W/HSDPA and HSUPA 7 E-UTRAN 8 UTRAN HSPA+ String type. Routing Area Code. 9.7. AT+CGEREP Packet Domain Event Reporting This Write Command enables or disables sending of unsolicited result codes +CGEV: XXX from MT to TE in the case of certain events occurring in the Packet Domain MT or the network. controls the processing of unsolicited result codes specified within this command. controls the effect on buffered codes when 1 or 2 is specified. AT+CGEREP Packet Domain Event Reporting Test Command AT+CGEREP=? Response +CGEREP: (range of supported s),(list of supported s) Read Command AT+CGEREP? OK Response +CGEREP: , Write Command AT+CGEREP[=mode[,]] OK Response OK Or ERROR Quectel_EG060V-EA_AT_Commands_Manual 107 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. 0 Buffer unsolicited result codes in the MT; if MT result code buffer is full, the oldest ones can be discarded. No codes are forwarded to the TE. 1 Discard unsolicited result codes when MT-TE link is reserved (e.g. in on-line data mode), otherwise forward them directly to the TE. 2 Buffer unsolicited result codes in the MT when MT-TE link is reserved (e.g. in on-line data mode) and flush them to the TE when MT-TE link becomes available. Otherwise forward them directly to the TE. Integer type. 0 MT buffer of unsolicited result codes defined within this command is cleared when 1 or 2 is specified. 1 MT buffer of unsolicited result codes defined within this command is flushed to the TE when 1 or 2 is specified (OK response shall be given before flushing the codes). NOTES The unsolicited result codes and the corresponding events are defined as follows: 1. +CGEV: REJECT ,: A network request for PDP context activation occurred when the MT was unable to report it to the TE with a +CRING unsolicited result code and was automatically rejected. Note: This event is not applicable for EPS. 2. +CGEV: NW REACT ,,[]: The network has requested a context reactivation. The used to reactivate the context is provided if known to the MT. Note: This event is not applicable for EPS. 3. +CGEV: NW DEACT ,,[]: The network has forced a context deactivation. The used to activate the context is provided if known to the MT. 4. +CGEV: ME DEACT ,,[]: The mobile equipment has forced a context deactivation. The used to activate the context is provided if known to the MT. 5. +CGEV: NW DETACH: The network has forced a Packet Domain detach. This implies that all active contexts have been deactivated. These are not reported separately. 6. +CGEV: ME DETACH: The mobile equipment has forced a Packet Domain detach. This implies that all active contexts have been deactivated. These are not reported separately. 7. +CGEV: NW CLASS : The network has forced a change of MS class. The highest available Quectel_EG060V-EA_AT_Commands_Manual 108 / 161 LTE-A Module Series EG060V-EA AT Commands Manual class is reported (see AT+CGCLASS). 8. +CGEV: ME CLASS : The mobile equipment has forced a change of MS class. The highest available class is reported (see AT+CGCLASS). 9. +CGEV: PDN ACT : Activated a context. The context represents a PDN connection in LTE or a Primary PDP context in GSM/UMTS. 10. +CGEV: PDN DEACT : Deactivated a context. The context represents a PDN connection in LTE or a Primary PDP context in GSM/UMTS. Parameter Srting type. Packet data protocol type. A string parameter which specifies the type of packet data protocol. 'IP' IPv4 'PPP' PPP 'IPV6' IPv6 'IPV4V6' IPv4v6 String type. Identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP. Integer type. PDP context identifier. A numeric parameter which specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands. The range of permitted values (minimum value=1) is returned by the test form of AT+CGDCONT. String type. Indicates the GPRS mobile class. A Class A (highest) 9.8. AT+CGSMS Select Service for MO SMS Messages This command specifies the service or service preference that the MT will use to send MO (mobile originated) SMS messages. AT+CGSMS Select Service for MO SMS Messages Test Command AT+CGSMS=? Response +CGSMS: (range of currently available s) Read Command AT+CGSMS? OK Response +CGSMS: Write Command AT+CGSMS= OK Response OK Quectel_EG060V-EA_AT_Commands_Manual 109 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. Indicates the service or service preference to be used. 0 GPRS 1 Circuit switch 2 Packet domain preferred (use circuit switched if GPRS not available) 3 Circuit switch preferred (use GPRS if circuit switched not available) Error codes. For more details, refer to Chapter 12.2. 9.9. AT+CEREG EPS Network Registration Status This command queries the network registration status and controls the presentation of an unsolicited result code +CEREG: when =1 and there is a change in the MT’s EPS network registration status in E-UTRAN, or unsolicited result code +CEREG: [,[],[],[]] when =2 and there is a change of the network cell in E-UTRAN. AT+CEREG EPS Network Registration Status Test Command AT+CEREG=? Response +CEREG: (range of supported s) Read Command AT+CEREG? OK Response +CEREG: ,[,,[,]] Write Command AT+CEREG= OK Response OK Or ERROR Quectel_EG060V-EA_AT_Commands_Manual 110 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code +CEREG: 2 Enable network registration and location information unsolicited result code +CEREG: [,,[,]] Integer type. Indicate the EPS registration status. 0 Not registered. ME is not currently searching a new operator to register to 1 Registered, home network 2 Not registered, but ME is currently searching a new operator to register to 3 Registration denied 4 Unknown 5 Registered, roaming String type. Two-byte tracking area code in hexadecimal format. String type. 28-bit E-UTRAN cell ID in hexadecimal format. Integer type. Access technology selected. 0 GSM 2 UTRAN 3 GSM W/EGPRS 4 UTRAN W/HSDPA 5 UTRAN W/HSUPA 6 UTRAN W/HSDPA and HSUPA 7 E-UTRAN 8 UTRAN HSPA+ 9.10. AT+QGDCNT Packet Data Counter This command allows the application to check how much bytes are sent by or received by MT. AT+QGDCNT Packet Data Counter Test Command AT+QGDCNT=? Response +QGDCNT: (list of supported s) Quectel_EG060V-EA_AT_Commands_Manual 111 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+QGDCNT? Write Command AT+QGDCNT= Maximum Response Time Characteristics Reference Quectel OK Response +QGDCNT: , OK Response OK If there is any error: +CME ERROR: Or ERROR 300 ms Whether the command takes effect is determined by network. The configuration will not be saved. Parameter Integer type. The operation about data counter. 0 Reset the data counter 1 Save the results of data counter to NVM Integer type. The amount of sent bytes. String type. Two-byte tracking area code in hexadecimal format. The amount of received bytes. Error codes. For more details, refer to Chapter 12.2. NOTE When MT is powered on, and are loaded from results of data counter in NVM. The default result in NVM is 0. Example AT+QGDCNT=? +QGDCNT: (0,1) OK AT+QGDCNT? +QGDCNT: 3832,4618 //Test command. //Query the current bytes sent and received. Quectel_EG060V-EA_AT_Commands_Manual 112 / 161 OK AT+QGDCNT=1 OK AT+QGDCNT=0 OK LTE-A Module Series EG060V-EA AT Commands Manual //Save the results to NVM. //Reset the data counter. 9.11. AT+QAUGDCNT Auto Save Packet Data Counter This command allows AT+QGDCNT to save results to NVM automatically. AT+QGDCNT Auto Save Packet Data Counter Test Command AT+QAUGDCNT=? Response +QAUGDCNT: (list of supported s) Read Command AT+QAUGDCNT? OK Response +QAUGDCNT: Write Command AT+QAUGDCNT= OK Response OK Maximum Response Time Characteristics Reference If there is any error: +CME ERROR: Or ERROR 300 ms Whether the command takes effect is determined by network. The configuration will not be saved. Parameter Integer type. The parameter is the time-interval for AT+QGDCNT to save results to NVM automatically. If it is set to 0, auto-save feature is disabled. Range: 0, 30–65535. Default: 0. Unit: second. Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 113 / 161 Example AT+QAUGDCNT=? +QAUGDCNT: (0,30-65535) OK AT+QAUGDCNT=35 OK AT+QAUGDCNT? +QAUGDCNT: 35 OK LTE-A Module Series EG060V-EA AT Commands Manual //Test command. //Set to 35. //Query the interval of auto-save. 9.12. AT+AUTOAPN Auto-configure APN This command configures the APN used when the module starts. AT+AUTOAPN Auto-configure APN Test Command AT+AUTOAPN=? Response +AUTOAPN: (list of supported s),(list of supported s),,(range of supported s),< user_name>, Read Command AT+AUTOAPN? OK Response +AUTOAPN: Write Command AT+AUTOAPN=[,,[,[,,]]] OK Response OK Or ERROR Maximum Response Time 300 ms Characteristics The command takes effect after rebooting. The configurations will be saved automatically. Parameter Integer type. Specifies the APN. 0 Non-automatic APN. You need to manually configure APN-related parameters and save to system. After reboot, you can dial up to internet with Quectel_EG060V-EA_AT_Commands_Manual 114 / 161 LTE-A Module Series EG060V-EA AT Commands Manual the APN. 1 Automatic APN. The module dials up to internet with internal automatic APN configuration String type. Packet data protocol type. 'IP' Get IPv4 address from Internet 'IPV6' Get IPv6 address from Internet 'IPV4V6' Get IPv4 and IPv6 address from Internet The following parameters are only valid when is 0: String type. Access point name. Authentication way. 0 None 1 PAP 2 CHAP String type. Username used to dial up the Internet. String type. Password to dial up the Internet. Example AT+AUTOAPN? +AUTOAPN: 1 //Query the mode of APN configuration. OK AT+AUTOAPN=1,'IP' //Get IPv4 address from Internet. OK AT+AUTOAPN=? //Test command. +AUTOAPN: (0,1),('IP','IPV6','IPV4V6'),,(0-2),, OK 9.13. AT+ZGDCONT Define PDP Context This command specifies PDP context parameters for a specific context . A special form of the Write Command (AT+ZGDCONT=) causes the values for context to become undefined. This Read Command returns the current settings for each defined PDP context. AT+ZGDCONT Define PDP Context Test Command AT+ZGDCONT=? Response +ZGDCONT: (range of supported s),, , Quectel_EG060V-EA_AT_Commands_Manual 115 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+ZGDCONT? OK Response +ZGDCONT: ,,, Write Command AT+ZGDCONT=[,[,< APN>]] OK Response OK Or ERROR Maximum Response Time 300 ms Characteristics Reference 3GPP TS 27.007 The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. PDP context identifier. A numeric parameter which specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands. The range of permitted values (minimum value=1) is returned by the test form of the command. Range: 0–15. String type. Packet data protocol type, a string parameter which specifies the type of packet data protocol. Only 'IP', 'IPv6' and 'IPv4v6' are supported for EPS services. 'IP' Internet Protocol (IETF STD 5) 'IPV6' Internet Protocol, version 6 'IPV4V6' Virtual introduced to handle dual IP stack UE capability String type. Access point name, a string parameter that is a logical name used to select the GGSN or the external packet data network. If the value is null or omitted, then the subscription value will be requested. String type. Identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a dynamic address will be requested. The allocated address may be read using AT+ZGPADDR. 9.14. AT+ZGACT Activate or Deactivate PDP Context This Write Command activates or deactivates the specified PDP context(s) defined by AT+ZGDCONT. After the command has completed, the MT remains in V.250 command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the MT is not PS attached when the activation form of the command is executed, the MT first performs a PS attach and then Quectel_EG060V-EA_AT_Commands_Manual 116 / 161 LTE-A Module Series EG060V-EA AT Commands Manual attempts to activate the specified contexts. AT+ZGACT Activate or Deactivate PDP Context Test Command AT+ZGACT=? Response +ZGACT: (list of supported s) Read Command AT+ZGACT? OK Response +ZGACT: , […] Write Command AT+ZGACT=, OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 150 s, determined by network. Whether the command takes effect is determined by network. The configurations will not be saved. Parameter Integer type. Indicates the state of PDP context activation. 0 Deactivated 1 Activated Other values are reserved and will result in an ERROR response to the Write Command. Integer type. Specifies a particular PDP context definition (see AT+ZGDCONT). Error codes. For more details, refer to Chapter 12.2. Example AT+ZGDCONT=2,'IP','UNINET' OK AT+ZGACT=1,2 OK AT+ZGACT? +ZGACT: 1,1 +ZGACT: 2,1 //Define PDP context. //Activate PDP. //Query the current PDP context state. Quectel_EG060V-EA_AT_Commands_Manual 117 / 161 +ZGACT: 8,1 OK AT+ZGACT=0,2 OK LTE-A Module Series EG060V-EA AT Commands Manual //Deactivate the PDP. 9.15. AT+ZGPADDR Show PDP Address This Write Command returns a list of PDP addresses for the specified context identifiers defined by AT+ZGDCONT. If no is specified, the addresses for all defined contexts are returned. AT+ZGPADDR Show PDP Address Test Command AT+ZGPADDR=? Response +ZGPADDR: (list of defined s) Execution/Write Command AT+ZGPADDR[=[,[,…]]] OK Response +ZGPADDR: , […] Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK Or ERROR 300 ms Whether the command takes effect is determined by network. The configurations will not be saved. Parameter Integer type. Specifies a particular PDP context definition (see AT+ZGDCONT). String type. Identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a dynamic address will be requested. The allocated address may be read using the AT+ZGPADDR command. Example AT+ZGDCONT=1,'IP','UNINET' OK //Define PDP context. Quectel_EG060V-EA_AT_Commands_Manual 118 / 161 AT+ZGACT=1,1 OK AT+ZGPADDR=1 +ZGPADDR: 1,'10.76.51.180' OK LTE-A Module Series EG060V-EA AT Commands Manual //Activate the PDP. //Show PDP address. 9.16. AT+QICSGP Define PDP Context This command specifies PDP context parameters for a specific context . A special form of the Write Command (AT+QICSGP=) causes the values for context to become undefined. AT+QICSGP Define PDP Context Test Command AT+QICSGP=? Response +QICSGP: (range of supported s),(range of suppor ted s),,,, (range of supported s) Read Command AT+QICSGP? OK Response +QICSGP: ,,,,< username>, Write Command AT+QICSGP=,[,< APN>[,,,[]]] OK Response If the optional parameters are omitted, query the configuration of a specified context: +QICSGP: ,,,, OK Characteristics If the optional parameters are specified, configure the parameters of the specified PDP context: OK Or ERROR The command takes effect immediately. The configurations will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 119 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. The context ID. Range: 1–15. Integer type. The protocol type. 1 IPv4 2 IPv6 3 IPv4v6 String type. The access point name. String type. The username. The maximum length is 50 bytes. String type. The password. The maximum length is 50 bytes. Integer type. The authentication methods. 0 None 1 PAP 2 CHAP Example AT+QICSGP=1 +QICSGP: 1,'','','',0 OK AT+QICSGP=1,1,'UNINET',,,1 OK //Query the configurations of context 1. //Configure context 1. APN 'UNINET' stands for China Unicom. 9.17. AT+QNETDEVCTL Activate or Deactivate PDP Context This Write Command activates or deactivates the specified PDP context(s) defined by AT+QICSGP, and, if TA is disconnected from the network, indicate TA to reconnect to the network and automatically start the data call. After the command has completed, the MT remains in V.250 command state. If the PDP context specified is already in the requested state, its state remains unchanged after the execution of this command. If the MT is not PS-attached when the activation form of the command is executed, the MT first performs a PS attach and then attempts to activate the specified context(s). AT+QNETDEVCTL Test Command AT+QNETDEVCTL=? Activate or Deactivate PDP Context Response +QNETDEVCTL: (range of supported s),(range of supported s),(list of supported s) Read Command AT+QNETDEVCTL? OK Response +QNETDEVCTL: ,,, Quectel_EG060V-EA_AT_Commands_Manual 120 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command AT+QNETDEVCTL=,[,] Maximum Response Time Characteristics OK Response OK If there is any error: +CME ERROR: Or ERROR 150 s, determined by network. The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. Whether to activate the specified PDP context. 0 Deactivate the specified PDP context 1 Activate the specified PDP context only once. It will not reconnect the network once disconnecting from the network. 2 Activate the specified PDP context. It will reconnect the network after disconnecting from the network. 3 Activate PDP Context and automatically start the data call after rebooting the module. It will reconnect the network after disconnecting from the network. Integer type. PDP context ID. Range: 1–15. Integer type. Whether to enable URC report function. 0 Disable 1 Enable Integer type. Activation state. 0 Deactivated 1 Activated Error codes. For more details, refer to Chapter 12.2. Example AT+QNETDEVCTL=1,2,1 OK AT+QNETDEVCTL? +QNETDEVCTL: 1,2,1,1 OK AT+QNETDEVCTL=0,2 OK //Activate the PDP. //Query the current PDP context state. //Deactivate the PDP. Quectel_EG060V-EA_AT_Commands_Manual 121 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 9.18. AT+QNETDEVSTATUS Show PDP Relevant Information This Write Command returns the relevant information , , , and of an active non-secondary PDP context with the context identifier . If the MT has dual stack capabilities, two lines of information are returned per . The first line presents IPv4 parameters while the second line IPv6 parameters. If is omitted, the relevant information for all active non-secondary PDP contexts is returned. AT+ QNETDEVSTATUS Show PDP Relevant Information Test Command AT+QNETDEVSTATUS=? Response +QNETDEVSTATUS: (list of s of active contexts) Execution/Write Command AT+QNETDEVSTATUS[=] OK Response +QNETDEVSTATUS: ,,,< DHCP>,, […] Maximum Response Time Characteristics OK Or ERROR 300 ms / Parameter Integer type. Specifies a particular PDP context (see AT+QICSGP for the definition of this context). Range: 1–15. String type. Shows the IP address and subnet mask of the MT. String type. Shows the gateway address of the MT. String type. Shows the DHCP address. String type. Shows the IP address of the primary DNS server. String type. Shows the IP address of the secondary DNS server. Example AT+QICSGP? +QICSGP: 1,1,'cmnet','','',0 OK AT+QNETDEVSTATUS=? Quectel_EG060V-EA_AT_Commands_Manual 122 / 161 LTE-A Module Series EG060V-EA AT Commands Manual +QNETDEVSTATUS: (1) OK AT+QNETDEVSTATUS +QNETDEVSTATUS: 1,'10.253.107.97','','','218.104.78.2','220.206.143.2' OK AT+QNETDEVSTATUS=1 +QNETDEVSTATUS: 1,'10.253.107.97','','','218.104.78.2','220.206.143.2' OK Quectel_EG060V-EA_AT_Commands_Manual 123 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 10 Audio Commands 10.1. AT+CLVL Loudspeaker Volume Level Selection This command selects the volume of the internal loudspeaker of MT. AT+CLVL Loudspeaker Volume Level Selection Test Command AT+CLVL=? Response +CLVL: (list of supporteds) Read Command AT+CLVL? OK Response +CLVL: Write Command AT+CLVL= Maximum Response Time Characteristics Reference Reference 3GPP TS 27.007 OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration(s) will not be saved. Parameter Integer type. Volume level with manufacturer specific range (Smallest value represents the lowest sound level). Range: 0–5; Default: 3. Error codes. For more details, refer to Chapter 12.2. 10.2. AT+QLDTMF Play Local DTMF This command plays a local DTMF string. It can be used to stop playing the DTMF string. Quectel_EG060V-EA_AT_Commands_Manual 124 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+QLDTMF Play Local DTMF Test Command AT+QLDTMF=? Response +QLDTMF: (range of supported s),(list of supported s) Write Command AT+QLDTMF=, [,] OK Response OK If there is error related to ME functionality: +CME ERROR: Execution Command AT+QLDTMF Maximum Response Time Characteristics Reference Quectel After the DTMF string is completely played: +QLDTMF: 5 Response OK 300 ms The command takes effect immediately. The configurations will not be saved. Parameter Integer type. Indicates every DTMF’s play time and mute time. Range: 1–1000. String type. Maximum length: 20 characters, separated by comma. DTMF format: 0–9, *, #, A–D. Error codes. For more details, refer to Chapter 12.2. Example AT+QLDTMF=? +QLDTMF: (1-1000),(0-9,*,#,A-D) OK AT+QLDTMF=100,'1,2,A,B,#' OK AT+QLDTMF OK //Query the range. //Play '1,2,A,B,#' play time & mute time is 1 second. //Stop playing. Quectel_EG060V-EA_AT_Commands_Manual 125 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 10.3. AT+QAUDLOOP Enable/Disable Audio Loop Test This command enables/disables audio loop test. AT+QAUDLOOP Enable/Disable Audio Loop Test Test Command AT+QAUDLOOP=? Response +QAUDLOOP: (list of supported s) Read Command AT+QAUDLOOP? OK Response +QAUDLOOP: Write Command AT+QAUDLOOP= Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will not be saved. Parameter Integer type. Enables or disables audio loop test. 0 Disable audio loop test 1 Enable audio loop test 10.4. AT+QDAI Digital Audio Interface Configuration This command configures the digital audio interface. When there is no codec on board, you can define the PCM formats by themselves. In the following conditions, the MT can be used directly with default settings (master mode, short-synchronization, 2048 kHz clock frequency, 16-bit liner data format, 8 kHz sampling rate). AT+QDAI Digital Audio Interface Configuration Test Command AT+QDAI=? Response +QDAI: (list of supported s),(list of supported Quectel_EG060V-EA_AT_Commands_Manual 126 / 161 LTE-A Module Series EG060V-EA AT Commands Manual s),(list of supported s),(range of supported s),(list of supported s),(list of supported s),(list of supported s),(range of supported s) Read Command AT+QDAI? OK Response +QDAI: [,,,,,,,] Write Command AT+QDAI=[,,,[,[,[,,]]]] OK Response OK Or ERROR Maximum Response Time 300 ms Characteristics Reference Quectel The command takes effect after rebooting. The configuration will be saved automatically. Parameter x Unused (1-3,5 can be set automatically). Integer type. Enable master or slave mode. 0 Master mode 1 Slave mode Integer type. Enable primary or auxiliary mode. 0 Primary mode (short-synchronization) 1 Auxiliary mode (long-synchronization) Integer type. Clock frequency. 0 128 kHz 1 256 kHz 2 512 kHz 3 1024 kHz 4 2048 kHz 5 4096 kHz Integer type. Data format. 0 16-bit linear Integer type. Choose a sampling rate. 0 8 kHz 1 16 kHz Integer type. Quectel_EG060V-EA_AT_Commands_Manual 127 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 1 Number of slot Integer type. Slot mapping value. Range: 1–16. NOTES 1. 4096 kHz clock frequency is only applicable for 16 kHz sampling rate. 2. 128 kHz clock frequency is not supported. 3. Bit per frame = /. For example, if is 2048 kHz and is 8 kHz, then bit per frame is 256. Bit per frame should be greater than 16. 4. When slave mode is selected, master and synchronization clock should be provided for the MT. When a recommended codec is selected and 16 kHz sampling rate is required, input . Currently only ALC5616 supports 16 kHz (AT+QDAI=3,0,0,4,0,0,1,1). 10.5. AT+QSIDET Set Side Tone Gain in Current Mode This command sets the side tone gain value in current mode. It will take effect at next sound activity. AT+QSIDET Set Side Tone Gain in Current Mode Test Command AT+QSIDET=? Response +QSIDET: (list of supported s) Read Command AT+ QSIDET? OK Response +QSIDET: Write Command AT+QSIDET= Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration(s) will not be saved. Parameter Integer type. Indicates the configured side tone gain in current mode. Range: 0–65535. Default value might be different in different audio modes. Quectel_EG060V-EA_AT_Commands_Manual 128 / 161 LTE-A Module Series EG060V-EA AT Commands Manual NOTE This command will be valid only after audio loop test is enabled by AT+QAUDLOOP=1. 10.6. AT+QSLIC Enable/Disable SLIC This command enables/disables the SLIC. AT+QSLIC Enable/Disable SLIC Test Command AT+QSLIC=? Response +QSLIC: (list of supported s),(list of supported s) Read Command AT+ QSLIC? OK Response +QSIDET: , Write Command AT+QSLIC=, Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration(s) will not be saved. Parameter Integer type. Enables or disables SLIC. 0 Disable 1 Enable Integer type. Type of SLIC. 1 LE9643 2 SI32185 Quectel_EG060V-EA_AT_Commands_Manual 129 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 10.7. AT+QAUDMOD Set Audio Mode This command sets the audio mode required for the connected device. It will take effect at next sound activity. AT+QAUDMOD Set Audio Mode Test Command AT+QAUDMOD=? Response +QAUDMOD: (range of supported s) Read Command AT+QAUDMOD? OK Response +QAUDMOD: Write Command AT+ QAUDMOD= Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. Indicates the current configured audio mode. 0 Echo canceller, noise suppressor, digital gain and calibration parameter for handset 1 Echo canceller, noise suppressor, digital gain and calibration parameter for headset 2 Echo canceller, noise suppressor, digital gain and calibration parameter for speaker 10.8. AT+QMIC Set Uplink Gains of Microphone This command sets the uplink gains of microphone. AT+QMIC Set Uplink Gains of Microphone Test Command AT+QMIC=? Response +QMIC: (range of supported s) Quectel_EG060V-EA_AT_Commands_Manual 130 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+QMIC? Write Command AT+QMIC= Maximum Response Time Characteristics Reference Quectel OK Response +QMIC: OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will not be saved. Parameter Integer type. Uplink digital gain. Range: 0–65535. The default value may be different in different audio modes. 10.9. AT+QRXGAIN Set Downlink Gains of RX This command sets RX digital gains to change the downlink volume. AT+QRXAGIN Set Downlink Gains of RX Test Command AT+QRXGAIN=? Response +QRXGAIN: (range of supported s) Read Command AT+QRXGAIN? OK Response +QRXGAIN: Write Command AT+QRXGAIN = Maximum Response Time Characteristics OK Response OK Or ERROR 300 ms The command takes effect immediately. Quectel_EG060V-EA_AT_Commands_Manual 131 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference Quectel The configuration will not be saved. Parameter Integer type. Downlink digital gains. Range: 0–65535. The default value might be different in different audio modes. 10.10. AT+VTS DTMF and Tone Generation This command sends ASCII characters which cause MSC to transmit DTMF tones to a remote subscriber. This command can only be operated in a voice call. AT+VTS DTMF and Tone Generation Test Command AT+VTS=? Response +VTS: (list of supported s),(range of supported s) Write Command AT+VTS=[,] Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR Depends on the length of and . The command takes effect immediately. The configurations will not be saved. Parameter String type. ASCII characters in the set 0...9,#,*, A, B, C, D. The string should be enclosed in quotation marks ('...'). When sending multiple tones at a time, the time interval of two tones can be specified by AT+VTD. The maximal length of the string is 31 bytes. The duration of each tone in 10 ms with tolerance. Range: 300–600. Default: 300. If the duration is less than the minimum time specified by the network, the actual duration will be the network specified time. If this parameter is omitted, can be specified by AT+VTS. Quectel_EG060V-EA_AT_Commands_Manual 132 / 161 Example ATD12345678900; OK //Call connected. AT+VTS='1' OK AT+VTS='1234567890A' OK LTE-A Module Series EG060V-EA AT Commands Manual //Dial. //The remote caller can hear the DTMF tone. //Send multiple tones at a time. Quectel_EG060V-EA_AT_Commands_Manual 133 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 11 Hardware Related Commands 11.1. AT+CCLK Clock This command sets and queries the real time clock (RTC) of the module. The current setting is retained until the module is totally disconnected from power. AT+CCLK Clock Test Command AT+CCLK=? Read Command AT+CCLK? Response OK Response +CCLK: Write Command AT+CCLK= OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter String type. The format is 'yy/MM/dd,hh:mm:ss±zz', indicating year (two last digits), month, day, hour, minutes, seconds and time zone (indicates the difference, expressed in quarters of an hour, between the local time and GMT; range: -48 to +56). E.g., May 6th, 1994, 22:10:00 GMT+2 hours equals to '94/05/06,22:10:00+08'. Quectel_EG060V-EA_AT_Commands_Manual 134 / 161 Example AT+CCLK? +CCLK: '20/09/29,15:39:31+32' OK LTE-A Module Series EG060V-EA AT Commands Manual //Query the local time. 11.2. AT+QSCLK Enable/Disable Low Power Mode This command controls whether to enable low power mode. When the low power mode is enabled, the module can directly enter low power mode. AT+QSCLK Enable/Disable Low Power Mode Test Command AT+QSCLK=? Response +QSCLK: (list of support s) Read Command AT+QSCLK? OK Response +QSCLK: Write Command AT+QSCLK= OK Response OK Maximum Response Time Characteristics Reference Quectel 300 ms The command takes effect immediately. The configuration will not be saved. Parameter Integer type. Low power mode. 0 Disable 1 Enable. It is controlled by DTR 11.3. AT+QPOWD Power off This command shuts down the module. The UE returns OK immediately when the command is executed. Quectel_EG060V-EA_AT_Commands_Manual 135 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Then the UE deactivates the network. After the deactivation is completed, the UE outputs POWERED DOWN and enters the shutdown state. The maximum time for unregistering network is 60 seconds. The UE is not allowed to turn off the power before the module STATUS pin is driven low or the URC POWERED DOWN is output to avoid data loss. AT+QPOWD Power off Test Command AT+QPOWD=? Response +QPOWD: (list of supported s) Execution Command AT+QPOWD[=] OK Response OK Maximum Response Time Characteristics 300 ms / Parameter Integer type. Power-off mode. 0 Immediate power down 1 Normal power down 11.4. AT+QADC Read ADC Value This command reads the voltage value of ADC channel. AT+QADC Read ADC Value Test Command AT+QADC=? Response +QADC: (list of supported s) Read Command AT+QADC= OK Response +QADC: , Maximum Response Time Characteristics OK 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 136 / 161 Parameter LTE-A Module Series EG060V-EA AT Commands Manual Integer type. Channel number of the ADC. 0 ADC Channel 0 1 ADC Channel 1 Integer type. Whether the ADC value is read successfully. 0 Fail 1 Success Integer type. The voltage of specified ADC channel. Unit: mV. Quectel_EG060V-EA_AT_Commands_Manual 137 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 12 Appendix A References 12.1. References Table 3: Related Documents SN Document Name [1] V.25ter [2] 3GPP TS 27.007 [3] 3GPP TS 27.005 Remark Serial asynchronous automatic dialing and control Digital cellular telecommunications (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; AT command set for User Equipment (UE) Digital cellular telecommunications (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; Use of Data Terminal Equipment – Data Circuit terminating Equipment (DTE-DCE) interface for Short Message Service (SMS) and Cell Broadcast Service (CBS) Table 4: Terms and Abbreviations Abbreviation 3GPP ADC AMR APN ARFCN ASCII BAIC Description 3rd Generation Partnership Project Analog-to-Digital Converter Adaptive Multi-Rate Access Point Name Absolute Radio-Frequency Channel Number American Standard Code for Information Interchange Bar All Incoming Calls Quectel_EG060V-EA_AT_Commands_Manual 138 / 161 BAOC BCD BOIC BOIC-exHC CBM CCH CHAP CS CSD CUG DCD DCE DCS DHCP DPCH DTE DTMF DTR EARFCN ECC ECM ECT EDGE EGPRS eHRPD LTE-A Module Series EG060V-EA AT Commands Manual Bar All Outgoing Calls Binary-Coded Decimal Bar Outgoing International Calls Bar Outgoing International Calls except to Home Country Cell Broadcast Message Control Channel Challenge-Handshake Authentication Protocol Circuit Switching Circuit Switch Data Closed User Group Data Carrier Detection Data Communication Equipment Data Coding Scheme Dynamic Host Configuration Protocol Dedicated Physical Channel Data Terminal Equipment Dual-Tone Multifrequency Data Terminal Ready E-UTRA Absolute Radio Frequency Channel Number Emergency Call Ethernet Networking Control Model Explicit Call Transfer supplementary service Enhanced Data Rates for GSM Evolution Enhanced General Packet Radio Service evolved High Rate Packet Data Quectel_EG060V-EA_AT_Commands_Manual 139 / 161 EPS E-UTRAN FDD FDPCH GGSN GMM GMT GPIO GPRS GSM HDR HLR HSDPA HSPA+ HSUPA ICCID IE IIC IMEI IMS IMSI IPv4 IPv6 IRA LLC LTE-A Module Series EG060V-EA AT Commands Manual Evolved Packet System Evolved Universal Terrestrial Radio Access Network Frequency Division Duplex Fraction-Dedicated Physical Channel Gateway GPRS Support Node GPRS Mobility Management Greenwich Mean Time General-Purpose Input/Output General Packet Radio Service Global System for Mobile Communications High Data Rate Home Location Register High Speed Downlink Packet Access High Speed Packet Access High Speed Uplink Packet Access Integrated Circuit Card Identifier Information Element Inter-Integrated Circuit International Mobile Equipment Identity IP Multimedia Subsystem IMS International Mobile Subscriber Identity Internet Protocol version 4 Internet Protocol version 6 International Reference Alphabet Logical Link Control Quectel_EG060V-EA_AT_Commands_Manual 140 / 161 LTE-A MAC ME MiFi MO MS MSC MSISDN MT NAS NCM NITZ NSAPI NVM PAP PCI PCM P-CSCF PDP PDU PIN PLMN PPP PS PSC LTE-A Module Series EG060V-EA AT Commands Manual Long Term Evolution Advanced Medium Access Control Mobile Equipment Mobile Wi-Fi Mobile Originated Mobile Station Mobile Switching Center Mobile Subscriber International ISDN/PSTN number Mobile Terminal Non-Access Stratum Network Control Model Network Identity and Time Zone/Network Informed Time Zone Network Service Access Point Identifier Non-volatile-Memory Password Authentication Protocol Physical Cell Identity Pulse Code Modulation Proxy-Call Session Control Function Packet Data Protocol Packet Data Unit Personal Identification Number Public Land Mobile Network Point-to-Point Protocol Packet Switching Primary Synchronization Code Quectel_EG060V-EA_AT_Commands_Manual 141 / 161 PUK QoS RAB RAT RDI RF RNDIS RP RP SC RR RRC RTC RTS/CTS RX RxQual SAP SDU SINR SM SMS SMSC SNDCP TA TCP TDD LTE-A Module Series EG060V-EA AT Commands Manual PIN Unlock Key Quality of Service Radio Access Bearer Radio Access Technology Remote Defect Indication Radio Frequency Remote Network Driver Interface Specification Relay Protocol Relay Protocol Service Center Radio Resource Radio Resource Control Real-Time Clock Request To Send/Clear To Send Receive Receive Quality Service Access Point Service Data Unit Signal-to-interference-plus-noise Ratio Session Management Short Message Service Short Message Service Center SubNetwork Dependent Convergence Protocol Terminal Adapter Transmission Control Protocol Time Division Duplex Quectel_EG060V-EA_AT_Commands_Manual 142 / 161 TE TFT TPDU UART UDP UE UICC UIM UMTS URC USB USC-2 (U)SIM U-TRA VLR WCDMA LTE-A Module Series EG060V-EA AT Commands Manual Terminal Equipment Traffic Flow Template Transport Protocol Data Unit Universal Asynchronous Receiver/Transmitter User Datagram Protocol User Equipment Universal Integrated Circuit Card User Identity Model Universal Mobile Telecommunications System Unsolicited Result Code Universal Serial Bus Universal Character Set (UCS-2) Format (Universal) Subscriber Identity Module Universal Terrestrial Radio Access Network Visiting Location Register Wideband Code Division Multiple Access 12.2. Summary of CME ERROR Codes Final result code +CME ERROR: indicates an error related to mobile equipment or network. The operation is similar to ERROR result code. values are mostly used by common message commands. The following table lists most of the general and GRPS related ERROR codes. For some GSM protocol failure causes described in GSM specifications, the corresponding ERROR codes are not included here. Quectel_EG060V-EA_AT_Commands_Manual 143 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table 5: Different Coding Schemes of +CME ERROR: Code of 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 Meaning Phone failure No connection to phone Phone-adaptor link reserved Operation not allowed Operation not supported PH-SIM PIN required PH-FSIM PIN required PH-FSIM PUK required SIM not inserted SIM PIN required SIM PUK required SIM failure SIM busy SIM wrong Incorrect password SIM PIN2 required SIM PUK2 required Memory full Invalid index Not found Memory failure Text string too long Invalid characters in text string Quectel_EG060V-EA_AT_Commands_Manual 144 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 26 Dial string too long 27 Invalid characters in dial string 30 No network service 31 Network timeout 32 Network not allowed - emergency calls only 40 Network personalization PIN required 41 Network personalization PUK required 42 Network subset personalization PIN required 43 Network subset personalization PUK required 44 Service provider personalization PIN required 45 Service provider personalization PUK required 46 Corporate personalization PIN required 47 Corporate personalization PUK required 901 Audio unknown error 902 Audio invalid parameters 903 Audio operation not supported 904 Audio device busy 12.3. Summary of CMS ERROR Codes Final result code +CMS ERROR: indicates an error related to mobile equipment or network. The operation is similar to ERROR result code. values are mostly used by common message commands. Quectel_EG060V-EA_AT_Commands_Manual 145 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table 6: Different Coding Schemes of +CMS ERROR: Code of 300 301 302 303 304 305 310 311 312 313 314 315 316 317 318 320 321 322 330 331 332 500 512 Meaning ME failure SMS ME reserved Operation not allowed Operation not supported Invalid PDU mode Invalid text mode SIM not inserted SIM pin necessary PH SIM pin necessary SIM failure SIM busy SIM wrong SIM PUK required SIM PIN2 required SIM PUK2 required Memory failure Invalid memory index Memory full SMSC address unknown No network Network timeout Unknown SIM not ready Quectel_EG060V-EA_AT_Commands_Manual 146 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 513 Message length exceeds 514 Invalid request parameters 515 ME storage failure 517 Invalid service mode 528 More message to send state error 529 MO SMS is not allowed 530 GPRS is suspended 531 ME storage full 12.4. Summary of URC Table 7: Summary of URC Index URC Display Meaning Condition 1 +CREG: Indicate registration status of the ME AT+CREG=1 After cell neighborhood changing +CREG: [,,[, shows whether the network has 2 AT+CREG=2 ]] currently indicated the registration of the ME, with location area code 3 +CGREG: Indicate network registration status of AT+CGREG=1 the ME +CGREG: [,, Indicate network registration and 4 AT+CGREG=2 [,]] location information of the ME 5 +CTZV: Time zone reporting AT+CTZR=1 6 +CTZE: ,, Extended time zone reporting AT+CTZR=2 +COLP: ,,[< The presentation of the COL 17 subaddr>],[],[] mobile originated call 24 RDY ME initialization is successful N/A 25 +CFUN: 1 All function of the ME is available N/A Quectel_EG060V-EA_AT_Commands_Manual 147 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 26 +CPIN: SIM card pin state N/A 27 +QIND: SMS DONE SMS initialization finished N/A 28 +QIND: PB DONE Phonebook initialization finished N/A 29 POWERED DOWN Module power down AT+QPOWD +CGEV: REJECT , and was automatically rejected. +CGEV: NW REACT ,,[] reactivation AT+CGEREP=2,1 +CGEV: NW DEACT ,,[] deactivation +CGEV: ME DEACT ,,[] deactivation. AT+CGEREP=2,1 34 +CGEV: NW DETACH The network has forced a Packet AT+CGEREP=2,1 Domain detach. 35 +CGEV: ME DETACH The mobile equipment has forced a AT+CGEREP=2,1 Packet Domain detach. The network has forced a change of 36 +CGEV: NW CLASS AT+CGEREP=2,1 MS class. The mobile equipment has forced a 37 +CGEV: ME CLASS AT+CGEREP=2,1 change of MS class. 12.5. SMS Character Sets Conversions In 3GPP TS 23.038 DCS (Data Coding Scheme) defined three kinds of alphabets in SMS, GSM 7-bit default alphabet, 8-bit data and UCS2 (16-bit). AT+CSMP can set the DCS in text mode (AT+CMGF=1). In text mode, DCS (Data Coding Scheme) and AT+CSCS determine the way of SMS text input or output. Table 8: The Way of SMS Text Input or Output DCS GSM 7-bit GSM 7-bit GSM 7-bit AT+CSCS GSM IRA UCS2 The Way of SMS Text Input or Output Input or output GSM character sets. Input or output IRA character sets. Input: UE will convert IRA characters to GSM characters. Output: UE will convert GSM characters to IRA characters. Input or output a hex string similar to PDU mode. So only support Quectel_EG060V-EA_AT_Commands_Manual 148 / 161 LTE-A Module Series EG060V-EA AT Commands Manual UCS2 - 8-bit - characters ‘0’-‘9’ and ‘A’-‘F’. Input: UE will convert the UCS2 hex string to GSM characters. Output: UE will convert the GSM characters to UCS2 hex string. Ignore the value of AT+CSCS, input or output a hex string similar to PDU mode. So only support characters ‘0’-‘9’ and ‘A’-‘F’. Ignore the value of AT+CSCS, input or output a hex string similar to PDU mode. So only support characters ‘0’-‘9’ and ‘A’-‘F’. When DCS=GSM 7-bit, the input or output needs conversion. The detailed conversion tables are shown below. Table 9: The Input Conversions Table (DCS=GSM 7-bit and AT+CSCS='GSM') 0 1 2 3 4 5 6 7 0 00 10 20 30 40 50 60 70 1 01 11 21 31 41 51 61 71 2 02 12 22 32 42 52 62 72 3 03 13 23 33 43 53 63 73 4 04 14 24 34 44 54 64 74 5 05 15 25 35 45 55 65 75 6 06 16 26 36 46 56 66 76 7 07 17 27 37 47 57 67 77 8 08 18 28 38 48 58 68 78 9 09 19 29 39 49 59 69 79 A 0A Submit 2A 3A 4A 5A 6A 7A B 0B Cancel 2B 3B 4B 5B 6B 7B C 0C 1C 2C 3C 4C 5C 6C 7C D 0D 1A 2D 3D 4D 5D 6D 7D E 0E 1E 2E 3E 4E 5E 6E 7E F 0F 1F 2F 3F 4F 5F 6F 7F Quectel_EG060V-EA_AT_Commands_Manual 149 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table 10: The Output Conversions Table (DCS=GSM 7-bit and AT+CSCS='GSM') 0 1 2 3 4 5 6 7 0 00 10 20 30 40 50 60 70 1 01 11 21 31 41 51 61 71 2 02 12 22 32 42 52 62 72 3 03 13 23 33 43 53 63 73 4 04 14 24 34 44 54 64 74 5 05 15 25 35 45 55 65 75 6 06 16 26 36 46 56 66 76 7 07 17 27 37 47 57 67 77 8 08 18 28 38 48 58 68 78 9 09 19 29 39 49 59 69 79 A 0D0A 2A 3A 4A 5A 6A 7A B 0B 2B 3B 4B 5B 6B 7B C 0C 1C 2C 3C 4C 5C 6C 7C D 0D 1A 2D 3D 4D 5D 6D 7D E 0E 1E 2E 3E 4E 5E 6E 7E F 0F 1F 2F 3F 4F 5F 6F 7F Table 11: GSM Extended Characters 0 1 2 3 4 5 6 7 0 1B40 1 2 3 4 1B14 Quectel_EG060V-EA_AT_Commands_Manual 150 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 5 6 7 8 1B28 9 1B29 A B C 1B3C D 1B3D E 1B3E F 1B2F Table 12: The Input Conversions Table (DCS=GSM 7-bit and AT+CSCS='IRA') 0 1 2 3 4 0 20 20 30 00 1 20 20 21 31 41 2 20 20 22 32 42 3 20 20 23 33 43 4 20 20 02 34 44 5 20 20 25 35 45 6 20 20 26 36 46 7 20 20 27 37 47 8 backspace 20 28 38 48 9 20 20 29 39 49 A 0A Submit 2A 3A 4A B 20 Cancel 2B 3B 4B 5 6 50 20 51 61 52 62 53 63 54 64 55 65 56 66 57 67 58 68 59 69 5A 6A 1B3C 6B 7 70 71 72 73 74 75 76 77 78 79 7A 1B28 Quectel_EG060V-EA_AT_Commands_Manual 151 / 161 C 20 D 0D E 20 F 20 LTE-A Module Series EG060V-EA AT Commands Manual 20 2C 3C 4C 20 2D 3D 4D 20 2E 3E 4E 20 2F 3F 4F 1B2F 6C 1B3E 6D 1B14 6E 11 6F 1B40 1B29 1B3D 20 Table 13: IRA Extended Characters A B C D E F 0 20 20 20 20 7F 20 1 40 20 20 5D 20 7D 2 20 20 20 20 20 08 3 01 20 20 20 20 20 4 24 20 5B 20 7B 20 5 03 20 0E 20 0F 20 6 20 20 1C 5C 1D 7C 7 5F 20 09 20 20 20 8 20 20 20 0B 04 0C 9 20 20 1F 20 05 06 A 20 20 20 20 20 20 B 20 20 20 20 20 20 C 20 20 20 5E 07 7E D 20 20 20 20 20 20 E 20 20 20 20 20 20 F 20 60 20 1E 20 20 Quectel_EG060V-EA_AT_Commands_Manual 152 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table 14: The Output Conversions Table (DCS=GSM 7-bit and AT+CSCS='IRA') 0 1 2 3 4 5 6 7 0 40 20 20 30 A1 50 BF 70 1 A3 5F 21 31 41 51 61 71 2 24 20 22 32 42 52 62 72 3 A5 20 23 33 43 53 63 73 4 E8 20 A4 34 44 54 64 74 5 E9 20 25 35 45 55 65 75 6 F9 20 26 36 46 56 66 76 7 EC 20 27 37 47 57 67 77 8 F2 20 28 38 48 58 68 78 9 C7 20 29 39 49 59 69 79 A 0D0A 2A 3A 4A 5A 6A 7A B D8 2B 3B 4B C4 6B E4 C F8 C6 2C 3C 4C D6 6C F6 D 0D E6 2D 3D 4D D1 6D F1 E C5 DF 2E 3E 4E DC 6E FC F E5 C9 2F 3F 4F A7 6F E0 Table 15: GSM Extended Characters 0 1 2 3 4 5 6 7 0 7C 1 2 3 4 5E Quectel_EG060V-EA_AT_Commands_Manual 153 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 5 6 7 8 7B 9 7D A B C 5B D 7E E 5D F 5C Because the low 8 bits of UCS2 character is the same as the IRA character: The conversion table of DCS=GSM 7-bit and AT+CSCS='UCS2' is similar to AT+CSCS='IRA'. The conversion table of fmt=GSM 7-bit and AT+CSCS='GSM' is similar to AT+CSCS='GSM'. The conversion table of fmt= GSM 7-bit and AT+CSCS='IRA' is similar to AT+CSCS='IRA'. The conversion table of fmt=GSM 7-bit and AT+CSCS='UCS2' is similar to AT+CSCS='IRA'. The difference is the way of SMS text input or output. See Table 8 for more details. 12.6. Release Cause Text List of AT+CEER Table 16: Release Cause Text List of AT+CEER CS Internal Cause No cause information available (default) Phone is offline No service available Network release, no reason given Quectel_EG060V-EA_AT_Commands_Manual 154 / 161 Received incoming call Client ended call UIM not present Access attempt already in progress Access failure, unknown source Concur service not supported by network No response received from network GPS call ended for user call SMS call ended for user call Data call ended for emergency call Rejected during redirect or handoff Lower-layer ended call Call origination request failed Client rejected incoming call Client rejected setup indication Network ended call No funds available No service available Full service not available Maximum packet calls exceeded Video connection lost Video protocol closed after setup Video protocol setup failure Internal error CS Network Cause Unassigned/unallocated number Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 155 / 161 No route to destination Channel unacceptable Operator determined barring Normal call clearing User busy No user responding User alerting, no answer Call rejected Number changed Non selected user clearing Destination out of order Invalid/incomplete number Facility rejected Response to status enquiry Normal, unspecified No circuit/channel available Network out of order Temporary failure Switching equipment congestion Access information discarded Requested circuit/channel not available Resources unavailable, unspecified Quality of service unavailable Requested facility not subscribed Incoming calls barred within the CUG Bearer capability not authorized Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 156 / 161 Bearer capability not available Service/option not available Bearer service not implemented ACM >= ACM max Requested facility not implemented Only RDI bearer is available Service/option not implemented Invalid transaction identifier value User not member of CUG Incompatible destination Invalid transit network selection Semantically incorrect message Invalid mandatory information Message non-existent/not implemented Message type not compatible with state IE non-existent/not implemented Conditional IE error Message not compatible with state Recovery on timer expiry Protocol error, unspecified Interworking, unspecified CS Network Reject IMSI unknown in HLR Illegal MS IMSI unknown in VLR IMEI not accepted Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 157 / 161 Illegal ME GPRS services not allowed GPRS and non GPRS services not allowed MS identity cannot be derived Implicitly detached PLMN not allowed Location area not allowed Roaming not allowed GPRS services not allowed in PLMN No suitable cells in location area MSC temporary not reachable Network failure MAC failure Synch failure Congestion GSM authentication unacceptable Service option not supported Requested service option not subscribed Service option temporary out of order Call cannot be identified No PDP context activated Semantically incorrect message Invalid mandatory information Message type non-existent Message type not compatible with state Information element non-existent Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 158 / 161 Message not compatible with state RR release indication RR random access failure RRC release indication RRC close session indication RRC open session failure Low level failure Low level failure no redial allowed Invalid SIM No service Timer T3230 expired No cell available Wrong state Access class blocked Abort message received Other causes Timer T303 expired No resources Release pending Invalid user data PS Internal Cause Invalid connection identifier Invalid NSAPI Invalid primary NSAPI PDP establish timeout Invalid field Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 159 / 161 SNDCP failure RAB setup failure No GPRS context PDP activate timeout PDP modify timeout PDP inactive max timeout PDP lower layer error PDP duplicate Access technology change PDP unknown reason CS PS Network Cause LLC or SNDCP failure Insufficient resources Missing or unknown APN Unknown PDP address or PDP type User authentication failed Activation rejected by GGSN Activation rejected, unspecified Service option not supported Requested service option not subscribed Service option temporary out of order NSAPI already used (not sent) Regular deactivation QoS not accepted Network failure Reactivation required Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 160 / 161 Feature not supported Semantic error in the TFT operation Syntactical error in the TFT operation Unknown PDP context PDP context without TFT already activated Semantic errors in packet filter Syntactical errors in packet filter Invalid transaction identifier Semantically incorrect message Invalid mandatory information Message non-existent/not implemented Message type not compatible with state IE non-existent/not implemented Conditional IE error Message not compatible with state Protocol error, unspecified LTE-A Module Series EG060V-EA AT Commands Manual Quectel_EG060V-EA_AT_Commands_Manual 161 / 161
1.06 MB
EG060V-EA AT Commands Manual LTE-A Module Series Version: 1.0 Date: 2021-03-08 Status: Released www.quectel.com LTE-A Module Series EG060V-EA AT Commands Manual Our aim is to provide customers with timely and comprehensive service. For any assistance, please contact our company headquarters: Quectel Wireless Solutions Co., Ltd. Building 5, Shanghai Business Park Phase III (Area B), No.1016 Tianlin Road, Minhang District, Shanghai 200233, China Tel: +86 21 5108 6236 Email: info@quectel.com Or our local office. For more information, please visit: http://www.quectel.com/support/sales.htm. For technical support, or to report documentation errors, please visit: http://www.quectel.com/support/technical.htm Or email to support@quectel.com. General Notes Quectel offers the information as a service to its customers. The information provided is based upon customers’ requirements. Quectel makes every effort to ensure the quality of the information it makes available. Quectel does not make any warranty as to the information contained herein, and does not accept any liability for any injury, loss or damage of any kind incurred by use of or reliance upon the information. All information supplied herein is subject to change without prior notice. Disclaimer While Quectel has made efforts to ensure that the functions and features under development are free from errors, it is possible that these functions and features could contain errors, inaccuracies and omissions. Unless otherwise provided by valid agreement, Quectel makes no warranties of any kind, implied or express, with respect to the use of features and functions under development. To the maximum extent permitted by law, Quectel excludes all liability for any loss or damage suffered in connection with the use of the functions and features under development, regardless of whether such loss or damage may have been foreseeable. Duty of Confidentiality The Receiving Party shall keep confidential all documentation and information provided by Quectel, except when the specific permission has been granted by Quectel. The Receiving Party shall not access or use Quectel’s documentation and information for any purpose except as expressly provided herein. Furthermore, the Receiving Party shall not disclose any of the Quectel's documentation and information to any third party without the prior written consent by Quectel. For any noncompliance to the above requirements, unauthorized use, or other illegal or malicious use of the documentation and information, Quectel will reserve the right to take legal action. Quectel_EG060V-EA_AT_Commands_Manual 1 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Copyright The information contained here is proprietary technical information of Quectel. Transmitting, reproducing, disseminating and editing this document as well as using the content without permission are forbidden. Offenders will be held liable for payment of damages. All rights are reserved in the event of a patent grant or registration of a utility model or design. Copyright © Quectel Wireless Solutions Co., Ltd. 2021. All rights reserved. Quectel_EG060V-EA_AT_Commands_Manual 2 / 161 LTE-A Module Series EG060V-EA AT Commands Manual About the Document Revision History Version - Date 2021-01-28 1.0 2021-03-08 Author Paddy LI/Igni LI/ Ethan BI/Martin WANG Paddy LI/Igni LI/ Ethan BI/Martin WANG Description Creation of the document First official release Quectel_EG060V-EA_AT_Commands_Manual 3 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Contents About the Document ................................................................................................................................... 3 Contents ....................................................................................................................................................... 4 Table Index................................................................................................................................................... 8 1 Introduction .......................................................................................................................................... 9 1.1. AT Command Syntax ................................................................................................................ 9 1.1.1. Definitions ........................................................................................................................ 9 1.1.2. AT Command Syntax....................................................................................................... 9 1.2. AT Command Responses ....................................................................................................... 11 1.3. Supported Character Sets ....................................................................................................... 11 1.4. AT Command Interface ........................................................................................................... 11 1.5. Unsolicited Result Code .......................................................................................................... 11 1.6. Declaration of AT Command Examples .................................................................................. 12 2 General Commands ........................................................................................................................... 13 2.1. ATI Display Product Identification Information...................................................................... 13 2.2. AT+GMI Request Manufacturer Identification ...................................................................... 14 2.3. AT+GMM Request Model Identification................................................................................ 14 2.4. AT+GMR Request Revision Identification of Software Release .......................................... 15 2.5. AT+CGMI Request Manufacturer Identification.................................................................... 15 2.6. AT+CGMM Request Model Identification ............................................................................. 16 2.7. AT+CGMR Request Revision Identification of Software Release........................................ 16 2.8. AT+GSN Request International Mobile Equipment Identity (IMEI) ...................................... 17 2.9. AT+CGSN Request International Mobile Equipment Identity (IMEI).................................... 18 2.10. ATQ Set Result Code Presentation Mode ............................................................................ 18 2.11. ATV TA Response Format.................................................................................................... 19 2.12. ATE Set Command Echo Mode............................................................................................ 20 2.13. AT+CFUN Set UE Functionality............................................................................................ 21 2.14. AT+CMEE Configure Error Message Format ....................................................................... 22 2.15. AT+CSCS Select TE Character Set ..................................................................................... 23 2.16. AT+QURCCFG Configure URC Output Port ........................................................................ 24 3 Status Control Commands ............................................................................................................... 26 3.1. AT+CPAS Mobile Equipment Activity Status........................................................................ 26 3.2. AT+CEER Report Extended Error ........................................................................................ 27 3.3. AT+QCFG Extended Configuration Settings ........................................................................ 28 3.3.1. AT+QCFG=' usbnet' USB Network Card Configuration ............................................ 29 3.3.2. AT+QCFG='devmode' Device Mode Configuration ..................................................... 29 3.3.3. AT+QCFG='IMS' IMS Service Configuration............................................................. 30 3.3.4. AT+QCFG='nwscanmode' Configure Network Search Mode ................................... 31 3.3.5. AT+QCFG='band' Band Configuration ...................................................................... 32 3.3.6. AT+QCFG='servicedomain' Configure Service Domain ........................................... 33 3.3.7. AT+QCFG='tone/incoming' Enable/Disable Ringing Tone........................................ 34 Quectel_EG060V-EA_AT_Commands_Manual 4 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 4 (U)SIM Related Commands ............................................................................................................... 36 4.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI) ...................................... 36 4.2. AT+CLCK Facility Lock ......................................................................................................... 37 4.3. AT+CPIN Enter PIN .............................................................................................................. 39 4.4. AT+CPWD Change Password.............................................................................................. 41 4.5. AT+CSIM Generic (U)SIM Access ....................................................................................... 42 4.6. AT+CRSM Restricted (U)SIM Access .................................................................................. 43 4.7. AT+QCCID Show ICCID ....................................................................................................... 44 4.8. AT+QSIMDET (U)SIM Card Detection ................................................................................. 45 4.9. AT+QSIMSTAT (U)SIM Insertion Status Report .................................................................. 46 5 Network Service Commands ............................................................................................................ 48 5.1. AT+COPS Operator Selection .............................................................................................. 48 5.2. AT+CREG Network Registration Status ............................................................................... 50 5.3. AT+CSQ Signal Quality Report ............................................................................................ 52 5.4. AT+CPOL Preferred Operator List ....................................................................................... 53 5.5. AT+COPN Read Operator Names ....................................................................................... 54 5.6. AT+CTZU Automatic Time Zone Update.............................................................................. 55 5.7. AT+CTZR Time Zone Reporting........................................................................................... 56 5.8. AT+QSPN Query the Service Provider Name ...................................................................... 57 5.9. AT+QNWINFO Query Network Information ......................................................................... 58 5.10. AT+QNWLOCK='common/lte' Network Locking Configuration........................................... 59 5.11. AT+QENG Query Primary Serving Cell and Neighbour Cell Information ............................ 60 5.12. AT+QCAINFO Query Carrier Aggregation Parameters ....................................................... 65 6 Call Related Commands.................................................................................................................... 67 6.1. AT+QECCNUM Configure Emergency Call Numbers ......................................................... 67 7 Phonebook Commands..................................................................................................................... 69 7.1. AT+CNUM Subscriber Number ............................................................................................ 69 7.2. AT+CPBS Select Phonebook Memory Storage ................................................................... 70 7.3. AT+CPBF Find Phonebook Entries ...................................................................................... 71 7.4. AT+CPBR Read Phonebook Entries .................................................................................... 72 7.5. AT+CPBW Write Phonebook Entry ...................................................................................... 73 8 Short Message Service Commands................................................................................................. 75 8.1. AT+CSMS Select Message Service ..................................................................................... 75 8.2. AT+CMGF Message Format................................................................................................. 76 8.3. AT+CSCA Service Center Address ...................................................................................... 77 8.4. AT+CPMS Preferred Message Storage ............................................................................... 78 8.5. AT+CMGD Delete Message ................................................................................................. 80 8.6. AT+CMGL List Messages ..................................................................................................... 81 8.7. AT+CMGR Read Message ................................................................................................... 85 8.8. AT+CMGS Send Message ................................................................................................... 88 8.9. AT+CMMS Send More Messages ........................................................................................ 90 8.10. AT+CMGW Write Message to Memory ................................................................................ 91 Quectel_EG060V-EA_AT_Commands_Manual 5 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 8.11. 8.12. 8.13. 8.14. AT+CMSS Send Message from Storage.............................................................................. 93 AT+CSCB Select Cell Broadcast Message Types ............................................................... 95 AT+CSDH Show SMS Text Mode Parameters .................................................................... 96 AT+CSMP Set SMS Text Mode Parameters........................................................................ 97 9 Packet Domain Commands .............................................................................................................. 99 9.1. AT+CGATT Attachment or Detachment of PS ..................................................................... 99 9.2. AT+CGDCONT Define PDP Context.................................................................................. 100 9.3. AT+CGACT Activate or Deactivate PDP Context .............................................................. 102 9.4. AT+CGPADDR Show PDP Address .................................................................................. 103 9.5. AT+CGCLASS GPRS Mobile Station Class....................................................................... 105 9.6. AT+CGREG GPRS Network Registration Status............................................................... 106 9.7. AT+CGEREP Packet Domain Event Reporting ................................................................. 107 9.8. AT+CGSMS Select Service for MO SMS Messages ......................................................... 109 9.9. AT+CEREG EPS Network Registration Status .................................................................. 110 9.10. AT+QGDCNT Packet Data Counter ................................................................................... 111 9.11. AT+QAUGDCNT Auto Save Packet Data Counter ............................................................ 113 9.12. AT+AUTOAPN Auto-configure APN ................................................................................... 114 9.13. AT+ZGDCONT Define PDP Context .................................................................................. 115 9.14. AT+ZGACT Activate or Deactivate PDP Context............................................................... 116 9.15. AT+ZGPADDR Show PDP Address ................................................................................... 118 9.16. AT+QICSGP Define PDP Context ...................................................................................... 119 9.17. AT+QNETDEVCTL Activate or Deactivate PDP Context................................................... 120 9.18. AT+QNETDEVSTATUS Show PDP Relevant Information ................................................ 122 10 Audio Commands ............................................................................................................................ 124 10.1. AT+CLVL Loudspeaker Volume Level Selection ............................................................... 124 10.2. AT+QLDTMF Play Local DTMF.......................................................................................... 124 10.3. AT+QAUDLOOP Enable/Disable Audio Loop Test ............................................................ 126 10.4. AT+QDAI Digital Audio Interface Configuration ................................................................. 126 10.5. AT+QSIDET Set Side Tone Gain in Current Mode ............................................................ 128 10.6. AT+QSLIC Enable/Disable SLIC ........................................................................................ 129 10.7. AT+QAUDMOD Set Audio Mode........................................................................................ 130 10.8. AT+QMIC Set Uplink Gains of Microphone ........................................................................ 130 10.9. AT+QRXGAIN Set Downlink Gains of RX .......................................................................... 131 10.10. AT+VTS DTMF and Tone Generation ................................................................................ 132 11 Hardware Related Commands ........................................................................................................ 134 11.1. AT+CCLK Clock .................................................................................................................. 134 11.2. AT+QSCLK Enable/Disable Low Power Mode................................................................... 135 11.3. AT+QPOWD Power off ....................................................................................................... 135 11.4. AT+QADC Read ADC Value ................................................................................................. 136 12 Appendix A References................................................................................................................... 138 12.1. References ............................................................................................................................ 138 12.2. Summary of CME ERROR Codes......................................................................................... 143 Quectel_EG060V-EA_AT_Commands_Manual 6 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 12.3. 12.4. 12.5. 12.6. Summary of CMS ERROR Codes......................................................................................... 145 Summary of URC................................................................................................................... 147 SMS Character Sets Conversions......................................................................................... 148 Release Cause Text List of AT+CEER ................................................................................. 154 Quectel_EG060V-EA_AT_Commands_Manual 7 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table Index Table 1: Types of AT Commands .............................................................................................................. 10 Table 2: ATV0&ATV1 Result Codes Equivalence and Brief Description .................................................. 20 Table 3: Related Documents.................................................................................................................... 138 Table 4: Terms and Abbreviations ........................................................................................................... 138 Table 5: Different Coding Schemes of +CME ERROR: ................................................................. 144 Table 6: Different Coding Schemes of +CMS ERROR: ................................................................. 146 Table 7: Summary of URC ....................................................................................................................... 147 Table 8: The Way of SMS Text Input or Output....................................................................................... 148 Table 9: The Input Conversions Table (DCS=GSM 7-bit and AT+CSCS='GSM') ................................. 149 Table 10: The Output Conversions Table (DCS=GSM 7-bit and AT+CSCS='GSM') ............................ 150 Table 11: GSM Extended Characters ...................................................................................................... 150 Table 12: The Input Conversions Table (DCS=GSM 7-bit and AT+CSCS='IRA') ................................. 151 Table 13: IRA Extended Characters ........................................................................................................ 152 Table 14: The Output Conversions Table (DCS=GSM 7-bit and AT+CSCS='IRA') .............................. 153 Table 15: GSM Extended Characters ...................................................................................................... 153 Table 16: Release Cause Text List of AT+CEER .................................................................................... 154 Quectel_EG060V-EA_AT_Commands_Manual 8 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 1 Introduction This document presents the AT Command Set applicable to the Quectel LTE-A module EG060V-EA. 1.1. AT Command Syntax 1.1.1. Definitions ⚫ Carriage return character. ⚫ Line feed character. ⚫ Parameter name. Angle brackets do not appear on the command line. ⚫ [...] Optional parameter of a command or an optional part of TA information response. Square brackets do not appear on the command line. When an optional parameter is not given in a command, the new value equals to its previous value or the default settings, unless otherwise specified. ⚫ Underline Default setting of a parameter. 1.1.2. AT Command Syntax All command lines must start with AT or at and end with . Information responses and result codes always start and end with a carriage return character and a line feed character: . Throughout this document, only the commands and responses are presented, while carriage return and line feed characters are deliberately omitted. The AT Command Set applicable to EG060V-EA consists of AT commands defined in 3GPP TS 27.007, 3GPP TS 27.005 and ITU-T recommendation V.25ter and the AT Commands developed by Quectel. These AT commands fall into three categories syntactically: basic, S parameter, and extended. ⚫ Basic Syntax These AT commands have the format of AT, or AT&, where is the command, and is/are the argument(s) for that command. An example of this is ATE, which tells the DCE whether received characters should be echoed back to the DTE according to the value of . is optional and a default will be used if it is omitted. ⚫ S Parameter Syntax These AT commands have the format of ATS=, where is the index of the S register to set, Quectel_EG060V-EA_AT_Commands_Manual 9 / 161 LTE-A Module Series EG060V-EA AT Commands Manual and is the value to assign to the S register. ⚫ Extended Syntax These AT commands have four types as explained in the following table: Table 1: Types of AT Commands Command Type Syntax Description Test Command AT+=? Read Command AT+? Test the existence of corresponding Write Command and to give information about the type, value, or range of its parameter. Check the current parameter value of a corresponding Write Command. Write Command AT+=[,[,[...]]] Set user-definable parameter value. Execution Command AT+ Return a specific information parameter or perform a specific action. Multiple AT commands can be placed in a single line using a semi-colon (;) between commands. In such cases, only the first command should have the AT prefix. Commands can be in upper or lower cases. Spaces should be ignored when you enter AT commands, except in the following cases: ⚫ Within quoted strings, where spaces are preserved; ⚫ Within an unquoted string or numeric parameter; ⚫ Within an IP address; ⚫ Within the AT command name up to and including a =, ? or =?. On input, at least a carriage return is required. A newline character is ignored so it is permissible to use carriage return/line feed pairs on the input. If no command is entered after the AT token, OK will be returned. If an invalid command is entered, ERROR will be returned. Optional parameters, unless explicitly stated, need to be provided up to the last parameter being entered. NOTE Every AT command must be inputted separately. Execute a new AT command only if the former one is finished. Quectel_EG060V-EA_AT_Commands_Manual 10 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 1.2. AT Command Responses When the AT command processor has finished processing a line, it will output OK, ERROR or +CME/+CMS ERROR: to indicate that it is ready to accept a new command. Solicited information responses are sent before the final OK, ERROR or +CME/+CMS ERROR: . Responses will be in the format of: +CMD1: OK Or OK 1.3. Supported Character Sets EG060V-EA AT command interface defaults to the GSM character set. EG060V-EA supports the following character sets: ⚫ GSM format ⚫ UCS2 ⚫ IRA The character set can be configured and interrogated by using the AT+CSCS (3GPP TS 27.007) and it is defined in 3GPP TS 27.005. The character set affects transmission and reception of SMS and SMS Cell Broadcast Messages, as well as the entry and display of phone book entries text field. 1.4. AT Command Interface The AT command interface includes two USB ports (USB MODEM port and USB AT port) and one main UART port, all of which support AT command communication and data transfer. 1.5. Unsolicited Result Code As an Unsolicited Result Code and a report message, the URC is not issued as part of the response Quectel_EG060V-EA_AT_Commands_Manual 11 / 161 LTE-A Module Series EG060V-EA AT Commands Manual related to an executed AT command. A URC is issued by EG060V-EA without being requested by the TE and it is issued automatically when a certain event occurs. Typical events leading to URCs are incoming calls (RING), received short messages, high/low voltage alarm, high/low temperature alarm, etc. 1.6. Declaration of AT Command Examples The AT command examples in this document are provided to help you familiarize with AT commands and learn how to use them. The examples, however, should not be taken as Quectel’s recommendation or suggestions about how you should design a program flow or what status you should set the module into. Sometimes multiple examples may be provided for one AT command. However, this does not mean that there exists a correlation among these examples and that they should be executed in a given sequence. Quectel_EG060V-EA_AT_Commands_Manual 12 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2 General Commands 2.1. ATI Display Product Identification Information This Execution Command returns product identification information including the identifier of device type and the firmware version of the product. ATI Display Product Identification Information Execution Command ATI Response Quectel Revision: Maximum Response Time Characteristics Reference V.25ter OK 300 ms / Parameter String type. Identifier of device type. String type. Product firmware version. Example ATI Quectel EG060V-EAAA Revision: EG060VEAAAR01A02M1G OK Quectel_EG060V-EA_AT_Commands_Manual 13 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2.2. AT+GMI Request Manufacturer Identification This command returns the manufacturer identification text. It is identical with AT+CGMI. AT+GMI Request Manufacturer Identification Test Command AT+GMI=? Execution Command AT+GMI Response OK Response Quectel Maximum Response Time Characteristics Reference V.25ter OK 300 ms / 2.3. AT+GMM Request Model Identification This command returns the product model identification text. It is identical with AT+CGMM. AT+GMM Request Model Identification Test Command AT+GMM=? Execution Command AT+GMM Response OK Response Maximum Response Time Characteristics Reference V.25ter OK 300 ms / Parameter String type. Identifier of device type. Quectel_EG060V-EA_AT_Commands_Manual 14 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2.4. AT+GMR Request Revision Identification of Software Release This command returns the product firmware version identification text. It is identical with AT+CGMR. AT+GMR Request Revision Identification of Software Release Test Command AT+GMR=? Execution Command AT+GMR Response OK Response Maximum Response Time Characteristics Reference V.25ter OK 300 ms / Parameter String type. Identification text of product software version. Example AT+GMR EG060VEAAAR01A06M1G OK 2.5. AT+CGMI Request Manufacturer Identification This command returns the manufacturer identification text. It is identical with AT+GMI. AT+CGMI Request Manufacturer Identification Test Command AT+CGMI=? Execution Command AT+CGMI Response OK Response Quectel OK Quectel_EG060V-EA_AT_Commands_Manual 15 / 161 Maximum Response Time Characteristics Reference 3GPP TS 27.007 300 ms / LTE-A Module Series EG060V-EA AT Commands Manual 2.6. AT+CGMM Request Model Identification This command returns a product model identification text. It is identical with AT+GMM. AT+CGMM Request Model Identification Test Command AT+CGMM=? Execution Command AT+CGMM Response OK Response Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK 300 ms / Parameter String type. Identifier of device type. 2.7. AT+CGMR Request Revision Identification of Software Release This command returns identification text of the product firmware revision. It is identical with AT+GMR. AT+CGMR Request Revision Identification of Software Release Test Command AT+CGMR=? Execution Command AT+CGMR Response OK Response Quectel_EG060V-EA_AT_Commands_Manual 16 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK 300 ms / Parameter String type. Identification text of product firmware revision. 2.8. AT+GSN Request International Mobile Equipment Identity (IMEI) This command requests the International Mobile Equipment Identity (IMEI) number of ME. With this command, you are able to identify an individual ME device. It is identical with AT+CGSN. AT+GSN Request International Mobile Equipment Identity (IMEI) Test Command AT+GSN=? Execution Command AT+GSN Response OK Response Maximum Response Time Characteristics Reference V.25ter OK 300 ms / Parameter String type. IMEI number of the ME. NOTE The serial number (IMEI) varies with the individual ME device. Quectel_EG060V-EA_AT_Commands_Manual 17 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2.9. AT+CGSN Request International Mobile Equipment Identity (IMEI) This command requests the International Mobile Equipment Identity (IMEI) number of ME. It is identical with AT+GSN. AT+CGSN Request International Mobile Equipment Identity (IMEI) Test Command AT+CGSN=? Execution Command AT+CGSN Response OK Response Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK 300 ms / Parameter String type. IMEI number of the ME. NOTE The serial number (IMEI) varies with the individual ME device. 2.10. ATQ Set Result Code Presentation Mode This command controls whether the result code is transmitted to the TE. Other information text transmitted as response is not affected. ATQ Set Result Code Presentation Mode Execution Command ATQ Response If =0: OK If =1: (none) Quectel_EG060V-EA_AT_Commands_Manual 18 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference V.25ter 300 ms / Parameter Integer type. 0 TA transmits result code 1 Result codes are suppressed and not transmitted 2.11. ATV TA Response Format This command determines the contents of header and trailer transmitted with AT command result codes and information responses. ATV TA Response Format Execution Command ATV Response When =0 0 Maximum Response Time Characteristics Reference V.25ter When =1 OK 300 ms / Parameter Integer type. 0 Information response: Short result code format: 1 Information response: Long result code format: Quectel_EG060V-EA_AT_Commands_Manual 19 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Example ATV1 OK AT+CSQ +CSQ: 30,99 //Set =1. //Query the current signal strength. OK ATV0 0 AT+CSQ +CSQ: 30,99 0 //When =1, the result code is OK. //Set =0. //When =0, the result code is 0. The equivalence between ATV0 and ATV1 result codes as well as the brief description of such codes are listed in the following table. Table 2: ATV0&ATV1 Result Codes Equivalence and Brief Description ATV1 OK ERROR ATV0 0 4 Description Acknowledges execution of a command Command not recognized, command line maximum length exceeded, parameter value invalid, or other problem with processing the command line 2.12. ATE Set Command Echo Mode This command controls whether or not the module echoes characters received from TE in AT command mode. ATE Set Command Echo Mode Execution Command ATE Response OK Maximum Response Time 300 ms Characteristics / Reference V.25ter Quectel_EG060V-EA_AT_Commands_Manual 20 / 161 Parameter Integer type. 0 Echo mode OFF 1 Echo mode ON LTE-A Module Series EG060V-EA AT Commands Manual 2.13. AT+CFUN Set UE Functionality This command controls the functionality level. It can also be used to reset the UE. AT+CFUN Set UE Functionality Test Command AT+CFUN=? Response +CFUN: (list of supported s),(list of supported s) Read Command AT+CFUN? OK Response +CFUN: Write Command AT+CFUN=[,] OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 15 s, determined by network. / Parameter Integer type. 0 Minimum functionality 1 Full functionality 3 Disable the UE from receiving RF signals 4 Disable the UE from both transmitting and receiving RF signals 5 Disable (U)SIM Quectel_EG060V-EA_AT_Commands_Manual 21 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 6 Second RX off Integer type. 0 Do not reset the UE before setting it to a functionality level. 1 Reset the UE. The device is fully functional after the reset. This value is applicable only when =1. Error codes. For more details, refer to Chapter 12.2. Example AT+CFUN=0 OK AT+CPIN? +CME ERROR: 13 AT+CFUN=1 OK AT+CPIN? +CPIN: READY OK AT+COPS? +COPS: 0,2,'46000',7 OK //Switch UE to minimum functionality. //(U)SIM failure. //Switch UE to full functionality. //Operator is registered. 2.14. AT+CMEE Configure Error Message Format This command configures whether to display the error result code +CME ERROR: , and in which format the code is displayed, numeric value or verbose message. AT+CMEE Configure Error Message Format Test Command AT+CMEE=? Response +CMEE: (range of supported s) Read Command AT+CMEE? OK Response +CMEE: Write Command AT+CMEE= OK Response TA disables or enables the use of the result code +CME ERROR: as an indication of an error related to the functionality of the ME. Quectel_EG060V-EA_AT_Commands_Manual 22 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK 300 ms / Parameter Integer or String type. 0 Disable result code, and use ERROR instead 1 Enable result code and display in numeric format 2 Enable result code and display in verbose format Error codes. For more details, refer to Chapter 12.2. Example AT+CMEE=0 OK AT+CPIN? ERROR AT+CMEE=1 OK AT+CPIN? +CME ERROR: 10 AT+CMEE=2 OK AT+CPIN? +CME ERROR: SIM not inserted //Disable result code. //Only ERROR is displayed. //Enable error result code in numeric format. //Enable error result code in verbose format. 2.15. AT+CSCS Select TE Character Set This Write Command informs the module which character set is used by the TE. This enables the UE to convert character strings correctly between TE and UE character sets. AT+CSCS Select TE Character Set Test Command AT+CSCS=? Response +CSCS: (list of supported s) OK Quectel_EG060V-EA_AT_Commands_Manual 23 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+CSCS? Write Command AT+CSCS= Maximum Response Time Characteristics Reference 3GPP TS 27.007 Response +CSCS: OK Response OK 300 ms / Parameter String type. 'GSM' GSM default alphabet 'IRA' International reference alphabet 'UCS2' UCS2 alphabet Example AT+CSCS? +CSCS: 'GSM' OK AT+CSCS='UCS2' OK AT+CSCS? +CSCS: 'UCS2' OK //Query the current character set of the module. //Set the character set to 'UCS2'. 2.16. AT+QURCCFG Configure URC Output Port This command configures the output port of URC. AT+QURCCFG Configure URC Output Port Test Command AT+QURCCFG=? Response +QURCCFG: 'urcport',(list of supported s) Quectel_EG060V-EA_AT_Commands_Manual 24 / 161 LTE-A Module Series EG060V-EA AT Commands Manual OK Write Command AT+QURCCFG='urcport'[,] Response If the optional parameter is omitted, query the current configuration: +QURCCFG: 'urcport', OK If the optional parameter is specified, configure the output port of URC: OK Or ERROR Maximum Response Time Characteristics 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter String type. Set URC output port. 'usbat' USB AT port 'usbmodem' USB modem port 'uart1' Main UART Example AT+QURCCFG=? +QURCCFG: 'urcport',('usbat','usbmodem','uart1') OK AT+QURCCFG='urcport' +QURCCFG: 'urcport','usbat' OK AT+QURCCFG='urcport','usbmodem' OK AT+QURCCFG='urcport' +QURCCFG: 'urcport','usbmodem' OK Quectel_EG060V-EA_AT_Commands_Manual 25 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 3 Status Control Commands 3.1. AT+CPAS Mobile Equipment Activity Status This command queries the activity status of the module. AT+CPAS Mobile Equipment Activity Status Test Command AT+CPAS=? Response +CPAS: (list of supported s) Execution Command AT+CPAS OK Response TA returns the activity status of ME: +CPAS: OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter Integer type. ME activity status. 0 Ready 1 Unavailable 2 Unknown 3 Ringing 4 Call in progress or call on hold 5 Asleep 6 Call active Quectel_EG060V-EA_AT_Commands_Manual 26 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Error codes. For more details, refer to Chapter 12.2. Example AT+CPAS +CPAS: 0 OK RING AT+CLCC +CLCC: 1,1,4,0,0,'15695519173',129,'',,0 OK AT+CPAS +CPAS: 3 OK AT+CLCC +CLCC: 1,0,0,0,0,'10010',129,'',, 0 OK AT+CPAS +CPAS: 6 OK //The module is ready. //The module is having an incoming call. //The module is ringing. //The module is making an outgoing call. //Call active. 3.2. AT+CEER Report Extended Error This command queries an extended error and report the cause of the last operation that failed, such as: ⚫ The failure to release a call ⚫ The failure to set up a call (both mobile originated or terminated) ⚫ The failure to modify a call by using supplementary services ⚫ The failure to activate, register, query, deactivate or deregister a supplementary service ⚫ The failure to attach to a GPRS network or the failure to activate a PDP context ⚫ The failure to detach from a GPRS network or the failure to deactivate a PDP context AT+CEER Report Extended Error Test command AT+CEER=? Response OK Quectel_EG060V-EA_AT_Commands_Manual 27 / 161 Execution command AT+CEER Maximum Response Time Characteristics LTE-A Module Series EG060V-EA AT Commands Manual Response +CEER: OK If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter String type. Cause of the last failure in setting up or releasing a CS or PS domain call. Possible causes are listed in Chapter 12.6. Cause data is captured from Call Manager events and cached locally for later use by this command. Error codes. For more details, refer to Chapter 12.2. 3.3. AT+QCFG Extended Configuration Settings This command queries and configures various UE settings. AT+QCFG Extended Configuration Settings Test Command AT+QCFG=? Response +QCFG: 'usbnet',(list of supported s) +QCFG: 'devmode',(list of supported s) +QCFG: 'IMS',(list of supported s) +QCFG: 'nwscanmode',(range of supported s) +QCFG: 'band',(list of supported s),(list of supported s) +QCFG: 'servicedomain',(range of supported s) +QCFG: 'tone/incoming',(list of supported s) Maximum Response Time OK 300 ms Quectel_EG060V-EA_AT_Commands_Manual 28 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 3.3.1. AT+QCFG=' usbnet' USB Network Card Configuration This command specifies a protocol for the USB network card. AT+QCFG= ' usbnet' USB Network Card configuration Write Command AT+QCFG='usbnet'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'usbnet', OK If the optional parameter is specified, configure the network card mode: OK Maximum Response Time Characteristics If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect after rebooting. The configuration will be saved automatically. Parameter Integer type. Protocol type specified for the USB network card. 1 ECM 3 RNDIS 4 NCM Error codes. For more details, refer to Chapter 12.2. 3.3.2. AT+QCFG='devmode' Device Mode Configuration This command configures the device mode. And the configuration will take effect after module reset. AT+QCFG='devmode' Device Mode Configuration Write Command AT+QCFG='devmode'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'devmode', Quectel_EG060V-EA_AT_Commands_Manual 29 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK If the optional parameter is specified, configure the device mode of UE: OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect after rebooting. The configuration will be saved automatically. Parameter Integer type. The mode of device. 0 Bridge mode 1 Router mode Error codes. For more details, refer to Chapter 12.2. 3.3.3. AT+QCFG='IMS' IMS Service Configuration This command specifies IMS service configuration. AT+QCFG='IMS' IMS Service Configuration Write Command AT+QCFG='IMS'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'IMS', OK If the optional parameter is specified, enable/disable VoLTE function: OK If there is any error: +CME ERROR: Or Quectel_EG060V-EA_AT_Commands_Manual 30 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 ERROR 300 ms The command takes effect after rebooting. The configuration will be saved automatically. Parameter Integer type. 0 Disable IMS service 1 Enable IMS service Error codes. For more details, refer to Chapter 12.2. 3.3.4. AT+QCFG='nwscanmode' Configure Network Search Mode This command specifies the network search mode. AT+QCFG='nwscanmode' Configure Network Search Mode Write Command AT+QCFG='nwscanmode'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'nwscanmode', OK If the optional parameter is specified, configure a network mode to search for: OK Maximum Response Time Characteristics If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 31 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. Network search mode. 0 AUTO 1 GSM only 2 WCDMA only 3 LTE only Error codes. For more details, refer to Chapter 12.2. Example AT+QCFG='nwscanmode',0 OK AT+QCFG='nwscanmode' +QCFG: 'nwscanmode',0 OK //Configure to AUTO mode. //Query the current network search mode. 3.3.5. AT+QCFG='band' Band Configuration This command specifies the preferred frequency bands to search for. AT+QCFG='band' Band Configuration Write Command AT+QCFG='band'[,,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'band',, OK If the optional parameter is specified, configure the preferred frequency bands to search for: OK Maximum Response Time Characteristics If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 32 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter String type. A hexadecimal value that specifies the preferred GSM and WCDMA frequency bands. Here is an example: 00000013=00000001(GSM900)+00000002(GSM1800)+00000010(WCDMA2100). If it is set to 0, it means there is no change to the preferred GSM and WCDMA frequency bands specified previously. 00000000 No change 00000001 GSM 900 B8 00000002 GSM 1800 B3 00000004 GSM 850 B5 00000010 WCDMA 2100 B1 00000040 WCDMA 850 B5 00000080 WCDMA 900 B8 0000FFFF Any frequency band String type. A hexadecimal value that specifies the preferred LTE frequency bands. If it is set to 0 or 0x40000000, it means there is no change to the preferred LTE frequency bands specified previously, e.g., 0x15=0x1(LTE B1)+0x4(LTE B3)+0x10(LTE B5). 0x1 (CM_BAND_PREF_LTE_EUTRAN_BAND1) LTE B1 0x4 (CM_BAND_PREF_LTE_EUTRAN_BAND3) LTE B3 0x10 (CM_BAND_PREF_LTE_EUTRAN_BAND5) LTE B5 0x40 (CM_BAND_PREF_LTE_EUTRAN_BAND7) LTE B7 0x80 (CM_BAND_PREF_LTE_EUTRAN_BAND8) LTE B8 0x80000(CM_BAND_PREF_LTE_EUTRAN_BAND20) LTE B20 0x8000000(CM_BAND_PREF_LTE_EUTRAN_BAND28) LTE B28 0x2000000000(CM_BAND_PREF_LTE_EUTRAN_BAND38) LTE B38 0x8000000000(CM_BAND_PREF_LTE_EUTRAN_BAND40) LTE B40 0x10000000000(CM_BAND_PREF_LTE_EUTRAN_BAND41) LTE B41 0x7FFFFFFFFFFFFFFF(CM_BAND_PREF_ANY) Any frequency band Error codes. For more details, refer to Chapter 12.2. 3.3.6. AT+QCFG='servicedomain' Configure Service Domain This command configures the service domain of UE. AT+QCFG='servicedomain' Configure Service Domain Write Command AT+QCFG='servicedomain'[,] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'servicedomain', OK Quectel_EG060V-EA_AT_Commands_Manual 33 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics If the optional parameter is specified, configure the service domain of UE: OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. Service domain of UE. 0 CS only 1 PS only 2 CS&PS Error codes. For more details, refer to Chapter 12.2. Example AT+QCFG='servicedomain',2 OK AT+ QCFG='servicedomain' +QCFG: 'servicedomain',2 OK //Configure service domain as CS&PS. //Query service domain. 3.3.7. AT+QCFG='tone/incoming' Enable/Disable Ringing Tone This command enables or disables the ringing tone function. And the configuration will take effect immediately. AT+ QCFG='tone/incoming' Enable/Disable Ringing Tone Write Command AT+QCFG='tone/incoming'[, ] Response If the optional parameter is omitted, query the current configuration: +QCFG: 'tone/incoming', OK Quectel_EG060V-EA_AT_Commands_Manual 34 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics If the optional parameter is specified, enable/disable the ringing tone function: OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. 0 Disable ring tone 1 Enable ring tone Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 35 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 4 (U)SIM Related Commands 4.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI) This command requests the International Mobile Subscriber Identity (IMSI) which is intended to permit the TE to identify the individual SIM card or the active application that is attached to MT. AT+CIMI Request International Mobile Subscriber Identity (IMSI) Test Command AT+CIMI=? Response OK Execution Command AT+CIMI Response TA returns for identifying the (U)SIM attached to ME. OK Maximum Response Time Characteristic Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter International Mobile Subscriber Identity (string without double quotes). Error codes. For more details, refer to Chapter 12.2 Example AT+CIMI 460023210226023 //Query IMSI number of the (U)SIM attached to ME. Quectel_EG060V-EA_AT_Commands_Manual 36 / 161 LTE-A Module Series EG060V-EA AT Commands Manual OK 4.2. AT+CLCK Facility Lock This command locks, unlocks or queries an MT or a network facility . It can be aborted when network facilities are being set or queried. Password is normally needed to do such operations. The factory default password of PF, PN, PU, PP and PC lock is '12341234'. When querying the status of a network service (=2), the response line for ‘not active’ case (=0) should be returned only if the service is not active for any . AT+CLCK Facility Lock Test Command AT+CLCK=? Response +CLCK: (list of supported s) OK Write Command Response AT+CLCK=,[,[ If is 0 or 1 and the command is set successfully: ,]] OK If =2 and command is set successfully: +CLCK: [,] […] Maximum Response Time Characteristic Reference 3GPP TS 27.007 OK 5 s The command takes effect immediately. The configuration will be saved automatically. Parameter String type. 'SC' (U)SIM (lock SIM/UICC card installed in the currently selected card slot) (SIM/UICC asks password in MT power-up and when this command is issued). 'CS' CNTRL (lock CoNTRoL surface (e.g. phone keyboard)) 'PS' PH-SIM (lock PHone to SIM card) (ME asks password when other than current SIM card inserted; ME may remember certain amount of previously used cards thus not requiring password when they are inserted) 'PF' Lock Phone to the very First inserted SIM card (also referred as PH-FSIM) (ME asks for password when a SIM card other than the first inserted one is inserted) Quectel_EG060V-EA_AT_Commands_Manual 37 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 'AO' BAOC (Bar All Outgoing Calls) (refer to 3GPP TS 22.088 clause 1) 'OI' BOIC (Bar Outgoing International Calls) (refer to 3GPP TS 22.088 clause 1) 'OX' BOIC-exHC (Bar Outgoing International Calls except to Home Country) (refer to 3GPP TS 22.088 clause 1) 'AI' BAIC (Bar All Incoming Calls) (refer to 3GPP TS 22.088 clause 2) 'IR' BIC-Roam (Bar Incoming Calls when Roaming outside the home country) (refer to 3GPP TS 22.088 clause 2) 'NT' Bar incoming calls from numbers Not stored to TA memory 'NM' Bar incoming calls from numbers Not stored to ME memory 'NS' Bar incoming calls from numbers Not stored to SIM memory 'NA' Bar incoming calls from numbers Not stored in Any memory 'AB' All Barring services (refer to 3GPP TS 22.030) (applicable only for =0) 'AG' All outgoing barring services (refer to 3GPP TS 22.030) (applicable only for =0) 'AC' All incoming barring services (refer to 3GPP TS 22.030) (applicable only for =0) 'FD' SIM card or active application in the UICC (GSM or USIM) fixed dialing memory feature (if PIN2 authentication has not been done during the current session, PIN2 is required as ) 'PN' Network Personalization (refer to 3GPP TS 22.022) 'PU' Network Subset Personalization (refer to 3GPP TS 22.022) 'PP' Service Provider Personalization (refer to 3GPP TS 22.022) 'PC' Corporate Personalization (refer to 3GPP TS 22.022) Integer type. 0 Unlock 1 Lock 2 Query status String type. Password. Integer type. 1 Voice 2 Data 4 FAX 7 All telephony except SMS (Default) 8 Short message service 16 Data circuit synchronization 32 Data circuit asynchronization Integer type. Facility status. 0 Off 1 On Example AT+CLCK='SC',2 +CLCK: 0 //Query the status of (U)SIM card. //The (U)SIM card is unlocked (OFF). Quectel_EG060V-EA_AT_Commands_Manual 38 / 161 OK AT+CLCK='SC',1,'1234' OK AT+CLCK='SC',2 +CLCK: 1 OK AT+CLCK='SC',0,'1234' OK LTE-A Module Series EG060V-EA AT Commands Manual //Lock (U)SIM card, and the password is 1234. //Query the status of (U)SIM card. //The (U)SIM card is locked (ON). //Unlock (U)SIM card. 4.3. AT+CPIN Enter PIN This command enters a password or queries whether or not the module requires a password so that it can be operated. The password may be (U)SIM PIN, (U)SIM PUK, PH-SIM PIN, etc. This Read Command returns an alphanumeric string indicating whether or not some password is required. TA stores a password, such as (U)SIM PIN, (U)SIM PUK, etc., which is necessary for it to be operated. TA shall automatically repeat a PIN that is entered for a second time. If no PIN request is pending, no action is taken and an error message +CME ERROR is returned to TE. If the PIN required is (U)SIM PUK or (U)SIM PUK2, the second pin is required. This second pin is used to replace the old pin in the (U)SIM. AT+CPIN Enter PIN Test Command AT+CPIN=? Read Command AT+CPIN? Response OK Response +CPIN: Write Command AT+CPIN=[,] Maximum Response Time Characteristic Reference 3GPP TS 27.007 OK Response OK 5 s The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 39 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter String without double quotes. Type of the password MT requires. READY MT is not pending for any password SIM PIN MT is waiting for (U)SIM PIN to be given SIM PUK MT is waiting for (U)SIM PUK to be given SIM PIN2 MT is waiting for (U)SIM PIN2 to be given SIM PUK2 MT is waiting for SIM PUK2 to be given PH-NET PIN MT is waiting for network personalization password to be given PH-NET PUK MT is waiting for network personalization unblocking password to be given PH-NETSUB PIN MT is waiting for network subset personalization password to be given PH-NETSUB PUK MT is waiting for network subset personalization unblocking password to be given PH-SP PIN MT is waiting for service provider personalization password to be given PH-SP PUK MT is waiting for service provider personalization unblocking password to be given PH-CORP PIN MT is waiting for corporate personalization password to be given PH-CORP PUK MT is waiting for corporate personalization unblocking password to be given String type. Password. If the requested password is a PUK, such as (U)SIM PUK, then must be followed by . String type. New password required when the requested code is a PUK. Example //Enter PIN. AT+CPIN? +CPIN: SIM PIN OK AT+CPIN=1234 OK +CPIN: READY AT+CPIN? +CPIN: READY OK //Enter PUK and PIN. AT+CPIN? //A PIN code is required. //Enter PIN. //PIN has already been entered. Quectel_EG060V-EA_AT_Commands_Manual 40 / 161 +CPIN: SIM PUK OK AT+CPIN='26601934','1234' OK +CPIN: READY AT+CPIN? +CPIN: READY OK LTE-A Module Series EG060V-EA AT Commands Manual //A PUK code is required. //Enter PUK and a new PIN password. //PUK has already been entered. 4.4. AT+CPWD Change Password This command sets a new password for the facility lock function defined by AT+CLCK. This Test Command returns a list of pairs which present the available facilities and the maximum length of their password. AT+CPWD Change Password Test Command AT+CPWD=? Response +CPWD: (list of supported s),(s) Write Command AT+CPWD=,, Maximum Response Time Characteristic Reference 3GPP TS 27.007 OK Response OK 5 s The command takes effect immediately. The configuration will be saved automatically. Parameter String type. Facility values. 'SC' (U)SIM (lock SIM/UICC card) (SIM/UICC asks password in MT power-up and when this lock command is issued) 'AO' BAOC (Bar All Outgoing Calls, refer to 3GPP TS 22.088 clause 1) 'OI' BOIC (Bar Outgoing International Calls, refer to 3GPP TS 22.088 clause 1) 'OX' BOIC-exHC (Bar Outgoing International Calls except to Home Country, refer to Quectel_EG060V-EA_AT_Commands_Manual 41 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 3GPP TS 22.088 clause 1) 'AI' BAIC (Bar All Incoming Calls, refer to 3GPP TS 22.088 clause 2) 'IR' BIC-Roam (Bar Incoming Calls when Roaming outside the home country, refer to 3GPP TS 22.088 clause 2) 'AB' All barring services (refer to 3GPP TS 22.030, applicable only for =0) 'AG' All outgoing barring services (refer to 3GPP TS 22.030, applicable only for =0) 'AC' All incoming barring services (refer to 3GPP TS 22.030, applicable only for =0) 'P2' (U)SIM PIN2 Integer type. Maximum length of password. String type. Old password specified for the facility from the user interface or with command. String type. New password. Example AT+CPIN? +CPIN: READY OK AT+CPWD='SC','1234','4321' //Change (U)SIM card password from '1234' to '4321'. OK //Restart module or re-activate the SIM card. AT+CPIN? //Query the type of PIN code required. +CPIN: SIM PIN OK AT+CPIN='4321' OK //Enter the new PIN to re-activate the SIM card. +CPIN: READY 4.5. AT+CSIM Generic (U)SIM Access This command allows a direct control of the (U)SIM that is installed in the currently selected card slot by a distant application on the TE. The TE shall then keep the processing of (U)SIM information within the frame specified by GSM/UMTS. AT+CSIM Generic (U)SIM Access Test Command AT+CSIM=? Response OK Quectel_EG060V-EA_AT_Commands_Manual 42 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command AT+CSIM=, Maximum Response Time Characteristic Reference 3GPP TS 27.007 Response +CSIM: , OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. Length of or string. Command transferred by MT to (U)SIM in the format described in 3GPP TS 51.011. Response to the command transferred by the (U)SIM to the MT in the format as described in 3GPP TS 51.011. 4.6. AT+CRSM Restricted (U)SIM Access This command offers easy but limited access to the (U)SIM database. It transmits the (U)SIM command number and its required parameters to the MT. AT+CRSM Restricted (U)SIM Access Test Command AT+CRSM=? Write Command AT+CRSM=[,[,,,[,][,]]] Response OK Response +CRSM: ,[,] OK Maximum Response Time If there is any error: +CME ERROR: Or ERROR 300 ms Quectel_EG060V-EA_AT_Commands_Manual 43 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Characteristic Reference 3GPP TS 27.007 The command takes effect immediately. The configuration will be saved automatically. Parameter , , , (U)SIM command number. 176 READ BINARY 178 READ RECORD 192 GET RESPONSE 214 UPDATE BINARY 220 UPDATE RECORD 242 STATUS Integer type. Identifier for an elementary data file on (U)SIM, if used by . Integer type. Parameters transferred by the MT to the (U)SIM. These parameters are mandatory for every command, except GET RESPONSE and STATUS. The values are described in 3GPP TS 51.011. Information which shall be written to the (U)SIM (hexadecimal character format; refer to AT+CSCS). The directory path of an elementary file on a UICC in hexadecimal format. Integer type. Information from the (U)SIM about the execution of the actual command. These parameters are delivered to the TE in both cases, on successful or failed execution of the command. Response of a successful completion of the command previously issued (hexadecimal character format; refer to AT+CSCS). STATUS and GET RESPONSE return data, which gives information about the current elementary data field. The information includes the type of file and its size (refer to 3GPP TS 51.011). After READ BINARY, READ RECORD or RETRIEVE DATA command, the requested data will be returned. is not returned after a successful UPDATE BINARY, UPDATE RECORD or SET DATA command. Error codes. For more details, refer to Chapter 12.2. 4.7. AT+QCCID Show ICCID This command returns the ICCID (Integrated Circuit Card Identifier) number of (U)SIM card. AT+QCCID Show ICCID Test Command AT+QCCID=? Response OK Quectel_EG060V-EA_AT_Commands_Manual 44 / 161 Execution Command AT+QCCID Maximum Response Time Characteristic LTE-A Module Series EG060V-EA AT Commands Manual Response +QCCID: OK Or ERROR 300 ms / Parameter String without double quotes. ICCID (Integrated Circuit Card Identifier) number of the (U)SIM card. Example AT+QCCID //Query ICCID of the (U)SIM card. +QCCID: 89860025128306012474 OK 4.8. AT+QSIMDET (U)SIM Card Detection This command enables (U)SIM card hot-swap function. (U)SIM card is detected by GPIO interrupt. The level of (U)SIM card detection pin when the (U)SIM card is inserted should also be set. AT+ QSIMDET (U)SIM Card Detection Test Command AT+QSIMDET=? Response +QSIMDET: (list of supported s),(list of supported s) Read Command AT+QSIMDET? OK Response +QSIMDET: , Write Command AT+QSIMDET=, OK Response OK Or ERROR Quectel_EG060V-EA_AT_Commands_Manual 45 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristic 300 ms The command takes effect after rebooting. The configuration will be saved automatically. Parameter Integer type. Integer type. Enable or disable (U)SIM card detection. 0 Disable 1 Enable Integer type. The level of (U)SIM detection pin when a (U)SIM card is inserted. 0 Low level 1 High level ⚫NOTES Hot-swap function is invalid if the value of is inconsistent with your hardware design. 4.9. AT+QSIMSTAT (U)SIM Insertion Status Report This command queries (U)SIM card insertion status or determines whether to report (U)SIM card insertion status. AT+QSIMSTAT (U)SIM Insertion Status Report Test Command AT+QSIMSTAT=? Response +QSIMSTAT: (list of supported s) Read Command AT+QSIMSTAT? OK Response +QSIMSTAT: , Write Command AT+QSIMSTAT= Maximum Response Time Characteristic OK Response OK Or ERROR 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 46 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. Enable or disable (U)SIM inserted status report. If it is enabled, when (U)SIM card is removed or inserted, the URC below will be reported: +QSIMSTAT: ,. 0 Disable 1 Enable Integer type. (U)SIM card status. This argument is not allowed to be set. 0 Removed 1 Inserted 2 Unknown, before (U)SIM initialization Example AT+QSIMSTAT? +QSIMSTAT: 0,1 OK AT+QSIMDET=1,0 OK AT+QSIMSTAT=1 OK AT+QSIMSTAT? +QSIMSTAT: 1,1 OK //Remove the (U)SIM card. +QSIMSTAT: 1,0 +CPIN: NOT READY AT+QSIMSTAT? +QSIMSTAT: 1,0 OK //Insert a (U)SIM card. +QSIMSTAT: 1,1 +CPIN: READY //Query (U)SIM card insertion status. //Enable (U)SIM card insertion status report. //Report (U)SIM card insertion status: removed. //Report (U)SIM card insertion status: inserted. Quectel_EG060V-EA_AT_Commands_Manual 47 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 5 Network Service Commands 5.1. AT+COPS Operator Selection This command returns the current operators and their status, and allows setting automatic or manual network selection. This Test Command returns a set of five parameters, each representing an operator presenting in the network. Any of the formats may be unavailable and should then be an empty field. The list of operators shall be in the order of: home network, networks referenced in (U)SIM and other networks. This Read Command returns the current mode and the currently selected operator. If no operator is selected, , and are omitted. This Write Command forces an attempt to select and register the GSM/UMTS network operator. If the selected operator is not available, no other operator shall be selected (except =4). The format of selected operator name shall apply to further Read Command (AT+COPS?). AT+COPS Operator Selection Test Command AT+COPS=? Response +COPS: [(list of supported ,long alphanumeric ,short alphanumeric ,numeric s[,])s][,,(range of supported s),(range of support ed s)] OK Read Command AT+COPS? If there is any error: +CME ERROR: Or ERROR Response +COPS: [,[,][,]] OK If there is any error: Quectel_EG060V-EA_AT_Commands_Manual 48 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command AT+COPS=[,[,[ ,]]] +CME ERROR: Or ERROR Response OK If there is any error: +CME ERROR: Or ERROR Maximum Response Time 180 s, determined by network. Characteristic / Reference 3GPP TS 27.007 Parameter Integer type. Operator status. 0 Unknown 1 Operator available 2 Current operator 3 Operator forbidden Strig type. Operator in format as per . Integer type. 0 Automatic mode. field is ignored 1 Manual operator selection. field shall be present and optionally 2 Manually deregister from network 3 Set only (for AT+COPS? Read Command), and do not attempt registration/deregistration ( and fields are ignored). This value is invalid in the response of Read Command 4 Manual/automatic selection. field shall be presented. If manual selection fails, automatic mode (=0) is entered Integer type. 0 Long format alphanumeric which can be up to 16 characters long 1 Short format alphanumeric 2 Numeric . GSM location area identification number Integer type. Access technology selected. Values 3, 4, 5 and 6 occur only in the response of Read Command while MS is in data service state and are not intended for the AT+COPS Write Command. 0 GSM 2 UTRAN 3 GSM W/EGPRS Quectel_EG060V-EA_AT_Commands_Manual 49 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 4 UTRAN W/HSDPA 5 UTRAN W/HSUPA 6 UTRAN W/HSDPA and HSUPA 7 E-UTRAN 8 UTRAN HSPA+ Error codes. For more details, refer to Chapter 12.2. Example AT+COPS=? //List all the current network operators. +COPS: (1,'CHN-UNICOM','UNICOM','46001',2),(1,'CHN-UNICOM','UNICOM','46001',0),(2,'CHN-UNICO M','UNICOM','46001',7),(1, 'CHN-CT', 'CT','46011',7),(3,'CHINA MOBILE','CMCC','46000',0),,(0-4),(0-2) OK AT+COPS? +COPS: 0,0,'46000',7 //Query the currently selected network operator. OK 5.2. AT+CREG Network Registration Status The Read Command returns the status of result code presentation and an integer which shows whether the network has currently indicated the registration of the ME. Location information elements and are returned only when =2 and ME is registered on the network. The Write Command controls the presentation of an unsolicited result code +CREG: when =1 and there is a change in the ME network registration status. AT+CREG Network Registration Status Test Command AT+CREG=? Response +CREG: (list of supported s) Read Command AT+CREG? OK Response +CREG: ,[,,[,]] OK If there is any error related to ME functionality: +CME ERROR: Quectel_EG060V-EA_AT_Commands_Manual 50 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command AT+CREG=[] Maximum Response Time Characteristic Reference 3GPP TS 27.007 Or ERROR Response OK 300 ms / Parameter Integer type. Whether to enable network registration URC. 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code: +CREG: 2 Enable network registration unsolicited result code with location information: +CREG: [,,[,]] Integer type. Registration status. 0 Not registered. ME is not currently searching a new operator to register to 1 Registered, home network 2 Not registered, but ME is currently searching a new operator to register to 3 Registration denied 4 Unknown 5 Registered, roaming String type. Two bytes location area code in hexadecimal format. String type. 16-bit (GSM) or 28-bit (UMTS/LTE) cell ID in hexadecimal format. Integer type. Access technology selected. 0 GSM 2 UTRAN 3 GSM W/EGPRS 4 UTRAN W/HSDPA 5 UTRAN W/HSUPA 6 UTRAN W/HSDPA and HSUPA 7 E-UTRAN 8 UTRAN HSPA+ Error codes. For more details, refer to Chapter 12.2. Example AT+CREG=2 OK AT+CREG? +CREG: 2,1,'550c','5a29c0b',7 //Activate extended URC mode. //URC reporting MT has registered on an E-UTRAN network. Quectel_EG060V-EA_AT_Commands_Manual 51 / 161 LTE-A Module Series EG060V-EA AT Commands Manual OK 5.3. AT+CSQ Signal Quality Report This command indicates the received signal strength and the channel bit error rate . This Test Command returns values supported by the TA. This Execution Command returns received signal strength indication and channel bit error rate from the ME. AT+CSQ Signal Quality Report Test Command AT+CSQ=? Response +CSQ: (list of supported s),(list of supported s) Execution Command AT+CSQ OK Response +CSQ: , OK Maximum Response Time Characteristic Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter Integer type. Received signal strength indicator. 0 -113dBm or less 1 -111dBm 2...30 -109dBm... -53dBm 31 -51dBm or greater 99 Not known or not detectable Integer type. Channel bit error rate (in percent). 0...7 As RXQUAL values in the table in 3GPP TS 45.008 subclause 8.2.4 99 Not known or not detectable Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 52 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Example AT+CSQ=? +CSQ: (0-31,99),(0-7,99) OK AT+CSQ +CSQ: 28,99 //The received signal strength indicator is 28 and the channel bit error rate is 99. OK 5.4. AT+CPOL Preferred Operator List This command edits and queries the list of preferred operators. AT+CPOL Preferred Operator List Test Command AT+CPOL=? Response +CPOL: (list of supported s),(list of supported s) Read Command AT+CPOL? OK Response Query the list of preferred operators: +CPOL: ,,[,,,,] ,,[,,,,] […] Write Command AT+CPOL=[,[,[,, ,]]] OK Response Edit the list of preferred operators: OK If there is any error: +CME ERROR: Or ERROR Maximum Response Time Characteristic If is given but is left out, the entry is deleted. 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 53 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference 3GPP TS 27.007 Parameter Integer type. The order number of operators in (U)SIM preferred operator list. 0 Long format alphanumeric 1 Short format alphanumeric 2 Numeric String type. indicates the format is alphanumeric or numeric (see AT+COPS). Integer type. GSM access technology. 0 Access technology is not selected 1 Access technology is selected Integer type. GSM compact access technology. 0 Access technology is not selected 1 Access technology is selected Integer type. UTRAN access technology. 0 Access technology is not selected 1 Access technology is selected Integer type. E-UTRAN access technology. 0 Access technology is not selected 1 Access technology is selected Error codes. For more details, refer to Chapter 12.2. NOTE The access technology selection parameters , , and are required when UE selects the PLMN selector and access technology for its (U)SIM card. 5.5. AT+COPN Read Operator Names This command returns the list of operator names from the ME. Each operator code that has an alphanumeric equivalent in the ME memory is returned. AT+COPN Read Operator Names Test Command AT+COPN=? Execution Command AT+COPN Response OK Response +COPN: , Quectel_EG060V-EA_AT_Commands_Manual 54 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristic Reference 3GPP TS 27.007 [+COPN: ,] […] OK If there is error related to MT functionality: +CME ERROR: Depends on the number of operator names. / Parameter String type. Operator in numeric format (see AT+COPS). String type. Operator in long alphanumeric format (see AT+COPS). Error codes. For more details, refer to Chapter 12.2. 5.6. AT+CTZU Automatic Time Zone Update This Write Command enables and disables automatic time zone update via NITZ. AT+CTZU Automatic Time Zone Update Test Command AT+CTZU=? Response +CTZU: (list of supported s) Write Command AT+CTZU= Read Command AT+CTZU? OK Response OK Or ERROR Response +CTZU: Maximum Response Time Characteristic Reference 3GPP TS 27.007 OK 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 55 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. The mode of automatic time zone update. 0 Disable automatic time zone update via NITZ 1 Enable automatic time zone update via NITZ and update GMT time to URC Example AT+CTZU? +CTZU: 1 OK AT+CTZU=? +CTZU: (0,1) OK AT+CTZU=0 OK AT+CTZU? +CTZU: 0 OK 5.7. AT+CTZR Time Zone Reporting This command controls the time zone reporting when event changes. If reporting is enabled, the MT returns the unsolicited result code +CTZV: or +CTZE: ,, whenever the time zone is changed. The configuration is stored to flash automatically. AT+CTZR Time Zone Reporting Test Command AT+CTZR=? Response +CTZR: (list of supported s) Write Command AT+CTZR= Read Command AT+CTZR? OK Response OK Or ERROR Response +CTZR: OK Quectel_EG060V-EA_AT_Commands_Manual 56 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristic Reference 3GPP TS 27.007 300ms / Parameter Integer type. The mode of time zone reporting. 0 Disable time zone reporting of changed event 1 Enable time zone reporting of changed event by unsolicited result code: +CTZV: 2 Enable extended time zone reporting by unsolicited result code: +CTZE: ,, String type. Sum of the local time zone (difference between the local time and GMT is expressed in quarters of an hour) plus daylight saving time. The format is '±zz', expressed as a fixed-width, two-digit integer from -48 to +56. To maintain a fixed width, numbers from -9 to +9 are expressed with a leading zero, e.g. '-09', '+00' and '+09'. Integer type. Indicates whether includes daylight savings adjustment. 0 includes no adjustment for daylight saving time 1 includes +1 hour (i.e. 4 quarters in ) adjustment for daylight saving time 2 includes +2 hours (i.e. 8 quarters in ) adjustment for daylight saving time String type. The local time. The format is 'YYYY/MM/DD,hh:mm:ss', expressed as integers representing year (YYYY), month (MM), date (DD), hour (hh), minute (mm) and second (ss). This parameter can be provided by the network when delivering time zone information and be presented in the URC of extended time zone reporting. 5.8. AT+QSPN Query the Service Provider Name This command queries the service provider name. AT+QSPN Query the Service Provider Name Test Command AT+QSPN=? Execution Command AT+QSPN Response OK Response +QSPN: ,,,, OK Quectel_EG060V-EA_AT_Commands_Manual 57 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristic 300 ms / Parameter String type. Full name of network. String type. Shortened name of network. String type. Service provider name. Integer type. Alphabet of full and shortened network name. 0 GSM 7-bit default alphabet 1 UCS2 String type. Registered PLMN. NOTES 1. If is 0, and will be shown in GSM 7-bit default alphabet string. 2. If is 1, and will be shown in UCS2 hexadecimal string. Example AT+QSPN //Query the service provider name. +QSPN: 'CHN-UNICOM','UNICOM','',0,'46001' OK 5.9. AT+QNWINFO Query Network Information This command indicates network information such as the access technology, the operator and the band selected. AT+QNWINFO Query Network Information Test Command AT+QNWINFO=? Response OK Execution Command AT+QNWINFO Response +QNWINFO: ,,, Maximum Response Time Characteristic OK 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 58 / 161 Parameter LTE-A Module Series EG060V-EA AT Commands Manual String type. The access technology selected. 'NONE' 'HDR' 'HDR-EHRPD' 'GSM' 'GPRS' 'EDGE' 'WCDMA' 'HSDPA' 'HSUPA' 'HSPA+' 'TDD LTE' 'FDD LTE' String type. The operator in numeric format. String type. The band selected. 'GSM 850' 'GSM 900' 'GSM 1800' 'WCDMA 2100' 'WCDMA 850' 'WCDMA 900' 'LTE BAND 1' – 'LTE BAND 41' Integer type. Channel ID. 5.10. AT+QNWLOCK='common/lte' Network Locking Configuration This command locks the module to a specified frequency or cell. AT+QNWLOCK='common/lte' Network Locking Configuration Test Command AT+QNWLOCK=? Response +QNWLOCK: 'common/lte',(range of supported s),< EARFCN>,,(list of supported s) Write Command AT+QNWLOCK='common/lte'[,< action>[,,]] OK Response If the optional parameters are omitted, query the current setting: +QNWLOCK: 'common/lte',,,, OK Quectel_EG060V-EA_AT_Commands_Manual 59 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics If the optional parameters are specified, lock the module to a specified frequency or cell: OK Or ERROR 300 ms The command takes effect immediately. The configurations will not be saved. Parameter Integer type. 0 Unlock the cell 1 Lock LTE cell through appointed EARFCN 2 Lock LTE cell through appointed EARFCN and PSC Integer type. Default value: 0. The appointed EARFCN of the cell to be locked. Integer type. Default value: 0. The appointed PCI of the cell to be locked. Integer type. Default value: 0. 0 Cell locking or unlocking finished 1 Cell locking or unlocking failed NOTES 1. The module can be unlocked from a cell after you set to 0 and reboot it. 2. The module needs to be fixed to LTE-only with AT+QCFG='NWSCANMODE',3 before it can be locked to an LTE cell with AT+QNWLOCK . 5.11. AT+QENG Information Query Primary Serving Cell and Neighbour Cell This command obtains the primary serving cell and neighbour cell information. AT+QENG Query Primary Serving Cell and Neighbour Cell Information Test Command AT+QENG=? Response +QENG: (list of supported s) Query the information of serving cell AT+QENG='servingcell' OK Response In GSM mode: Quectel_EG060V-EA_AT_Commands_Manual 60 / 161 LTE-A Module Series EG060V-EA AT Commands Manual +QENG: 'servingcell',,'GSM',,,,,,,,,,, ,,,,,,,,, ,,,, In LTE mode: +QENG: 'servingcell',,'LTE',,,< MNC>,,,,,,,,,,,, In WCDMA mode: +QENG: 'servingcell',,'WCDMA',,,,,,,,,,,,,, Query the information of neighbor cells AT+QENG='neighbourcell' OK Response In GSM mode: [+QENG: 'neighbourcell','GSM',,,, ,,,,,,, …] In LTE mode: [+QENG: 'neighbourcell intra','LTE',,,< RSRQ>,,,,,,,, …] [+QENG: 'neighbourcell inter','LTE',,,< RSRQ>,,,,,,, …] [+QENG: 'neighbourcell','WCDMA',,,,,,, …] In WCDMA mode: [+QENG: 'neighbourcell','WCDMA',,, ,,,,, …] [+QENG: 'neighbourcell','LTE',,,,, …] OK 300 ms / Parameter String format. The information of different cells. 'servingcell' The information of 3G/4G serving cells 'neighbourcell' The information of 3G/4G neighbour cells String format. UE state. 'SEARCH' UE is searching but has not found a suitable 3G/4G cell. 'LIMSRV' UE is camping on a cell but has not registered on the network. 'NOCONN' UE has camped on a cell and registered on the network, and it is in idle mode. 'CONNECT' UE has camped on a cell and registered on the network, and a call is in progress. LTE TDD or FDD mode. Integer type. Mobile Country Code (first part of the PLMN code). '-' Invalid Integer type. Mobile Network Code (second part of the PLMN code). '-' Invalid Hexadecimal format. Location Area Code. The parameter determines the two bytes location area code in hexadecimal format (e.g. 00C1 equals 193 in decimal) of the cell that was scanned. Range: 0-65535. Hexadecimal format. Cell ID. The parameter determines the 16-bit (GSM) or 28-bit (UMTS) cell ID. Range: 0–0xFFFFFFF. '-' Invalid Integer type. Base Station Identification Code. Range: 0-63. Integer type. The parameter determines the ARFCN of the cell that was scanned. Range: 0–1023. Physical cell ID. Integer type. Indicate the current band is PCS1900 or DCS1800. 0 DCS_1800 1 PCS_1900 '-' Other band Integer type. Routing Area Code. Range 0–255. Primary frequency. Integer type. RX level value for base station selection in dB (see 3GPP 25.304). RX level range: 0–63, subtract 111 to dBm value. Quectel_EG060V-EA_AT_Commands_Manual 62 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Integer type. MS maximum TX power in CCH. Integer type. Minimum access RX level. Integer type. Discontinuous reception cycle length. Integer type. Cell selection criterion. Integer type. Cell reselection criterion. Integer type. The parameter determines the UTRA-ARFCN of the cell that was scanned. Integer type. Whether current cell supports GPRS or not. 0 Not support GPRS 1 Support GPRS Integer type. In hopping, displays „h‟, otherwise displays the current ARFCN in voice call. Integer type. Timeslot number. Integer type. Timing advance for the base station. Range: 0–63. Integer type. Mobile Allocation Index Offset. Integer type. Hopping Sequence Number. Integer type. RX quality (sub), range: 0–7. Integer type. RX quality (full), range: 0–7. Integer type. RX level (sub), range: 0–63. Integer type. RX level (full), range: 0–63. String type. Channel mode during voice call. 'HR' Half rate 'FR' Full rate 'EFR' Enhanced full rate 'AMR' Adaptive Multi-Rate 'AMRHR' AMR half rate 'AMRFR' AMR full rate 'AMRWB' AMR wide band '-' Invalid Integer type. The parameter determines the E-UTRA-ARFCN of the cell that was scanned. E-UTRA frequency band (see 3GPP 36.101). Integer type. UL bandwidth. 0 1.4MHz 1 3MHz 2 5MHz 3 10MHz 4 15MHz 5 20MHz Integer type. DL bandwidth. 0 1.4MHz 1 3MHz 2 5MHz 3 10MHz Quectel_EG060V-EA_AT_Commands_Manual 63 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 4 15MHz 5 20MHz Tracking Area Code (see 3GPP 23.003 Section 19.4.2.3). Integer type. The parameter determines the primary scrambling code of the cell that was scanned. Integer type. Routing Area Code. Range 0–255. Integer type. The parameter determines the Received Signal Code Power level of the cell that was scanned. Integer type. Carrier to noise ratio in dB=measured Ec/Io value in dB. Reference Signal Received Power (see 3GPP 36.214 Section 5.1.1). Reference Signal Received Quality (see 3GPP 36.214 Section 5.1.2). Integer type. The parameter shows the Received Signal Strength Indication. Integer type. Logarithmic value of SINR, Values are in 1/5th of a dB. Range:0-250 which translates to -20dB - +30dB. Physical channel 0 DPCH 1 FDPCH Integer type. Spreading factor. 0 SF_4 1 SF_8 2 SF_16 3 SF_32 4 SF_64 5 SF_128 6 SF_256 7 SF_512 8 UNKNOWN Integer type. (0–16): slot format for DPCH. (0–9): slot format for FDPCH. Destination number on which call is to be deflected. Integer type. Compress mode. 0 Not support compress mode 1 Support compress mode Integer type. GPRS cell selection criterion. Integer type. GPRS cell reselection criterion. Receiver automatic gain control on the camped frequency. Integer type. Carrier to noise ratio in dB = measured Ec/Io value in dB. Integer type. 3G neighbour cell set. 1 Active set 2 Synchronous neighbour set 3 Asynchronous neighbour set Rank of this cell as neighbour for inter-RAT cell reselection. To be considered for reselection. The suitable receive level value of an evaluated lower priority cell must be greater than this value. Quectel_EG060V-EA_AT_Commands_Manual 64 / 161 LTE-A Module Series EG060V-EA AT Commands Manual To be considered for reselection. The suitable receive level value of an evaluated higher priority cell must be greater than this value. Reselection threshold for high priority layers. Reselection threshold for low priority layers. Integer type. Select receive level value for base station in dB (see 3GPP 25.304). Cell reselection priority. Range: 0–7. Threshold to control non-intra frequency searches. Specifies the suitable receive level threshold (in dB) used by the UE on the serving cell when reselecting towards a lower priority RAT/frequency. Cell selection parameter for the intra frequency cell. 5.12. AT+QCAINFO Query Carrier Aggregation Parameters This command queries carrier aggregation parameters. AT+QCAINFO Query Carrier Aggregation Parameters Test Command AT+QCAINFO=? Execution Command AT+QCAINFO Response OK Response +QCAINFO: 'pss',,,,,,,,, 'sss',,,,,, ,,, OK Maximum Response Time Characteristics If no secondary cell was active: OK 300 ms / Parameter Primary server cell. Secondary server cell. EARFCN. Integer type. Bandwidth. 6 1.4 MHZ 15 3 MHZ Quectel_EG060V-EA_AT_Commands_Manual 65 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 25 5 MHZ 50 10 MHZ 75 15 MHZ 100 20 MHZ String type. Band information. Integer type. Primary Carrier Component State. 0 No serving 1 Registered Integer type. Secondary Carrier Component State. 0 Deconfigured 1 Configured deactivated 2 Configured activated Integer type. Physical Cell ID. Integer type. Reference Signal Received Power (see 3GPP 36.214 Section 5.1.1). Integer type. Reference Signal Received Quality (see 3GPP 36.214 Section 5.1.2). Integer type. Integer type. The parameter shows the Received Signal Strength Indication. Integer type. Integer type. Logarithmic value of SINR. Values are in 1/5th of a dB. Range: 0-250, which translates to -20 dB to +30 dB. Quectel_EG060V-EA_AT_Commands_Manual 66 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 6 Call Related Commands 6.1. AT+QECCNUM Configure Emergency Call Numbers This command queries, adds and deletes ECC (emergency call) numbers. There are two kinds of ECC numbers: ECC numbers without (U)SIM and ECC numbers with (U)SIM. The default ECC numbers without (U)SIM is 911, 112, 00, 08, 110, 999, 118 and 119. The default ECC number with (U)SIM is 911 and 112. 911 and 112 will always be supported as ECC numbers, and cannot be deleted. ECC numbers can be saved into flash. If the (U)SIM card contains a ECC file, the numbers in the ECC file can also be regarded as ECC numbers. AT+QECCNUM Configure Emergency Call Numbers Test Command AT+QECCNUM=? Response +QECCNUM: (range of supported s) Write Command AT+QECCNUM=,[,[,,…[,]] ] OK Response If is equal to 0, query the ECC numbers. In this case, should be omitted, and the response is: +QECCNUM: [,,…] OK Read Command AT+QECCNUM? If is not equal to 0: =1 is used to add the ECC number; =2 is used to delete the ECC number. In this case, at least one ECC number should be inputted, and the response is: OK Or ERROR Response +QECCNUM: 0,[,…] +QECCNUM: 1,[,[…] Maximum Response Time Characteristics OK 300 ms The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 67 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference 3GPP TS 27.007 Parameter Integer type. ECC number operation mode. 0 Query ECC numbers 1 Add ECC numbers 2 Delete ECC numbers Integer type. ECC number type. 0 ECC numbers without (U)SIM 1 ECC numbers with (U)SIM String type; ECC numbers (e.g.110, 119). Example AT+QECCNUM=? +QECCNUM: (0-2) //Query the supported operation mode for ECC number. OK AT+QECCNUM? //Query the ECC numbers with or without (U)SIM. +QECCNUM: 0,'911','112','00','08','110','999','118','119','000' +QECCNUM: 1,'911','112','000' OK AT+QECCNUM=0,1 //Query the ECC numbers with (U)SIM. +QECCNUM: 1,'911','112','000' OK AT+QECCNUM=1,1,'110','234' //Add '110' and '234' into the type of ECC numbers with (U)SIM. OK AT+QECCNUM=0,1 //Query the ECC numbers with (U)SIM. +QECCNUM: 1,'911','112','000','110','234' OK AT+QECCNUM=2,1,'110' //Delete '110' from the type of ECC numbers with (U)SIM. OK AT+QECCNUM=0,1 //Query the ECC numbers with (U)SIM. +QECCNUM: 1,'911','112','000','234' OK Quectel_EG060V-EA_AT_Commands_Manual 68 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 7 Phonebook Commands 7.1. AT+CNUM Subscriber Number This command gets the subscribers' own number(s) from the (U)SIM. AT+CNUM Subscriber Number Test Command AT+CNUM=? Execution Command AT+CNUM Response OK Response [+CNUM: [],,] [+CNUM: [],,] OK Maximum Response Time Characteristics Reference 3GPP 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter Optional alphanumeric string associated with . The used character set should be the one selected with AT+CSCS command. String type phone number in the format specified by . Type of address of octet in integer format (See 3GPP TS 24.008). Usually, it has three kinds of values: 129 Unknown type 145 International type (contains the character '+') 161 National type Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 69 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 7.2. AT+CPBS Select Phonebook Memory Storage This command selects phonebook memory storage, which is used by other phonebook commands. The Read Command returns the current selected memory, the number of used locations and the total number of locations in the memory supported by manufacturer. The Test Command returns supported storages as compound values. AT+CPBS Select Phonebook Memory Storage Test Command AT+CPBS=? Response +CPBS: (list of supported s) OK Read Command AT+CPBS? If there is any error: +CME ERROR: Or ERROR Response +CPBS: ,, OK Write Command AT+CPBS= If there is any error: +CME ERROR: Or ERROR Response OK Maximum Response Time Characteristics Reference 3GPP 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms / Parameter String type. Quectel_EG060V-EA_AT_Commands_Manual 70 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 'SM' (U)SIM phonebook 'FD' (U)SIM fixed dialing phonebook (AT+CPBW operation needs the authority of PIN2) 'ON' (U)SIM’s own numbers (MSISDNs) list 'AP' Selected application phonebook. If a UICC with an active USIM application is present, the application phonebook, DFPHONEBOOK under ADFUSIM, is selected. 'SDN' Service Dialing Number Integer type. Indicate the total number of used locations in the selected memory. Integer type. Indicate the total number of locations in the selected memory. Error codes. For more details, refer to Chapter 12.2. 7.3. AT+CPBF Find Phonebook Entries This command searches the phonebook entries starting with the given string from the current phonebook memory storage selected with AT+CPBS, and return all found entries sorted in alphanumeric order. AT+CPBF Find Phonebook Entries Test Command AT+CPBF=? Response +CPBF: , Write Command AT+CPBF= OK Response [+CPBF: ,,,] […] OK Maximum Response Time Characteristics Reference 3GPP 27.007 If there is any error: +CME ERROR: Or ERROR Depends on the storage of phonebook entries. / Quectel_EG060V-EA_AT_Commands_Manual 71 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. Indicate the maximum length of field . Integer type. Indicate the maximum length of field . String type. The field of maximum length in current TE character set specified by AT+CSCS. Integer type. In the range of location numbers of phone book memory. Type of address of octet in integer format (See 3GPP TS 24.008). Usually, it has three kinds of values: 129 Unknown type 145 International type (contains the character '+') 161 National type String type field of maximum length in current TE character set specified by AT+CSCS. Error codes. For more details, refer to Chapter 12.2. 7.4. AT+CPBR Read Phonebook Entries This command reads phonebook entries in location number range ... from the current phonebook memory storage selected with AT+CPBS. If is left out, only location will be returned. AT+CPBR Read Phonebook Entries Test Command AT+CPBR=? Response +CPBR: (list of supported s),, Write Command AT+CPBR=[,] OK Response +CPBR: ,,, […] OK Maximum Response Time Characteristics Reference 3GPP 27.007 If there is any error: +CME ERROR: Or ERROR Depends on the storage of phonebook entries. / Quectel_EG060V-EA_AT_Commands_Manual 72 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. Location numbers of phone book memory. Integer type. Indicate the maximum length of the field . Integer type. Indicate the maximum length of the field . Integer type. The first phone book record to read. Integer type. The last phonebook record to read. Type of address of octet in integer format (See 3GPP TS 24.008). Usually, it has three kinds of values: 129 Unknown type 145 International type (contains the character '+') 161 National type String type. The field of maximum length in current TE character set specified by AT+CSCS. Error codes. For more details, refer to Chapter 12.2. 7.5. AT+CPBW Write Phonebook Entry This command writes phonebook entry of the location number in the current phonebook memory storage selected with AT+CPBS. It can also delete a phonebook entry of the location number . AT+CPBW Write Phonebook Entry Test Command AT+CPBW=? Response +CPBW: (range of supported s),,(list of supported s), OK Write Command AT+CPBW=[][,[,[,]]] Maximum Response Time If there is any error: +CME ERROR: Or ERROR Response OK If there is any error: +CME ERROR: Or ERROR 300 ms Characteristics / Quectel_EG060V-EA_AT_Commands_Manual 73 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference 3GPP 27.007 Parameter Integer type. The range of location numbers of phonebook entry. If is not given, the first free entry will be used. If is given as the only parameter, the phonebook entry specified by is deleted. Integer type. Indicate the maximum length of field . Integer type. Indicate the maximum length of field . Type of address of octet in integer format (See 3GPP TS 24.008). Usually, it has two kinds of values: 129 Unknown type 145 International type (contains the character '+') String type field of maximum length in current TE character set specified by AT+CSCS. Error codes. For more details, refer to Chapter 12.2. Example AT+CSCS='GSM' OK AT+CPBW=10,'15021012496',129,'QUECTEL' OK AT+CPBW=10 OK //Make a new phonebook entry at location 10. //Delete the entry at location 10. Quectel_EG060V-EA_AT_Commands_Manual 74 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 8 Short Message Service Commands 8.1. AT+CSMS Select Message Service This command selects messaging service and returns the types of messages supported by the ME. AT+CSMS Select Message Service Test Command AT+CSMS=? Response +CSMS: (list of supported s) Read Command AT+CSMS? OK Response +CSMS: ,,, Write Command AT+CSMS= OK Response +CSMS: ,, OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. Type of message service. 0 3GPP TS 23.040 and 3GPP TS 23.041 (the syntax of SMS AT commands is compatible with 3GPP TS 27.005 Phase 2 version 4.7.0; Phase 2+ features which Quectel_EG060V-EA_AT_Commands_Manual 75 / 161 LTE-A Module Series EG060V-EA AT Commands Manual do not require new command syntax may be supported, e.g., correct routing of messages with new Phase 2+ data coding schemes). 1 3GPP TS 23.040 and 3GPP TS 23.041 (the syntax of SMS AT commands is compatible with 3GPP TS 27.005 Phase 2+ version; the requirement of setting 1 is mentioned under corresponding command descriptions). Integer type. Mobile terminated messages. 0 Type not supported 1 Type supported Integer type. Mobile originated messages. 0 Type not supported 1 Type supported Integer type. Broadcast type messages. 0 Type not supported 1 Type supported Error codes. For more details, refer to Chapter 12.3. Example AT+CSMS=? +CSMS: (0,1) OK AT+CSMS=1 +CSMS: 1,1,1 OK AT+CSMS? +CSMS: 1,1,1,1 OK //Query the supported service types. //Set the type of message service to 1. //Read the current setting. 8.2. AT+CMGF Message Format This command specifies the input and output format of the short messages. indicates the format of messages used with Test, Read, Write and Execution Commands and unsolicited result codes resulting from received messages. The format of messages can be either PDU mode (entire TP data units used) or text mode (headers and body of the messages given as separate parameters). Text mode uses the value of parameter specified by AT+CSCS command to inform the character set to be used in the message body in the TA-TE interface. Quectel_EG060V-EA_AT_Commands_Manual 76 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+CMGF Message Format Test Command AT+CMGF=? Read Command AT+CMGF? Write Command AT+CMGF= Maximum Response Time Characteristics Reference 3GPP TS 27.005 Parameter Integer type. 0 PDU mode 1 Text mode Response +CMGF: (list of supported s) OK Response +CMGF: OK Response This command tells TA which input and output format of messages to use. OK 300 ms The command takes effect immediately. The configuration will be saved automatically. 8.3. AT+CSCA Service Center Address This Write Command updates the SMSC address when mobile originated SMS are transmitted. In text mode, setting is used by Write Command. In PDU mode, setting is used by same command, but only when the length of the SMSC address coded into parameter equals zero. AT+CSCA Service Center Address Test Command AT+CSCA=? Read Command AT+CSCA? Response OK Response +CSCA: , Write Command OK Response Quectel_EG060V-EA_AT_Commands_Manual 77 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+CSCA=[,] Maximum Response Time Characteristics Reference 3GPP TS 27.005 OK If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Service center address. 3GPP TS 24.011 RP SC address Address-Value field in string format; BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Type of service center address. 3GPP TS 24.011 RP SC address Type-of-Address octet in integer format (see ). Error codes. For more details, refer to Chapter 12.2. Example AT+CSCA='+8613800210500',145 OK AT+CSCA? +CSCA: '+8613800210500',145 OK //Set SMS service center address. //Query SMS service center address. 8.4. AT+CPMS Preferred Message Storage This command selects the memory storages , and to be used for reading, writing, etc. AT+CPMS Preferred Message Storage Test Command AT+CPMS=? Response +CPMS: (list of supported s),(list of supported s),(list of supported s) Quectel_EG060V-EA_AT_Commands_Manual 78 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+CPMS? OK Response +CPMS: ,,,,,,,, Write Command AT+CPMS=[,[,]] OK Response +CPMS: ,,,,, OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Messages will be read and deleted from this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Messages will be written and sent to this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage The received messages will be placed in this memory storage if routing to PC is not set. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Integer type. Number of current messages in . Integer type. Total number of messages which can be stored in . Error codes. For more details, refer to Chapter 12.3. Example AT+CPMS='SM','SM','SM' +CPMS: 0,50,0,50,0,50 //Set SMS message storage as 'SM'. Quectel_EG060V-EA_AT_Commands_Manual 79 / 161 LTE-A Module Series EG060V-EA AT Commands Manual OK AT+CPMS? //Query the current SMS message storage. +CPMS: 'SM',18,50,'SM',18,50,'SM',18,50 OK 8.5. AT+CMGD Delete Message This command deletes short messages from the preferred message storage location . If is presented and not set to 0, then the ME shall ignore and follow the rules of shown as below. AT+CMGD Delete Message Test Command AT+CMGD=? Response +CMGD: (range of supported s),(list of supported s) Write Command AT+CMGD=[,] OK Response TA deletes message from preferred message storage location . OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 300 ms. Note: Operation of depends on the storage of deleted messages. The command takes effect immediately. The configurations will not be saved. Parameter Integer type value in the range of location numbers supported by the associated memory. 0 Delete the message specified in 1 Delete all read messages from storage Quectel_EG060V-EA_AT_Commands_Manual 80 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2 Delete all read messages from storage and sent mobile originated messages 3 Delete all read messages, sent and unsent mobile originated messages from storage 4 Delete all messages from storage Messages to be read and deleted from this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, refer to Chapter 12.3. Example AT+CMGD=1 OK AT+CMGD=1,4 OK //Delete the message specified with =1. //Delete all messages from storage. 8.6. AT+CMGL List Messages This Read Command returns messages with status value from preferred message storage to the TE. If the status of the message is 'REC UNREAD', the status in the storage changes to 'REC READ'. When executing command AT+CMGL without status value , it will report the list of SMS with 'REC UNREAD' status. AT+CMGL List Messages Test Command AT+CMGL=? Response +CMGL: (list of supported s) Write Command AT+CMGL[=] OK Response If in text mode (AT+CMGF=1) and the command is executed successfully: For SMS-SUBMITs and/or SMS-DELIVERs: +CMGL: ,,,[],[][,,] [...] OK For SMS-STATUS-REPORTs: +CMGL: ,,,,[],[],,, [...] OK For SMS-COMMANDs: +CMGL: ,,, [...] OK For CBM storage: +CMGL: ,,,,, [...] OK If in PDU mode (AT+CMGF=0) and the command is executed successfully: +CMGL: ,,[], [...] OK If there is any error: +CMS ERROR: Or ERROR Response List all messages with 'REC UNREAD' status from message storage , and then the status in the storage changes to 'REC READ'. 300ms. Note: Operation of depends on the storage of listed messages. The command takes effect immediately. The configurations will not be saved. Quectel_EG060V-EA_AT_Commands_Manual 82 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter In text mode: 'REC UNREAD' Received unread messages 'REC READ' Received read messages 'STO UNSENT' Stored unsent messages 'STO SENT' Stored sent messages 'ALL' All messages In PDU mode: 0 Received unread messages 1 Received read messages 2 Stored unsent messages 3 Stored sent messages 4 All messages Integer type. In the range of location numbers supported by the associated memory. Destination Address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Originating address. 3GPP TS 23.040 TP-Originating-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in TS 27.007). The type of address is given by . String type alphanumeric representation of or corresponding to the entry found in MT phonebook. Implementation of this feature is manufacturer specified. The used character set should be the one selected with AT+CSCS command (see definition of this command in 3GPP TS 27.007). Service center time stamp. 3GPP TS 23.040 TP-Service-Centre-Time-Stamp in time-string format (see ). Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Type of originating address. 3GPP TS 24.011 TP-Originating-Address Type-of-Address octet in integer format (see by default). Message length. Integer type. Indicate the length of the message body (or ) in characters in the text mode (AT+CMGF=1), or the length of the actual TP data unit in octets in PDU mode (AT+CMGF=0) (i.e. the RP layer SMSC address octets are not counted in the length). In the case of SMS: 3GPP TS 23.040 TP-User-Data in text mode responses; format: - If , indicates that 3GPP TS 23.038 GSM 7-bit default alphabet is used and indicates that 3GPP TS 23.040 TP-User-Data-Header-Indication is not set. - If TE character set is other than 'HEX' (refer to AT+CSCS command in 3GPP TS 27.007): ME/TA converts GSM alphabet into current TE character set according to rules of Annex A in 3GPP TS 27.007. - If TE character set is 'HEX': ME/TA converts each 7-bit character of GSM 7-bit Quectel_EG060V-EA_AT_Commands_Manual 83 / 161 LTE-A Module Series EG060V-EA AT Commands Manual default alphabet into two IRA character long hexadecimal number (e.g. character (GSM 7-bit default alphabet 23) is presented as 17 (IRA 49 and 55)). - If , indicates that 8-bit or UCS2 data coding scheme is used, or indicates that 3GPP TS 23.040 TP-User-Data-Header-Indication is set: ME/TA converts each 8-bit octet into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65)). In the case of CBS: 3GPP TS 23.041 CBM Content of Message in text mode responses; format: - If , indicates that 3GPP TS 23.038 GSM 7-bit default alphabet is used. - If TE character set is other than 'HEX' (see AT+CSCS in 3GPP TS27.007): ME/TA converts GSM alphabet into current TE character set according to rules of Annex A in 3GPP TS 27.007. - If TE character set is 'HEX': ME/TA converts each 7-bit character of the GSM 7-bit default alphabet into two IRA character long hexadecimal number. - If , indicates that 8-bit or UCS2 data coding scheme is used: ME/TA converts each 8-bit octet into two IRA character long hexadecimal number. In the case of SMS: 3GPP TS 24.011 SC address followed by 3GPP TS 23.040 TPDU in hexadecimal format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65)) 3GPP TS 27.007. Depends on the command or result code: first octet of 3GPP TS 23.040 SMS-DELIVER, SMS-SUBMIT (default 17), SMS-STATUS-REPORT, or SMS-COMMAND (default 2) in integer format. 3GPP TS 23.040 TP-Message-Reference in integer format 3GPP TS 23.040 TP-Recipient-Address Address-Value field in string format; BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see +CSCS in 3GPP TS 27.007); type of address given by . 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format (see by default). 3GPP TS 23.040 TP-Service-Centre-Time-Stamp in time-string format (see ). 3GPP TS 23.040 TP-Discharge-Time in time-string format: 'yy/MM/dd,hh:mm:ss±zz', where characters indicate year (two last digits), month, day, hour, minutes, seconds and time zone. E.g. 6th of May 1994, 22:10:00 GMT+2 hours equals to '94/05/06,22:10:00+08'. 3GPP TS 23.040 TP-Status in integer format. 3GPP TS 23.040 TP-Command-Type in integer format (default 0). 3GPP TS 23.041 CBM Serial Number in integer format. 3GPP TS 23.041 CBM Message Identifier in integer format. 3GPP TS 23.041 CBM Page Parameter bits 4-7 in integer format. 3GPP TS 23.041 CBM Page Parameter bits 0-3 in integer format. Messages to be read and deleted from this memory storage. Quectel_EG060V-EA_AT_Commands_Manual 84 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, refer to Chapter 12.3. Example AT+CMGF=1 //Set SMS message format as text mode. OK AT+CMGL='ALL' //List all messages from message storage. +CMGL: 1,'STO UNSENT','13156569236' +CMGL: 2,'STO UNSENT','13156569236' OK 8.7. AT+CMGR Read Message This Read Command returns SMS message with location value from message storage to the TE. If status of the message is 'REC UNREAD', status in the storage changes to 'REC READ'. AT+CMGR Read Message Test Command AT+CMGR=? Write Command AT+CMGR= Response OK Response If in text mode (AT+CMGF=1) and the command is executed successfully: For SMS-DELIVER: +CMGR: ,,[],[,,,,,,,] OK For SMS-SUBMIT: +CMGR: ,,[][,,,,,[],,,] OK For SMS-STATUS-REPORTs: +CMGR: ,,,[],[],,, Quectel_EG060V-EA_AT_Commands_Manual 85 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.005 OK For SMS-COMMANDs: +CMGR: ,,[,,[],[],[], ] OK For CBM storage: +CMGR: ,,,,, OK If in PDU mode (AT+CMGF=0) and command is executed successfully: +CMGR: ,[], OK If there is any error: +CMS ERROR: Or ERROR Depends on the length of message content. The command takes effect immediately. The configurations will not be saved. Parameter Integer type. The location numbers supported by the associated memory. In text mode 'REC UNREAD' Received unread messages 'REC READ' Received read messages 'STO UNSENT' Stored unsent messages 'STO SENT' Stored sent messages 'ALL' All messages In PDU mode 0 Received unread messages 1 Received read messages Quectel_EG060V-EA_AT_Commands_Manual 86 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2 Stored unsent messages 3 Stored sent messages 4 All messages String type alphanumeric representation of or corresponding to the entry found in MT phonebook. Implementation of this feature is manufacturer specified. The used character set should be the one selected with AT+CSCS command (see definition of this command in 3GPP TS 27.007). Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Originating address. 3GPP TS 23.040 TP-Originating-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Service center time stamp. 3GPP TS 23.040 TP-Service-Centre-Time-Stamp in time-string format (see ). First octet. Depending on the command or result code: First octet of 3GPP TS 23.040 SMS-DELIVER, SMS-SUBMIT (default 17), SMS-STATUS-REPORT, or SMS-COMMAND in integer format. If a valid value has been entered once, the parameter can be omitted. Protocol identifier. 3GPP TS 23.040 TP-Protocol-Identifier in integer format. Default: 0. Data coding scheme. Depending on the command or result code: 3GPP TS 23.038 SMS Data Coding Scheme (default 0), or Cell Broadcast Data Coding Scheme in integer format. Validity period. Depending on SMS-SUBMIT setting: 3GPP TS 23.040 TP-Validity-Period either in integer format or in time-string format (see ). Message number. 3GPP TS 23.040 TP-Message-Number in integer format. Message reference. 3GPP TS 23.040 TP-Message-Reference in integer format. Recipient address. 3GPP TS 23.040 TP-Recipient-Address Address-Value field in string format. BCD numbers (or GSM default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS). The type of address is given by . Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format (see by default). Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Type of originating address.3GPP TS 24.011 TP-Originating-Address Type-of-Address octet in integer format (see by default). Service center address. 3GPP TS 24.011 RP SC address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS in 3GPP TS 27.007). The type of address is given by . Quectel_EG060V-EA_AT_Commands_Manual 87 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Type of service center address. 3GPP TS 24.011 RP SC address Type-of-Address octet in integer format (see by default). Message length. Integer type. Indicate in the text mode (AT+CMGF=1) the length of the message body (or ) in characters, or in PDU mode (AT+CMGF=0) the length of the actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the length). The text of short message. In the case of SMS: 3GPP TS 24.011 SC address followed by 3GPP TS 23.040 TPDU in hexadecimal format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65)). 3GPP TS 23.040 TP-Discharge-Time in time-string format: 'yy/MM/dd,hh:mm:ss±zz', during which characters indicate year (two last digits), month, day, hour, minutes, seconds and time zone. E.g. 6th of May 1994, 22:10:00 GMT+2 hours equals to '94/05/06,22:10:00+08'. 3GPP TS 23.040 TP-Status in integer format. 3GPP TS 23.040 TP-Command-Type in integer format (default 0). 3GPP TS 23.041 CBM Serial Number in integer format. 3GPP TS 23.041 CBM Page Parameter bits 4-7 in integer format. 3GPP TS 23.041 CBM Page Parameter bits 0-3 in integer format. Messages to be read and deleted from this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, please refer to Chapter 12.3. Example +CMTI: 'SM',3 AT+CSDH=1 OK AT+CMGR=3 +CMGR: 'REC 0',145,27 //Indicates that new message has been received and saved to =3 of 'SM'. //Show SMS text mode parameters. //Read message. UNREAD','+8615021012496',,'18/12/15,15:06:37+32',145,4,0,0,'+861380021050 OK 8.8. AT+CMGS Send Message This Write Command sends a short message from TE to network (SMS-SUBMIT). After invoking the Quectel_EG060V-EA_AT_Commands_Manual 88 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command, wait for the prompt > and then start to write the message. After that, enter to indicate the ending of PDU and begin to send the message. Sending can be cancelled by giving character. Abortion is acknowledged with OK, though the message will not be sent. The message reference is returned to the TE on successful message delivery. Optionally (when AT+CSMS value is 1 and network supports) is returned. The value can be used to identify message upon unsolicited delivery status report result code. AT+CMGS Send Message Test Command AT+CMGS=? Write Command 1) If text mode (AT+CMGF=1): AT+CMGS=[,] text is entered means quits without sending 2) If PDU mode (AT+CMGF=0): AT+CMGS= PDU is given Response OK Response If in text mode (AT+CMGF=1) and sent successfully: +CMGS: OK If in PDU mode (AT+CMGF=0) and sent successfully: +CMGS: OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 120 s, determined by network. The command takes effect immediately. The configurations will not be saved. Parameter Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (refer to AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Integer type. Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Message length. Integer type. Indicating in the text mode (AT+CMGF=1) the length of the message body (or ) in characters, or in PDU mode (AT+CMGF=0), the length of the actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the length). Quectel_EG060V-EA_AT_Commands_Manual 89 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Message reference. 3GPP TS 23.040 TP-Message-Reference in integer format. Error codes. For more details, refer to Chapter 12.3. Example AT+CMGF=1 OK AT+CSCS='GSM' OK AT+CMGS='15021012496' > +CMGS: 247 OK //Set SMS message format as text mode. //Set character set as GSM which is used by the TE. //Enter in text. Use to send message, or to quit without sending. 8.9. AT+CMMS Send More Messages This command controls the continuity of the SMS relay protocol link. If the feature is enabled (and supported by the currently used network) multiple messages can be sent faster as the link is kept open. AT+CMMS Send More Messages Test Command AT+CMMS=? Response +CMMS: (range of supported s) Read Command AT+CMMS? OK Response +CMMS: Write Command AT+CMMS= OK Response OK Maximum Response Time Characteristics If there is any error: +CMS ERROR: Or ERROR 120 s, determined by network. The command takes effect immediately. The configuration will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 90 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference 3GPP TS 27.005 Parameter Integer type. 0 Feature disabled 1 Keep enabled until the time between the response of the latest message send command (AT+CMGS, AT+CMSS, etc.) and the next send command exceeds 1-5 seconds (the exact value is up to ME implementation), and then ME shall close the link and TA switches back to 0 automatically. 2 Feature enabled (If the time between the response of the latest message send command and the next send command exceeds 1-5 seconds (the exact value is up to ME implementation), ME shall close the link but TA will not switch back to 0 automatically). Error codes. For more details, refer to Chapter 12.3. NOTE After the execution of Read Command, it is required to wait for 5-10 seconds before issuing the Write Command. Otherwise +CMS ERROR: 500 may appear. 8.10. AT+CMGW Write Message to Memory This Write and Execution Commands store short messages (either SMS-DELIVER or SMS-SUBMIT) from TE to memory storage , and then the memory location of the stored message is returned. Message status will be set to 'stored unsent' by default, but parameter also allows other status values to be given. The syntax of input text is the same as the one specified in AT+CMGS Write Command. AT+CMGW Write Message to Memory Test Command AT+CMGW=? Write Command 1) If text mode (AT+CMGF=1): AT+CMGW=[,[,]] text is entered quits without sending Response OK Response If message writing is successful: +CMGW: OK If there is any error: Quectel_EG060V-EA_AT_Commands_Manual 91 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 2) If PDU mode (AT+CMGF=0): AT+CMGW=[,] PDU is given Maximum Response Time Characteristics Reference 3GPP TS 27.005 +CMS ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will not be saved. Parameter Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Originating address. 3GPP TS 23.040 TP-Originating-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address given by . Type of originating address. 3GPP TS 24.011 TP-Originating-Address Type-of-Address octet in integer format (see by default). PDU mode Text mode Explanation 0 'REC UNREAD' Received unread messages 1 'REC READ' Received read messages 2 'STO UNSENT' Stored unsent messages 3 'STO SENT' Stored sent messages 4 'ALL' All messages Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Message length. Indicate the length of the message body (or ) in characters in the text mode (AT+CMGF=1), or in PDU mode (AT+CMGF=0), the length of the actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the length). In the case of SMS: 3GPP TS 24.011 SC address followed by 3GPP TS 23.04 TPDU in hexadecimal format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65)). Index of message in selected storage . Messages will be written and sent to this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, refer to Chapter 12.3. Quectel_EG060V-EA_AT_Commands_Manual 92 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Example AT+CMGF=1 OK AT+CSCS='GSM' OK AT+CMGW='15021012496' > +CMGW: 4 //Set SMS message format as text mode. //Set character set as GSM which is used by the TE. //Enter in text. Use to write message or to quit without sending. OK AT+CMGF=0 //Set SMS message format as PDU mode. OK AT+CMGW=18 > 0051FF00000008000A0500030002016D4B8BD5 +CMGW: 5 OK 8.11. AT+CMSS Send Message from Storage This Write Command sends messages with location value from message storage to the network (SMS-SUBMIT). If a new recipient address is given for SMS-SUBMIT, it shall be used instead of the one stored with the message. Reference value is returned to the TE on successful message delivery. Values can be used to identify message upon unsolicited delivery status report result code. AT+CMSS Send Message from Storage Test Command AT+CMSS=? Write Command AT+CMSS=[,[,]] Response OK Response If in text mode (AT+CMGF=1) and sent successfully: +CMSS: [,] OK If in PDU mode (AT+CMGF=0) and sent successfully: +CMSS: [,] OK Quectel_EG060V-EA_AT_Commands_Manual 93 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 120 s, determined by network. The command takes effect immediately. The configurations will not be saved. Parameter Integer type value in the range of location numbers supported by the associated memory. Destination Address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in string format. BCD numbers (or GSM 7-bit default alphabet characters) are converted to characters of the currently selected TE character set (see AT+CSCS command in 3GPP TS 27.007). The type of address is given by . Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address octet in integer format. Message reference. 3GPP TS 23.040 TP-Message-Reference in integer format. Service center time stamp. 3GPP TS 23.040 TP-Service-Centre-Time-Stamp in time-string format (see ). The format is the same as in case of SMS, but without 3GPP TS 24.011 SC address field and the parameter shall be bounded by double quote characters like a normal string type parameter. Messages will be written and sent to this memory storage. 'SM' (U)SIM message storage 'ME' Mobile equipment message storage Error codes. For more details, refer to Chapter 12.3. Example AT+CMGF=1 OK AT+CSCS='GSM' OK AT+CMGW='15021012496' > Hello +CMGW: 4 OK //Set SMS message format as text mode. //Set character set as GSM which is used by the TE. //Enter in text. Use to send message or to quit without sending. Quectel_EG060V-EA_AT_Commands_Manual 94 / 161 AT+CMSS=4,'18158848480' +CMSS: 54 OK LTE-A Module Series EG060V-EA AT Commands Manual //Send the message of index 4 from memory storage. 8.12. AT+CSCB Select Cell Broadcast Message Types This Write Command selects which types of CBMs are to be received by the ME. AT+CSCB Select Cell Broadcast Message Types Test Command AT+CSCB=? Response +CSCB: (list of supported s) Read Command AT+CSCB? OK Response +CSCB: ,, Write Command AT+CSCB=,[,] OK Response TA selects which types of CBMs are to be received by the ME. OK Maximum Response Time Characteristics Reference 3GPP TS 27.005 If there is any error: +CMS ERROR: Or ERROR 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. 0 Message types specified in and are accepted 1 Message types specified in and are not accepted String type. All different possible combinations of CBM message identifiers (refer to ), e.g. '0,1,5,320-478,922'. Quectel_EG060V-EA_AT_Commands_Manual 95 / 161 LTE-A Module Series EG060V-EA AT Commands Manual String type. All different possible combinations of CBM data coding schemes (refer to ) (default is empty string), e.g. '0-3,5'. Error codes. For more details, refer to Chapter 12.3. 8.13. AT+CSDH Show SMS Text Mode Parameters This Write Command controls whether detailed header information is shown in text mode result codes. AT+CSDH Show SMS Text Mode Parameters Test Command AT+CSDH=? Response +CSDH: (list of supported s) Read Command AT+CSDH? OK Response +CSDH: Write Command AT+CSDH=[] Maximum Response Time Characteristics Reference 3GPP TS 27.005 OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will not be saved. Parameter Integer type. 0 Do not show header values defined in commands +CSCA, +CSMP (, , , , , ) and , or in +CMT, +CMGL, +CMGR result codes for SMS-DELIVERs and SMS-SUBMITs in text mode 1 Show the values in result codes Example AT+CSDH=0 OK Quectel_EG060V-EA_AT_Commands_Manual 96 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+CMGR=2 +CMGR: 'STO UNSENT','13156569236' OK AT+CSDH=1 OK AT+CMGR=2 +CMGR: 'STO UNSENT','13156569236',,128,17,0,0,143,'+8613800551500',145,18 OK 8.14. AT+CSMP Set SMS Text Mode Parameters This command sets values for additional parameters needed when a short message is sent to the network or placed in a storage in text mode (AT+CMGF=1). It is possible to set the validity period starting from when the SM is received by the SMSC ( ranges from 0 to 255) or define the absolute time of the validity period termination ( is a string). AT+CSMP Set SMS Text Mode Parameters Test Command AT+CSMP=? Read Command AT+CSMP? Response OK Response +CSMP: ,,, Write Command AT+CSMP=[,[,[,] ]] OK Response OK Maximum Response Time 300 ms Characteristics Reference 3GPP TS 27.005 The command takes effect immediately. The configurations will not be saved. Parameter First octet. Depending on the command or result code: First octet of 3GPP TS 23.040 SMS-DELIVER, SMS-SUBMIT (default 17), SMS-STATUS-REPORT, Quectel_EG060V-EA_AT_Commands_Manual 97 / 161 LTE-A Module Series EG060V-EA AT Commands Manual SMS-COMMAND in integer format. If a valid value has been entered once, this parameter can be omitted. Validity period. Depending on SMS-SUBMIT setting: 3GPP TS 23.040 TP-Validity-Period either in integer format or in time-string format (see ). Integer type. Protocol identifier. 3GPP TS 23.040 TP-Protocol-Identifier in integer format. Default: 167. Data coding scheme. Depending on the command or result code: 3GPP TS 23.038 SMS Data Coding Scheme (default 0), or Cell Broadcast Data Coding Scheme in integer format. Quectel_EG060V-EA_AT_Commands_Manual 98 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 9 Packet Domain Commands 9.1. AT+CGATT Attachment or Detachment of PS The command attaches MT to, or detaches MT from, the Packet Domain service. After the command has been completed, the MT remains in V.25ter command state. If MT is already in the requested state, the command will be ignored and the OK response will be returned. If the requested state cannot be achieved, an ERROR or +CME ERROR response will be returned. AT+CGATT Attachment or Detachment of PS Test Command AT+CGATT=? Response +CGATT: (list of supported s) Read Command AT+CGATT? OK Response +CGATT: Write Command AT+CGATT= OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 140 s, determined by network. Whether the command takes effect is determined by network. The configuration will not be saved. Parameter Integer type. Indicates the state of PS attachment. 0 Detached 1 Attached Quectel_EG060V-EA_AT_Commands_Manual 99 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Other values are reserved and will result in an ERROR response to the Write Command. Error codes. For more details, refer to Chapter 12.2. Example AT+CGATT=1 OK AT+CGATT=0 OK AT+CGATT? +CGATT: 0 OK //Attach to PS service. //Detach from PS service. //Query the current PS service state. 9.2. AT+CGDCONT Define PDP Context This command specifies PDP context parameters for a specific context . A special form of the Write Command (AT+CGDCONT=) causes the values for context to become undefined. It is not allowed to change the definition of an already activated context. This Read Command returns the current settings for each defined PDP context. AT+CGDCONT Define PDP Context Test Command AT+CGDCONT=? Response +CGDCONT: (range of supported s),, < APN>,,(range of supported s),(r ange of supported s),(list of supported s),(list of supported s),(range of supported s),(list of supported s) Read Command AT+CGDCONT? OK Response +CGDCONT: ,,,,,,,,, […] Write Command AT+CGDCONT=[,[, [,[,[, OK Response OK Or Quectel_EG060V-EA_AT_Commands_Manual 100 / 161 LTE-A Module Series EG060V-EA AT Commands Manual [,[,[,[, ]]]]]]]]] ERROR Maximum Response Time 300 ms Characteristics Reference 3GPP TS 27.007 The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. PDP context identifier. A numeric parameter which specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands. The range of permitted values (minimum value=1) is returned by the test form of the command. Range: 0–15. String type. Packet data protocol type, a string parameter which specifies the type of packet data protocol. Only 'IP', 'IPv6' and 'IPv4v6' are supported for EPS services. 'IP' Internet Protocol (IETF STD 5) 'PPP' Point to Point Protocol (IETF STD 51) 'IPV6' Internet Protocol, version 6 'IPV4V6' Virtual introduced to handle dual IP stack UE capability String type. Access point name, a string parameter that is a logical name used to select the GGSN or the external packet data network. If the value is null or omitted, then the subscription value will be requested. String type. Identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a dynamic address will be requested. The allocated address may be read using the AT+CGPADDR command. Integer type. Controls PDP data compression (applicable for SNDCP only) (see 3GPP TS 44.065). 0 Off (Default if value is omitted) 1 On (Manufacturer preferred compression) 2 V.42bis 3 V.44 (Not supported currently) Integer type. Controls PDP header compression (see 3GPP TS 44.065 and 3GPP TS 25.323). 0 Off 1 On 2 RFC1144 3 RFC2507 4 RFC3095 Integer type. Controls how the MT/TA requests to get the IPv4 address information. 0 IPv4 address allocated through NAS signalling Quectel_EG060V-EA_AT_Commands_Manual 101 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 1 IPv4 address allocated through DHCP Integer type. Indicates the type of PDP context activation request for the PDP context. Please refer to 3GPP TS 24.301 (subclause 6.5.1.2) and 3GPP TS 24.008 (subclause 10.5.6.17). If the initial PDP context is supported (subclause 10.1.0), it is not allowed to assign =0 for emergency bearer services. According to 3GPP TS 24.008 (subclause 4.2.4.2.2 and 4.2.5.1.4) and 3GPP TS 24.301 (subclause 5.2.2.3.3 and 5.2.3.2.2), a separate PDP context must be established for emergency bearer services. Integer type. Influences how the MT/TA requests to get the P-CSCF address, (see 3GPP TS 24.229 annex B and L). 0 Preference of P-CSCF address discovery not influenced by AT+CGDCONT 1 Preference of P-CSCF address discovery through NAS signaling 2 Preference of P-CSCF address discovery through DHCP Integer type. Indicates to the network whether the PDP context is for IM CN subsystem-related signaling only or not. 0 UE indicates that the PDP context is not for IM CN subsystem-related signaling only 1 UE indicates that the PDP context is for IM CN subsystem-related signaling only 9.3. AT+CGACT Activate or Deactivate PDP Context This Write Command activates or deactivates the specified PDP context(s) defined by CGDCONT. After the command has completed, the MT remains in V.250 command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the MT is not PS attached when the activation form of the command is executed, the MT first performs a PS attach and then attempts to activate the specified contexts. If no s specify the activation/deactivation form of the command, it will activate or deactivate all defined contexts. AT+CGACT Activate or Deactivate PDP Context Test Command AT+CGACT=? Response +CGACT: (list of supported s) Read Command AT+CGACT? OK Response +CGACT: , […] Write Command AT+CGACT=, OK Response OK Quectel_EG060V-EA_AT_Commands_Manual 102 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 Or NO CARRIER If there is any error: +CME ERROR: Or ERROR 150 s, determined by network. Whether the command takes effect is determined by network. The configurations will not be saved. Parameter Integer type. Indicates the state of PDP context activation. 0 Deactivated 1 Activated Other values are reserved and will result in an ERROR response to the Write Command. Integer type. Specifies a particular PDP context definition (see AT+CGDCONT). Error codes. For more details, refer to Chapter 12.2. Example AT+CGDCONT=2,'IP','UNINET' OK AT+CGACT=1,2 OK AT+CGACT? +CGACT: 1,1 +CGACT: 2,1 OK AT+CGACT=0,2 OK //Define PDP context. //Activate PDP. //Query the current PDP context state. //Deactivate the PDP. 9.4. AT+CGPADDR Show PDP Address This Write Command returns a list of PDP addresses for the specified context identifiers. If no is specified, the addresses for all defined contexts are returned. Quectel_EG060V-EA_AT_Commands_Manual 103 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+CGPADDR Show PDP Address Test Command AT+CGPADDR=? Response +CGPADDR: (list of defined s) Execution/Write Command AT+CGPADDR[=[,[,…]]] OK Response +CGPADDR: , […] Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK Or ERROR 300 ms Whether the command takes effect is determined by network. The configurations will not be saved. Parameter Integer type. Specifies a particular PDP context definition (see AT+CGDCONT). String type. Identifies the MT in the address space applicable to the PDP. The address may be static or dynamic. For a static address, it will be the one set by AT+CGDCONT when the context is defined. For a dynamic address it will be the one assigned during the last PDP context activation that used the context definition referred to by . is omitted if none is available. Example AT+CGDCONT=1,'IP','UNINET' OK AT+CGACT=1,1 OK AT+CGPADDR=1 +CGPADDR: 1,'10.76.51.180' OK //Define PDP context. //Activate PDP. //Show PDP address. Quectel_EG060V-EA_AT_Commands_Manual 104 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 9.5. AT+CGCLASS GPRS Mobile Station Class This command sets the MT to operate according to the specified mode of operation. For details, see 3GPP TS 23.060. AT+CGCLASS GPRS Mobile Station Class Test Command AT+CGCLASS=? Response +CGCLASS: (list of supported s) Read Command AT+CGCLASS? OK Response +CGCLASS: Write Command AT+CGCLASS= OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter String type. Indicates the GPRS mobile class (Functionality in descending order). A Class-A mode of operation (A/Gb mode), or CS/PS mode of operation (highest mode of operation) B Class-B mode of operation (A/Gb mode), or CS/PS mode of operation CG Class-C mode of operation in PS only mode (A/Gb mode), or PS mode of operation CC Class-C mode of operation in CS only mode (A/Gb mode), or CS (lowest mode of operation) Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 105 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 9.6. AT+CGREG GPRS Network Registration Status This command queries the network registration status and controls the presentation of an unsolicited result code +CGREG: when =1 and there is a change in the MT’s GPRS network registration status in GERAN/UTRAN, or unsolicited result code +CGREG: [,[],[],[],[]] when =2 and there is a change of the network cell in GERAN/UTRAN. The configuration will take effect immediately. AT+CGREG Network Registration Status Test Command AT+CGREG=? Response +CGREG: (list of supported s) Read Command AT+CGREG? OK Response +CGREG: ,[,,[,]] Write Command AT+CGREG= Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code +CGREG: 2 Enable network registration and location information unsolicited result code +CGREG: [,,[,]] Integer type. Indicates the GPRS registration status. 0 Not registered. MT is not currently searching an operator to register to. The UE is in GMM state GMM-NULL or GMM-DEREGISTERED-INITIATED. The GPRS service is disabled, but the UE is allowed to attach for GPRS if requested by the user. 1 Registered, home network. The UE is in GMM state GMM-REGISTERED or GMM-ROUTING-AREA-UPDATING-INITIATED INITIATED on the home PLMN. 2 Not registered, but MT is trying to attach or searching an operator to register to. Quectel_EG060V-EA_AT_Commands_Manual 106 / 161 LTE-A Module Series EG060V-EA AT Commands Manual UE is in GMM state GMM-DEREGISTERED or GMM-REGISTERED-INITIATED. The GPRS service is enabled, but an allowable PLMN is currently not available. The UE will start a GPRS attach as soon as an allowable PLMN is available. 3 Registration denied. The UE is in GMM state GMM-NULL. The GPRS service is disabled, and the UE is not allowed to attach for GPRS if requested by the user. 4 Unknown 5 Registered, roaming String type. Two-byte location area code in hexadecimal format (e.g. '00C3' equals 195 in decimal). String type. 16-bit (GSM) or 28-bit (UMTS/LTE) cell ID in hexadecimal format. Access technology selected. 0 GSM 2 UTRAN 3 GSM W/EGPRS 4 UTRAN W/HSDPA 5 UTRAN W/HSUPA 6 UTRAN W/HSDPA and HSUPA 7 E-UTRAN 8 UTRAN HSPA+ String type. Routing Area Code. 9.7. AT+CGEREP Packet Domain Event Reporting This Write Command enables or disables sending of unsolicited result codes +CGEV: XXX from MT to TE in the case of certain events occurring in the Packet Domain MT or the network. controls the processing of unsolicited result codes specified within this command. controls the effect on buffered codes when 1 or 2 is specified. AT+CGEREP Packet Domain Event Reporting Test Command AT+CGEREP=? Response +CGEREP: (range of supported s),(list of supported s) Read Command AT+CGEREP? OK Response +CGEREP: , Write Command AT+CGEREP[=mode[,]] OK Response OK Or ERROR Quectel_EG060V-EA_AT_Commands_Manual 107 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 300 ms The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. 0 Buffer unsolicited result codes in the MT; if MT result code buffer is full, the oldest ones can be discarded. No codes are forwarded to the TE. 1 Discard unsolicited result codes when MT-TE link is reserved (e.g. in on-line data mode), otherwise forward them directly to the TE. 2 Buffer unsolicited result codes in the MT when MT-TE link is reserved (e.g. in on-line data mode) and flush them to the TE when MT-TE link becomes available. Otherwise forward them directly to the TE. Integer type. 0 MT buffer of unsolicited result codes defined within this command is cleared when 1 or 2 is specified. 1 MT buffer of unsolicited result codes defined within this command is flushed to the TE when 1 or 2 is specified (OK response shall be given before flushing the codes). NOTES The unsolicited result codes and the corresponding events are defined as follows: 1. +CGEV: REJECT ,: A network request for PDP context activation occurred when the MT was unable to report it to the TE with a +CRING unsolicited result code and was automatically rejected. Note: This event is not applicable for EPS. 2. +CGEV: NW REACT ,,[]: The network has requested a context reactivation. The used to reactivate the context is provided if known to the MT. Note: This event is not applicable for EPS. 3. +CGEV: NW DEACT ,,[]: The network has forced a context deactivation. The used to activate the context is provided if known to the MT. 4. +CGEV: ME DEACT ,,[]: The mobile equipment has forced a context deactivation. The used to activate the context is provided if known to the MT. 5. +CGEV: NW DETACH: The network has forced a Packet Domain detach. This implies that all active contexts have been deactivated. These are not reported separately. 6. +CGEV: ME DETACH: The mobile equipment has forced a Packet Domain detach. This implies that all active contexts have been deactivated. These are not reported separately. 7. +CGEV: NW CLASS : The network has forced a change of MS class. The highest available Quectel_EG060V-EA_AT_Commands_Manual 108 / 161 LTE-A Module Series EG060V-EA AT Commands Manual class is reported (see AT+CGCLASS). 8. +CGEV: ME CLASS : The mobile equipment has forced a change of MS class. The highest available class is reported (see AT+CGCLASS). 9. +CGEV: PDN ACT : Activated a context. The context represents a PDN connection in LTE or a Primary PDP context in GSM/UMTS. 10. +CGEV: PDN DEACT : Deactivated a context. The context represents a PDN connection in LTE or a Primary PDP context in GSM/UMTS. Parameter Srting type. Packet data protocol type. A string parameter which specifies the type of packet data protocol. 'IP' IPv4 'PPP' PPP 'IPV6' IPv6 'IPV4V6' IPv4v6 String type. Identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP. Integer type. PDP context identifier. A numeric parameter which specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands. The range of permitted values (minimum value=1) is returned by the test form of AT+CGDCONT. String type. Indicates the GPRS mobile class. A Class A (highest) 9.8. AT+CGSMS Select Service for MO SMS Messages This command specifies the service or service preference that the MT will use to send MO (mobile originated) SMS messages. AT+CGSMS Select Service for MO SMS Messages Test Command AT+CGSMS=? Response +CGSMS: (range of currently available s) Read Command AT+CGSMS? OK Response +CGSMS: Write Command AT+CGSMS= OK Response OK Quectel_EG060V-EA_AT_Commands_Manual 109 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. Indicates the service or service preference to be used. 0 GPRS 1 Circuit switch 2 Packet domain preferred (use circuit switched if GPRS not available) 3 Circuit switch preferred (use GPRS if circuit switched not available) Error codes. For more details, refer to Chapter 12.2. 9.9. AT+CEREG EPS Network Registration Status This command queries the network registration status and controls the presentation of an unsolicited result code +CEREG: when =1 and there is a change in the MT’s EPS network registration status in E-UTRAN, or unsolicited result code +CEREG: [,[],[],[]] when =2 and there is a change of the network cell in E-UTRAN. AT+CEREG EPS Network Registration Status Test Command AT+CEREG=? Response +CEREG: (range of supported s) Read Command AT+CEREG? OK Response +CEREG: ,[,,[,]] Write Command AT+CEREG= OK Response OK Or ERROR Quectel_EG060V-EA_AT_Commands_Manual 110 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Maximum Response Time Characteristics Reference 3GPP TS 27.007 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. 0 Disable network registration unsolicited result code 1 Enable network registration unsolicited result code +CEREG: 2 Enable network registration and location information unsolicited result code +CEREG: [,,[,]] Integer type. Indicate the EPS registration status. 0 Not registered. ME is not currently searching a new operator to register to 1 Registered, home network 2 Not registered, but ME is currently searching a new operator to register to 3 Registration denied 4 Unknown 5 Registered, roaming String type. Two-byte tracking area code in hexadecimal format. String type. 28-bit E-UTRAN cell ID in hexadecimal format. Integer type. Access technology selected. 0 GSM 2 UTRAN 3 GSM W/EGPRS 4 UTRAN W/HSDPA 5 UTRAN W/HSUPA 6 UTRAN W/HSDPA and HSUPA 7 E-UTRAN 8 UTRAN HSPA+ 9.10. AT+QGDCNT Packet Data Counter This command allows the application to check how much bytes are sent by or received by MT. AT+QGDCNT Packet Data Counter Test Command AT+QGDCNT=? Response +QGDCNT: (list of supported s) Quectel_EG060V-EA_AT_Commands_Manual 111 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+QGDCNT? Write Command AT+QGDCNT= Maximum Response Time Characteristics Reference Quectel OK Response +QGDCNT: , OK Response OK If there is any error: +CME ERROR: Or ERROR 300 ms Whether the command takes effect is determined by network. The configuration will not be saved. Parameter Integer type. The operation about data counter. 0 Reset the data counter 1 Save the results of data counter to NVM Integer type. The amount of sent bytes. String type. Two-byte tracking area code in hexadecimal format. The amount of received bytes. Error codes. For more details, refer to Chapter 12.2. NOTE When MT is powered on, and are loaded from results of data counter in NVM. The default result in NVM is 0. Example AT+QGDCNT=? +QGDCNT: (0,1) OK AT+QGDCNT? +QGDCNT: 3832,4618 //Test command. //Query the current bytes sent and received. Quectel_EG060V-EA_AT_Commands_Manual 112 / 161 OK AT+QGDCNT=1 OK AT+QGDCNT=0 OK LTE-A Module Series EG060V-EA AT Commands Manual //Save the results to NVM. //Reset the data counter. 9.11. AT+QAUGDCNT Auto Save Packet Data Counter This command allows AT+QGDCNT to save results to NVM automatically. AT+QGDCNT Auto Save Packet Data Counter Test Command AT+QAUGDCNT=? Response +QAUGDCNT: (list of supported s) Read Command AT+QAUGDCNT? OK Response +QAUGDCNT: Write Command AT+QAUGDCNT= OK Response OK Maximum Response Time Characteristics Reference If there is any error: +CME ERROR: Or ERROR 300 ms Whether the command takes effect is determined by network. The configuration will not be saved. Parameter Integer type. The parameter is the time-interval for AT+QGDCNT to save results to NVM automatically. If it is set to 0, auto-save feature is disabled. Range: 0, 30–65535. Default: 0. Unit: second. Error codes. For more details, refer to Chapter 12.2. Quectel_EG060V-EA_AT_Commands_Manual 113 / 161 Example AT+QAUGDCNT=? +QAUGDCNT: (0,30-65535) OK AT+QAUGDCNT=35 OK AT+QAUGDCNT? +QAUGDCNT: 35 OK LTE-A Module Series EG060V-EA AT Commands Manual //Test command. //Set to 35. //Query the interval of auto-save. 9.12. AT+AUTOAPN Auto-configure APN This command configures the APN used when the module starts. AT+AUTOAPN Auto-configure APN Test Command AT+AUTOAPN=? Response +AUTOAPN: (list of supported s),(list of supported s),,(range of supported s),< user_name>, Read Command AT+AUTOAPN? OK Response +AUTOAPN: Write Command AT+AUTOAPN=[,,[,[,,]]] OK Response OK Or ERROR Maximum Response Time 300 ms Characteristics The command takes effect after rebooting. The configurations will be saved automatically. Parameter Integer type. Specifies the APN. 0 Non-automatic APN. You need to manually configure APN-related parameters and save to system. After reboot, you can dial up to internet with Quectel_EG060V-EA_AT_Commands_Manual 114 / 161 LTE-A Module Series EG060V-EA AT Commands Manual the APN. 1 Automatic APN. The module dials up to internet with internal automatic APN configuration String type. Packet data protocol type. 'IP' Get IPv4 address from Internet 'IPV6' Get IPv6 address from Internet 'IPV4V6' Get IPv4 and IPv6 address from Internet The following parameters are only valid when is 0: String type. Access point name. Authentication way. 0 None 1 PAP 2 CHAP String type. Username used to dial up the Internet. String type. Password to dial up the Internet. Example AT+AUTOAPN? +AUTOAPN: 1 //Query the mode of APN configuration. OK AT+AUTOAPN=1,'IP' //Get IPv4 address from Internet. OK AT+AUTOAPN=? //Test command. +AUTOAPN: (0,1),('IP','IPV6','IPV4V6'),,(0-2),, OK 9.13. AT+ZGDCONT Define PDP Context This command specifies PDP context parameters for a specific context . A special form of the Write Command (AT+ZGDCONT=) causes the values for context to become undefined. This Read Command returns the current settings for each defined PDP context. AT+ZGDCONT Define PDP Context Test Command AT+ZGDCONT=? Response +ZGDCONT: (range of supported s),, , Quectel_EG060V-EA_AT_Commands_Manual 115 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+ZGDCONT? OK Response +ZGDCONT: ,,, Write Command AT+ZGDCONT=[,[,< APN>]] OK Response OK Or ERROR Maximum Response Time 300 ms Characteristics Reference 3GPP TS 27.007 The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. PDP context identifier. A numeric parameter which specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands. The range of permitted values (minimum value=1) is returned by the test form of the command. Range: 0–15. String type. Packet data protocol type, a string parameter which specifies the type of packet data protocol. Only 'IP', 'IPv6' and 'IPv4v6' are supported for EPS services. 'IP' Internet Protocol (IETF STD 5) 'IPV6' Internet Protocol, version 6 'IPV4V6' Virtual introduced to handle dual IP stack UE capability String type. Access point name, a string parameter that is a logical name used to select the GGSN or the external packet data network. If the value is null or omitted, then the subscription value will be requested. String type. Identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a dynamic address will be requested. The allocated address may be read using AT+ZGPADDR. 9.14. AT+ZGACT Activate or Deactivate PDP Context This Write Command activates or deactivates the specified PDP context(s) defined by AT+ZGDCONT. After the command has completed, the MT remains in V.250 command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the MT is not PS attached when the activation form of the command is executed, the MT first performs a PS attach and then Quectel_EG060V-EA_AT_Commands_Manual 116 / 161 LTE-A Module Series EG060V-EA AT Commands Manual attempts to activate the specified contexts. AT+ZGACT Activate or Deactivate PDP Context Test Command AT+ZGACT=? Response +ZGACT: (list of supported s) Read Command AT+ZGACT? OK Response +ZGACT: , […] Write Command AT+ZGACT=, OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 150 s, determined by network. Whether the command takes effect is determined by network. The configurations will not be saved. Parameter Integer type. Indicates the state of PDP context activation. 0 Deactivated 1 Activated Other values are reserved and will result in an ERROR response to the Write Command. Integer type. Specifies a particular PDP context definition (see AT+ZGDCONT). Error codes. For more details, refer to Chapter 12.2. Example AT+ZGDCONT=2,'IP','UNINET' OK AT+ZGACT=1,2 OK AT+ZGACT? +ZGACT: 1,1 +ZGACT: 2,1 //Define PDP context. //Activate PDP. //Query the current PDP context state. Quectel_EG060V-EA_AT_Commands_Manual 117 / 161 +ZGACT: 8,1 OK AT+ZGACT=0,2 OK LTE-A Module Series EG060V-EA AT Commands Manual //Deactivate the PDP. 9.15. AT+ZGPADDR Show PDP Address This Write Command returns a list of PDP addresses for the specified context identifiers defined by AT+ZGDCONT. If no is specified, the addresses for all defined contexts are returned. AT+ZGPADDR Show PDP Address Test Command AT+ZGPADDR=? Response +ZGPADDR: (list of defined s) Execution/Write Command AT+ZGPADDR[=[,[,…]]] OK Response +ZGPADDR: , […] Maximum Response Time Characteristics Reference 3GPP TS 27.007 OK Or ERROR 300 ms Whether the command takes effect is determined by network. The configurations will not be saved. Parameter Integer type. Specifies a particular PDP context definition (see AT+ZGDCONT). String type. Identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a dynamic address will be requested. The allocated address may be read using the AT+ZGPADDR command. Example AT+ZGDCONT=1,'IP','UNINET' OK //Define PDP context. Quectel_EG060V-EA_AT_Commands_Manual 118 / 161 AT+ZGACT=1,1 OK AT+ZGPADDR=1 +ZGPADDR: 1,'10.76.51.180' OK LTE-A Module Series EG060V-EA AT Commands Manual //Activate the PDP. //Show PDP address. 9.16. AT+QICSGP Define PDP Context This command specifies PDP context parameters for a specific context . A special form of the Write Command (AT+QICSGP=) causes the values for context to become undefined. AT+QICSGP Define PDP Context Test Command AT+QICSGP=? Response +QICSGP: (range of supported s),(range of suppor ted s),,,, (range of supported s) Read Command AT+QICSGP? OK Response +QICSGP: ,,,,< username>, Write Command AT+QICSGP=,[,< APN>[,,,[]]] OK Response If the optional parameters are omitted, query the configuration of a specified context: +QICSGP: ,,,, OK Characteristics If the optional parameters are specified, configure the parameters of the specified PDP context: OK Or ERROR The command takes effect immediately. The configurations will be saved automatically. Quectel_EG060V-EA_AT_Commands_Manual 119 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Parameter Integer type. The context ID. Range: 1–15. Integer type. The protocol type. 1 IPv4 2 IPv6 3 IPv4v6 String type. The access point name. String type. The username. The maximum length is 50 bytes. String type. The password. The maximum length is 50 bytes. Integer type. The authentication methods. 0 None 1 PAP 2 CHAP Example AT+QICSGP=1 +QICSGP: 1,'','','',0 OK AT+QICSGP=1,1,'UNINET',,,1 OK //Query the configurations of context 1. //Configure context 1. APN 'UNINET' stands for China Unicom. 9.17. AT+QNETDEVCTL Activate or Deactivate PDP Context This Write Command activates or deactivates the specified PDP context(s) defined by AT+QICSGP, and, if TA is disconnected from the network, indicate TA to reconnect to the network and automatically start the data call. After the command has completed, the MT remains in V.250 command state. If the PDP context specified is already in the requested state, its state remains unchanged after the execution of this command. If the MT is not PS-attached when the activation form of the command is executed, the MT first performs a PS attach and then attempts to activate the specified context(s). AT+QNETDEVCTL Test Command AT+QNETDEVCTL=? Activate or Deactivate PDP Context Response +QNETDEVCTL: (range of supported s),(range of supported s),(list of supported s) Read Command AT+QNETDEVCTL? OK Response +QNETDEVCTL: ,,, Quectel_EG060V-EA_AT_Commands_Manual 120 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Write Command AT+QNETDEVCTL=,[,] Maximum Response Time Characteristics OK Response OK If there is any error: +CME ERROR: Or ERROR 150 s, determined by network. The command takes effect immediately. The configurations will be saved automatically. Parameter Integer type. Whether to activate the specified PDP context. 0 Deactivate the specified PDP context 1 Activate the specified PDP context only once. It will not reconnect the network once disconnecting from the network. 2 Activate the specified PDP context. It will reconnect the network after disconnecting from the network. 3 Activate PDP Context and automatically start the data call after rebooting the module. It will reconnect the network after disconnecting from the network. Integer type. PDP context ID. Range: 1–15. Integer type. Whether to enable URC report function. 0 Disable 1 Enable Integer type. Activation state. 0 Deactivated 1 Activated Error codes. For more details, refer to Chapter 12.2. Example AT+QNETDEVCTL=1,2,1 OK AT+QNETDEVCTL? +QNETDEVCTL: 1,2,1,1 OK AT+QNETDEVCTL=0,2 OK //Activate the PDP. //Query the current PDP context state. //Deactivate the PDP. Quectel_EG060V-EA_AT_Commands_Manual 121 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 9.18. AT+QNETDEVSTATUS Show PDP Relevant Information This Write Command returns the relevant information , , , and of an active non-secondary PDP context with the context identifier . If the MT has dual stack capabilities, two lines of information are returned per . The first line presents IPv4 parameters while the second line IPv6 parameters. If is omitted, the relevant information for all active non-secondary PDP contexts is returned. AT+ QNETDEVSTATUS Show PDP Relevant Information Test Command AT+QNETDEVSTATUS=? Response +QNETDEVSTATUS: (list of s of active contexts) Execution/Write Command AT+QNETDEVSTATUS[=] OK Response +QNETDEVSTATUS: ,,,< DHCP>,, […] Maximum Response Time Characteristics OK Or ERROR 300 ms / Parameter Integer type. Specifies a particular PDP context (see AT+QICSGP for the definition of this context). Range: 1–15. String type. Shows the IP address and subnet mask of the MT. String type. Shows the gateway address of the MT. String type. Shows the DHCP address. String type. Shows the IP address of the primary DNS server. String type. Shows the IP address of the secondary DNS server. Example AT+QICSGP? +QICSGP: 1,1,'cmnet','','',0 OK AT+QNETDEVSTATUS=? Quectel_EG060V-EA_AT_Commands_Manual 122 / 161 LTE-A Module Series EG060V-EA AT Commands Manual +QNETDEVSTATUS: (1) OK AT+QNETDEVSTATUS +QNETDEVSTATUS: 1,'10.253.107.97','','','218.104.78.2','220.206.143.2' OK AT+QNETDEVSTATUS=1 +QNETDEVSTATUS: 1,'10.253.107.97','','','218.104.78.2','220.206.143.2' OK Quectel_EG060V-EA_AT_Commands_Manual 123 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 10 Audio Commands 10.1. AT+CLVL Loudspeaker Volume Level Selection This command selects the volume of the internal loudspeaker of MT. AT+CLVL Loudspeaker Volume Level Selection Test Command AT+CLVL=? Response +CLVL: (list of supporteds) Read Command AT+CLVL? OK Response +CLVL: Write Command AT+CLVL= Maximum Response Time Characteristics Reference Reference 3GPP TS 27.007 OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration(s) will not be saved. Parameter Integer type. Volume level with manufacturer specific range (Smallest value represents the lowest sound level). Range: 0–5; Default: 3. Error codes. For more details, refer to Chapter 12.2. 10.2. AT+QLDTMF Play Local DTMF This command plays a local DTMF string. It can be used to stop playing the DTMF string. Quectel_EG060V-EA_AT_Commands_Manual 124 / 161 LTE-A Module Series EG060V-EA AT Commands Manual AT+QLDTMF Play Local DTMF Test Command AT+QLDTMF=? Response +QLDTMF: (range of supported s),(list of supported s) Write Command AT+QLDTMF=, [,] OK Response OK If there is error related to ME functionality: +CME ERROR: Execution Command AT+QLDTMF Maximum Response Time Characteristics Reference Quectel After the DTMF string is completely played: +QLDTMF: 5 Response OK 300 ms The command takes effect immediately. The configurations will not be saved. Parameter Integer type. Indicates every DTMF’s play time and mute time. Range: 1–1000. String type. Maximum length: 20 characters, separated by comma. DTMF format: 0–9, *, #, A–D. Error codes. For more details, refer to Chapter 12.2. Example AT+QLDTMF=? +QLDTMF: (1-1000),(0-9,*,#,A-D) OK AT+QLDTMF=100,'1,2,A,B,#' OK AT+QLDTMF OK //Query the range. //Play '1,2,A,B,#' play time & mute time is 1 second. //Stop playing. Quectel_EG060V-EA_AT_Commands_Manual 125 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 10.3. AT+QAUDLOOP Enable/Disable Audio Loop Test This command enables/disables audio loop test. AT+QAUDLOOP Enable/Disable Audio Loop Test Test Command AT+QAUDLOOP=? Response +QAUDLOOP: (list of supported s) Read Command AT+QAUDLOOP? OK Response +QAUDLOOP: Write Command AT+QAUDLOOP= Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will not be saved. Parameter Integer type. Enables or disables audio loop test. 0 Disable audio loop test 1 Enable audio loop test 10.4. AT+QDAI Digital Audio Interface Configuration This command configures the digital audio interface. When there is no codec on board, you can define the PCM formats by themselves. In the following conditions, the MT can be used directly with default settings (master mode, short-synchronization, 2048 kHz clock frequency, 16-bit liner data format, 8 kHz sampling rate). AT+QDAI Digital Audio Interface Configuration Test Command AT+QDAI=? Response +QDAI: (list of supported s),(list of supported Quectel_EG060V-EA_AT_Commands_Manual 126 / 161 LTE-A Module Series EG060V-EA AT Commands Manual s),(list of supported s),(range of supported s),(list of supported s),(list of supported s),(list of supported s),(range of supported s) Read Command AT+QDAI? OK Response +QDAI: [,,,,,,,] Write Command AT+QDAI=[,,,[,[,[,,]]]] OK Response OK Or ERROR Maximum Response Time 300 ms Characteristics Reference Quectel The command takes effect after rebooting. The configuration will be saved automatically. Parameter x Unused (1-3,5 can be set automatically). Integer type. Enable master or slave mode. 0 Master mode 1 Slave mode Integer type. Enable primary or auxiliary mode. 0 Primary mode (short-synchronization) 1 Auxiliary mode (long-synchronization) Integer type. Clock frequency. 0 128 kHz 1 256 kHz 2 512 kHz 3 1024 kHz 4 2048 kHz 5 4096 kHz Integer type. Data format. 0 16-bit linear Integer type. Choose a sampling rate. 0 8 kHz 1 16 kHz Integer type. Quectel_EG060V-EA_AT_Commands_Manual 127 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 1 Number of slot Integer type. Slot mapping value. Range: 1–16. NOTES 1. 4096 kHz clock frequency is only applicable for 16 kHz sampling rate. 2. 128 kHz clock frequency is not supported. 3. Bit per frame = /. For example, if is 2048 kHz and is 8 kHz, then bit per frame is 256. Bit per frame should be greater than 16. 4. When slave mode is selected, master and synchronization clock should be provided for the MT. When a recommended codec is selected and 16 kHz sampling rate is required, input . Currently only ALC5616 supports 16 kHz (AT+QDAI=3,0,0,4,0,0,1,1). 10.5. AT+QSIDET Set Side Tone Gain in Current Mode This command sets the side tone gain value in current mode. It will take effect at next sound activity. AT+QSIDET Set Side Tone Gain in Current Mode Test Command AT+QSIDET=? Response +QSIDET: (list of supported s) Read Command AT+ QSIDET? OK Response +QSIDET: Write Command AT+QSIDET= Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration(s) will not be saved. Parameter Integer type. Indicates the configured side tone gain in current mode. Range: 0–65535. Default value might be different in different audio modes. Quectel_EG060V-EA_AT_Commands_Manual 128 / 161 LTE-A Module Series EG060V-EA AT Commands Manual NOTE This command will be valid only after audio loop test is enabled by AT+QAUDLOOP=1. 10.6. AT+QSLIC Enable/Disable SLIC This command enables/disables the SLIC. AT+QSLIC Enable/Disable SLIC Test Command AT+QSLIC=? Response +QSLIC: (list of supported s),(list of supported s) Read Command AT+ QSLIC? OK Response +QSIDET: , Write Command AT+QSLIC=, Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration(s) will not be saved. Parameter Integer type. Enables or disables SLIC. 0 Disable 1 Enable Integer type. Type of SLIC. 1 LE9643 2 SI32185 Quectel_EG060V-EA_AT_Commands_Manual 129 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 10.7. AT+QAUDMOD Set Audio Mode This command sets the audio mode required for the connected device. It will take effect at next sound activity. AT+QAUDMOD Set Audio Mode Test Command AT+QAUDMOD=? Response +QAUDMOD: (range of supported s) Read Command AT+QAUDMOD? OK Response +QAUDMOD: Write Command AT+ QAUDMOD= Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter Integer type. Indicates the current configured audio mode. 0 Echo canceller, noise suppressor, digital gain and calibration parameter for handset 1 Echo canceller, noise suppressor, digital gain and calibration parameter for headset 2 Echo canceller, noise suppressor, digital gain and calibration parameter for speaker 10.8. AT+QMIC Set Uplink Gains of Microphone This command sets the uplink gains of microphone. AT+QMIC Set Uplink Gains of Microphone Test Command AT+QMIC=? Response +QMIC: (range of supported s) Quectel_EG060V-EA_AT_Commands_Manual 130 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Read Command AT+QMIC? Write Command AT+QMIC= Maximum Response Time Characteristics Reference Quectel OK Response +QMIC: OK Response OK Or ERROR 300 ms The command takes effect immediately. The configuration will not be saved. Parameter Integer type. Uplink digital gain. Range: 0–65535. The default value may be different in different audio modes. 10.9. AT+QRXGAIN Set Downlink Gains of RX This command sets RX digital gains to change the downlink volume. AT+QRXAGIN Set Downlink Gains of RX Test Command AT+QRXGAIN=? Response +QRXGAIN: (range of supported s) Read Command AT+QRXGAIN? OK Response +QRXGAIN: Write Command AT+QRXGAIN = Maximum Response Time Characteristics OK Response OK Or ERROR 300 ms The command takes effect immediately. Quectel_EG060V-EA_AT_Commands_Manual 131 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Reference Quectel The configuration will not be saved. Parameter Integer type. Downlink digital gains. Range: 0–65535. The default value might be different in different audio modes. 10.10. AT+VTS DTMF and Tone Generation This command sends ASCII characters which cause MSC to transmit DTMF tones to a remote subscriber. This command can only be operated in a voice call. AT+VTS DTMF and Tone Generation Test Command AT+VTS=? Response +VTS: (list of supported s),(range of supported s) Write Command AT+VTS=[,] Maximum Response Time Characteristics Reference Quectel OK Response OK Or ERROR Depends on the length of and . The command takes effect immediately. The configurations will not be saved. Parameter String type. ASCII characters in the set 0...9,#,*, A, B, C, D. The string should be enclosed in quotation marks ('...'). When sending multiple tones at a time, the time interval of two tones can be specified by AT+VTD. The maximal length of the string is 31 bytes. The duration of each tone in 10 ms with tolerance. Range: 300–600. Default: 300. If the duration is less than the minimum time specified by the network, the actual duration will be the network specified time. If this parameter is omitted, can be specified by AT+VTS. Quectel_EG060V-EA_AT_Commands_Manual 132 / 161 Example ATD12345678900; OK //Call connected. AT+VTS='1' OK AT+VTS='1234567890A' OK LTE-A Module Series EG060V-EA AT Commands Manual //Dial. //The remote caller can hear the DTMF tone. //Send multiple tones at a time. Quectel_EG060V-EA_AT_Commands_Manual 133 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 11 Hardware Related Commands 11.1. AT+CCLK Clock This command sets and queries the real time clock (RTC) of the module. The current setting is retained until the module is totally disconnected from power. AT+CCLK Clock Test Command AT+CCLK=? Read Command AT+CCLK? Response OK Response +CCLK: Write Command AT+CCLK= OK Response OK Maximum Response Time Characteristics Reference 3GPP TS 27.007 If there is any error: +CME ERROR: Or ERROR 300 ms The command takes effect immediately. The configuration will be saved automatically. Parameter String type. The format is 'yy/MM/dd,hh:mm:ss±zz', indicating year (two last digits), month, day, hour, minutes, seconds and time zone (indicates the difference, expressed in quarters of an hour, between the local time and GMT; range: -48 to +56). E.g., May 6th, 1994, 22:10:00 GMT+2 hours equals to '94/05/06,22:10:00+08'. Quectel_EG060V-EA_AT_Commands_Manual 134 / 161 Example AT+CCLK? +CCLK: '20/09/29,15:39:31+32' OK LTE-A Module Series EG060V-EA AT Commands Manual //Query the local time. 11.2. AT+QSCLK Enable/Disable Low Power Mode This command controls whether to enable low power mode. When the low power mode is enabled, the module can directly enter low power mode. AT+QSCLK Enable/Disable Low Power Mode Test Command AT+QSCLK=? Response +QSCLK: (list of support s) Read Command AT+QSCLK? OK Response +QSCLK: Write Command AT+QSCLK= OK Response OK Maximum Response Time Characteristics Reference Quectel 300 ms The command takes effect immediately. The configuration will not be saved. Parameter Integer type. Low power mode. 0 Disable 1 Enable. It is controlled by DTR 11.3. AT+QPOWD Power off This command shuts down the module. The UE returns OK immediately when the command is executed. Quectel_EG060V-EA_AT_Commands_Manual 135 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Then the UE deactivates the network. After the deactivation is completed, the UE outputs POWERED DOWN and enters the shutdown state. The maximum time for unregistering network is 60 seconds. The UE is not allowed to turn off the power before the module STATUS pin is driven low or the URC POWERED DOWN is output to avoid data loss. AT+QPOWD Power off Test Command AT+QPOWD=? Response +QPOWD: (list of supported s) Execution Command AT+QPOWD[=] OK Response OK Maximum Response Time Characteristics 300 ms / Parameter Integer type. Power-off mode. 0 Immediate power down 1 Normal power down 11.4. AT+QADC Read ADC Value This command reads the voltage value of ADC channel. AT+QADC Read ADC Value Test Command AT+QADC=? Response +QADC: (list of supported s) Read Command AT+QADC= OK Response +QADC: , Maximum Response Time Characteristics OK 300 ms / Quectel_EG060V-EA_AT_Commands_Manual 136 / 161 Parameter LTE-A Module Series EG060V-EA AT Commands Manual Integer type. Channel number of the ADC. 0 ADC Channel 0 1 ADC Channel 1 Integer type. Whether the ADC value is read successfully. 0 Fail 1 Success Integer type. The voltage of specified ADC channel. Unit: mV. Quectel_EG060V-EA_AT_Commands_Manual 137 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 12 Appendix A References 12.1. References Table 3: Related Documents SN Document Name [1] V.25ter [2] 3GPP TS 27.007 [3] 3GPP TS 27.005 Remark Serial asynchronous automatic dialing and control Digital cellular telecommunications (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; AT command set for User Equipment (UE) Digital cellular telecommunications (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; Use of Data Terminal Equipment – Data Circuit terminating Equipment (DTE-DCE) interface for Short Message Service (SMS) and Cell Broadcast Service (CBS) Table 4: Terms and Abbreviations Abbreviation 3GPP ADC AMR APN ARFCN ASCII BAIC Description 3rd Generation Partnership Project Analog-to-Digital Converter Adaptive Multi-Rate Access Point Name Absolute Radio-Frequency Channel Number American Standard Code for Information Interchange Bar All Incoming Calls Quectel_EG060V-EA_AT_Commands_Manual 138 / 161 BAOC BCD BOIC BOIC-exHC CBM CCH CHAP CS CSD CUG DCD DCE DCS DHCP DPCH DTE DTMF DTR EARFCN ECC ECM ECT EDGE EGPRS eHRPD LTE-A Module Series EG060V-EA AT Commands Manual Bar All Outgoing Calls Binary-Coded Decimal Bar Outgoing International Calls Bar Outgoing International Calls except to Home Country Cell Broadcast Message Control Channel Challenge-Handshake Authentication Protocol Circuit Switching Circuit Switch Data Closed User Group Data Carrier Detection Data Communication Equipment Data Coding Scheme Dynamic Host Configuration Protocol Dedicated Physical Channel Data Terminal Equipment Dual-Tone Multifrequency Data Terminal Ready E-UTRA Absolute Radio Frequency Channel Number Emergency Call Ethernet Networking Control Model Explicit Call Transfer supplementary service Enhanced Data Rates for GSM Evolution Enhanced General Packet Radio Service evolved High Rate Packet Data Quectel_EG060V-EA_AT_Commands_Manual 139 / 161 EPS E-UTRAN FDD FDPCH GGSN GMM GMT GPIO GPRS GSM HDR HLR HSDPA HSPA+ HSUPA ICCID IE IIC IMEI IMS IMSI IPv4 IPv6 IRA LLC LTE-A Module Series EG060V-EA AT Commands Manual Evolved Packet System Evolved Universal Terrestrial Radio Access Network Frequency Division Duplex Fraction-Dedicated Physical Channel Gateway GPRS Support Node GPRS Mobility Management Greenwich Mean Time General-Purpose Input/Output General Packet Radio Service Global System for Mobile Communications High Data Rate Home Location Register High Speed Downlink Packet Access High Speed Packet Access High Speed Uplink Packet Access Integrated Circuit Card Identifier Information Element Inter-Integrated Circuit International Mobile Equipment Identity IP Multimedia Subsystem IMS International Mobile Subscriber Identity Internet Protocol version 4 Internet Protocol version 6 International Reference Alphabet Logical Link Control Quectel_EG060V-EA_AT_Commands_Manual 140 / 161 LTE-A MAC ME MiFi MO MS MSC MSISDN MT NAS NCM NITZ NSAPI NVM PAP PCI PCM P-CSCF PDP PDU PIN PLMN PPP PS PSC LTE-A Module Series EG060V-EA AT Commands Manual Long Term Evolution Advanced Medium Access Control Mobile Equipment Mobile Wi-Fi Mobile Originated Mobile Station Mobile Switching Center Mobile Subscriber International ISDN/PSTN number Mobile Terminal Non-Access Stratum Network Control Model Network Identity and Time Zone/Network Informed Time Zone Network Service Access Point Identifier Non-volatile-Memory Password Authentication Protocol Physical Cell Identity Pulse Code Modulation Proxy-Call Session Control Function Packet Data Protocol Packet Data Unit Personal Identification Number Public Land Mobile Network Point-to-Point Protocol Packet Switching Primary Synchronization Code Quectel_EG060V-EA_AT_Commands_Manual 141 / 161 PUK QoS RAB RAT RDI RF RNDIS RP RP SC RR RRC RTC RTS/CTS RX RxQual SAP SDU SINR SM SMS SMSC SNDCP TA TCP TDD LTE-A Module Series EG060V-EA AT Commands Manual PIN Unlock Key Quality of Service Radio Access Bearer Radio Access Technology Remote Defect Indication Radio Frequency Remote Network Driver Interface Specification Relay Protocol Relay Protocol Service Center Radio Resource Radio Resource Control Real-Time Clock Request To Send/Clear To Send Receive Receive Quality Service Access Point Service Data Unit Signal-to-interference-plus-noise Ratio Session Management Short Message Service Short Message Service Center SubNetwork Dependent Convergence Protocol Terminal Adapter Transmission Control Protocol Time Division Duplex Quectel_EG060V-EA_AT_Commands_Manual 142 / 161 TE TFT TPDU UART UDP UE UICC UIM UMTS URC USB USC-2 (U)SIM U-TRA VLR WCDMA LTE-A Module Series EG060V-EA AT Commands Manual Terminal Equipment Traffic Flow Template Transport Protocol Data Unit Universal Asynchronous Receiver/Transmitter User Datagram Protocol User Equipment Universal Integrated Circuit Card User Identity Model Universal Mobile Telecommunications System Unsolicited Result Code Universal Serial Bus Universal Character Set (UCS-2) Format (Universal) Subscriber Identity Module Universal Terrestrial Radio Access Network Visiting Location Register Wideband Code Division Multiple Access 12.2. Summary of CME ERROR Codes Final result code +CME ERROR: indicates an error related to mobile equipment or network. The operation is similar to ERROR result code. values are mostly used by common message commands. The following table lists most of the general and GRPS related ERROR codes. For some GSM protocol failure causes described in GSM specifications, the corresponding ERROR codes are not included here. Quectel_EG060V-EA_AT_Commands_Manual 143 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table 5: Different Coding Schemes of +CME ERROR: Code of 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 20 21 22 23 24 25 Meaning Phone failure No connection to phone Phone-adaptor link reserved Operation not allowed Operation not supported PH-SIM PIN required PH-FSIM PIN required PH-FSIM PUK required SIM not inserted SIM PIN required SIM PUK required SIM failure SIM busy SIM wrong Incorrect password SIM PIN2 required SIM PUK2 required Memory full Invalid index Not found Memory failure Text string too long Invalid characters in text string Quectel_EG060V-EA_AT_Commands_Manual 144 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 26 Dial string too long 27 Invalid characters in dial string 30 No network service 31 Network timeout 32 Network not allowed - emergency calls only 40 Network personalization PIN required 41 Network personalization PUK required 42 Network subset personalization PIN required 43 Network subset personalization PUK required 44 Service provider personalization PIN required 45 Service provider personalization PUK required 46 Corporate personalization PIN required 47 Corporate personalization PUK required 901 Audio unknown error 902 Audio invalid parameters 903 Audio operation not supported 904 Audio device busy 12.3. Summary of CMS ERROR Codes Final result code +CMS ERROR: indicates an error related to mobile equipment or network. The operation is similar to ERROR result code. values are mostly used by common message commands. Quectel_EG060V-EA_AT_Commands_Manual 145 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table 6: Different Coding Schemes of +CMS ERROR: Code of 300 301 302 303 304 305 310 311 312 313 314 315 316 317 318 320 321 322 330 331 332 500 512 Meaning ME failure SMS ME reserved Operation not allowed Operation not supported Invalid PDU mode Invalid text mode SIM not inserted SIM pin necessary PH SIM pin necessary SIM failure SIM busy SIM wrong SIM PUK required SIM PIN2 required SIM PUK2 required Memory failure Invalid memory index Memory full SMSC address unknown No network Network timeout Unknown SIM not ready Quectel_EG060V-EA_AT_Commands_Manual 146 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 513 Message length exceeds 514 Invalid request parameters 515 ME storage failure 517 Invalid service mode 528 More message to send state error 529 MO SMS is not allowed 530 GPRS is suspended 531 ME storage full 12.4. Summary of URC Table 7: Summary of URC Index URC Display Meaning Condition 1 +CREG: Indicate registration status of the ME AT+CREG=1 After cell neighborhood changing +CREG: [,,[, shows whether the network has 2 AT+CREG=2 ]] currently indicated the registration of the ME, with location area code 3 +CGREG: Indicate network registration status of AT+CGREG=1 the ME +CGREG: [,, Indicate network registration and 4 AT+CGREG=2 [,]] location information of the ME 5 +CTZV: Time zone reporting AT+CTZR=1 6 +CTZE: ,, Extended time zone reporting AT+CTZR=2 +COLP: ,,[< The presentation of the COL 17 subaddr>],[],[] mobile originated call 24 RDY ME initialization is successful N/A 25 +CFUN: 1 All function of the ME is available N/A Quectel_EG060V-EA_AT_Commands_Manual 147 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 26 +CPIN: SIM card pin state N/A 27 +QIND: SMS DONE SMS initialization finished N/A 28 +QIND: PB DONE Phonebook initialization finished N/A 29 POWERED DOWN Module power down AT+QPOWD +CGEV: REJECT , and was automatically rejected. +CGEV: NW REACT ,,[] reactivation AT+CGEREP=2,1 +CGEV: NW DEACT ,,[] deactivation +CGEV: ME DEACT ,,[] deactivation. AT+CGEREP=2,1 34 +CGEV: NW DETACH The network has forced a Packet AT+CGEREP=2,1 Domain detach. 35 +CGEV: ME DETACH The mobile equipment has forced a AT+CGEREP=2,1 Packet Domain detach. The network has forced a change of 36 +CGEV: NW CLASS AT+CGEREP=2,1 MS class. The mobile equipment has forced a 37 +CGEV: ME CLASS AT+CGEREP=2,1 change of MS class. 12.5. SMS Character Sets Conversions In 3GPP TS 23.038 DCS (Data Coding Scheme) defined three kinds of alphabets in SMS, GSM 7-bit default alphabet, 8-bit data and UCS2 (16-bit). AT+CSMP can set the DCS in text mode (AT+CMGF=1). In text mode, DCS (Data Coding Scheme) and AT+CSCS determine the way of SMS text input or output. Table 8: The Way of SMS Text Input or Output DCS GSM 7-bit GSM 7-bit GSM 7-bit AT+CSCS GSM IRA UCS2 The Way of SMS Text Input or Output Input or output GSM character sets. Input or output IRA character sets. Input: UE will convert IRA characters to GSM characters. Output: UE will convert GSM characters to IRA characters. Input or output a hex string similar to PDU mode. So only support Quectel_EG060V-EA_AT_Commands_Manual 148 / 161 LTE-A Module Series EG060V-EA AT Commands Manual UCS2 - 8-bit - characters ‘0’-‘9’ and ‘A’-‘F’. Input: UE will convert the UCS2 hex string to GSM characters. Output: UE will convert the GSM characters to UCS2 hex string. Ignore the value of AT+CSCS, input or output a hex string similar to PDU mode. So only support characters ‘0’-‘9’ and ‘A’-‘F’. Ignore the value of AT+CSCS, input or output a hex string similar to PDU mode. So only support characters ‘0’-‘9’ and ‘A’-‘F’. When DCS=GSM 7-bit, the input or output needs conversion. The detailed conversion tables are shown below. Table 9: The Input Conversions Table (DCS=GSM 7-bit and AT+CSCS='GSM') 0 1 2 3 4 5 6 7 0 00 10 20 30 40 50 60 70 1 01 11 21 31 41 51 61 71 2 02 12 22 32 42 52 62 72 3 03 13 23 33 43 53 63 73 4 04 14 24 34 44 54 64 74 5 05 15 25 35 45 55 65 75 6 06 16 26 36 46 56 66 76 7 07 17 27 37 47 57 67 77 8 08 18 28 38 48 58 68 78 9 09 19 29 39 49 59 69 79 A 0A Submit 2A 3A 4A 5A 6A 7A B 0B Cancel 2B 3B 4B 5B 6B 7B C 0C 1C 2C 3C 4C 5C 6C 7C D 0D 1A 2D 3D 4D 5D 6D 7D E 0E 1E 2E 3E 4E 5E 6E 7E F 0F 1F 2F 3F 4F 5F 6F 7F Quectel_EG060V-EA_AT_Commands_Manual 149 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table 10: The Output Conversions Table (DCS=GSM 7-bit and AT+CSCS='GSM') 0 1 2 3 4 5 6 7 0 00 10 20 30 40 50 60 70 1 01 11 21 31 41 51 61 71 2 02 12 22 32 42 52 62 72 3 03 13 23 33 43 53 63 73 4 04 14 24 34 44 54 64 74 5 05 15 25 35 45 55 65 75 6 06 16 26 36 46 56 66 76 7 07 17 27 37 47 57 67 77 8 08 18 28 38 48 58 68 78 9 09 19 29 39 49 59 69 79 A 0D0A 2A 3A 4A 5A 6A 7A B 0B 2B 3B 4B 5B 6B 7B C 0C 1C 2C 3C 4C 5C 6C 7C D 0D 1A 2D 3D 4D 5D 6D 7D E 0E 1E 2E 3E 4E 5E 6E 7E F 0F 1F 2F 3F 4F 5F 6F 7F Table 11: GSM Extended Characters 0 1 2 3 4 5 6 7 0 1B40 1 2 3 4 1B14 Quectel_EG060V-EA_AT_Commands_Manual 150 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 5 6 7 8 1B28 9 1B29 A B C 1B3C D 1B3D E 1B3E F 1B2F Table 12: The Input Conversions Table (DCS=GSM 7-bit and AT+CSCS='IRA') 0 1 2 3 4 0 20 20 30 00 1 20 20 21 31 41 2 20 20 22 32 42 3 20 20 23 33 43 4 20 20 02 34 44 5 20 20 25 35 45 6 20 20 26 36 46 7 20 20 27 37 47 8 backspace 20 28 38 48 9 20 20 29 39 49 A 0A Submit 2A 3A 4A B 20 Cancel 2B 3B 4B 5 6 50 20 51 61 52 62 53 63 54 64 55 65 56 66 57 67 58 68 59 69 5A 6A 1B3C 6B 7 70 71 72 73 74 75 76 77 78 79 7A 1B28 Quectel_EG060V-EA_AT_Commands_Manual 151 / 161 C 20 D 0D E 20 F 20 LTE-A Module Series EG060V-EA AT Commands Manual 20 2C 3C 4C 20 2D 3D 4D 20 2E 3E 4E 20 2F 3F 4F 1B2F 6C 1B3E 6D 1B14 6E 11 6F 1B40 1B29 1B3D 20 Table 13: IRA Extended Characters A B C D E F 0 20 20 20 20 7F 20 1 40 20 20 5D 20 7D 2 20 20 20 20 20 08 3 01 20 20 20 20 20 4 24 20 5B 20 7B 20 5 03 20 0E 20 0F 20 6 20 20 1C 5C 1D 7C 7 5F 20 09 20 20 20 8 20 20 20 0B 04 0C 9 20 20 1F 20 05 06 A 20 20 20 20 20 20 B 20 20 20 20 20 20 C 20 20 20 5E 07 7E D 20 20 20 20 20 20 E 20 20 20 20 20 20 F 20 60 20 1E 20 20 Quectel_EG060V-EA_AT_Commands_Manual 152 / 161 LTE-A Module Series EG060V-EA AT Commands Manual Table 14: The Output Conversions Table (DCS=GSM 7-bit and AT+CSCS='IRA') 0 1 2 3 4 5 6 7 0 40 20 20 30 A1 50 BF 70 1 A3 5F 21 31 41 51 61 71 2 24 20 22 32 42 52 62 72 3 A5 20 23 33 43 53 63 73 4 E8 20 A4 34 44 54 64 74 5 E9 20 25 35 45 55 65 75 6 F9 20 26 36 46 56 66 76 7 EC 20 27 37 47 57 67 77 8 F2 20 28 38 48 58 68 78 9 C7 20 29 39 49 59 69 79 A 0D0A 2A 3A 4A 5A 6A 7A B D8 2B 3B 4B C4 6B E4 C F8 C6 2C 3C 4C D6 6C F6 D 0D E6 2D 3D 4D D1 6D F1 E C5 DF 2E 3E 4E DC 6E FC F E5 C9 2F 3F 4F A7 6F E0 Table 15: GSM Extended Characters 0 1 2 3 4 5 6 7 0 7C 1 2 3 4 5E Quectel_EG060V-EA_AT_Commands_Manual 153 / 161 LTE-A Module Series EG060V-EA AT Commands Manual 5 6 7 8 7B 9 7D A B C 5B D 7E E 5D F 5C Because the low 8 bits of UCS2 character is the same as the IRA character: The conversion table of DCS=GSM 7-bit and AT+CSCS='UCS2' is similar to AT+CSCS='IRA'. The conversion table of fmt=GSM 7-bit and AT+CSCS='GSM' is similar to AT+CSCS='GSM'. The conversion table of fmt= GSM 7-bit and AT+CSCS='IRA' is similar to AT+CSCS='IRA'. The conversion table of fmt=GSM 7-bit and AT+CSCS='UCS2' is similar to AT+CSCS='IRA'. The difference is the way of SMS text input or output. See Table 8 for more details. 12.6. Release Cause Text List of AT+CEER Table 16: Release Cause Text List of AT+CEER CS Internal Cause No cause information available (default) Phone is offline No service available Network release, no reason given Quectel_EG060V-EA_AT_Commands_Manual 154 / 161 Received incoming call Client ended call UIM not present Access attempt already in progress Access failure, unknown source Concur service not supported by network No response received from network GPS call ended for user call SMS call ended for user call Data call ended for emergency call Rejected during redirect or handoff Lower-layer ended call Call origination request failed Client rejected incoming call Client rejected setup indication Network ended call No funds available No service available Full service not available Maximum packet calls exceeded Video connection lost Video protocol closed after setup Video protocol setup failure Internal error CS Network Cause Unassigned/unallocated number Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 155 / 161 No route to destination Channel unacceptable Operator determined barring Normal call clearing User busy No user responding User alerting, no answer Call rejected Number changed Non selected user clearing Destination out of order Invalid/incomplete number Facility rejected Response to status enquiry Normal, unspecified No circuit/channel available Network out of order Temporary failure Switching equipment congestion Access information discarded Requested circuit/channel not available Resources unavailable, unspecified Quality of service unavailable Requested facility not subscribed Incoming calls barred within the CUG Bearer capability not authorized Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 156 / 161 Bearer capability not available Service/option not available Bearer service not implemented ACM >= ACM max Requested facility not implemented Only RDI bearer is available Service/option not implemented Invalid transaction identifier value User not member of CUG Incompatible destination Invalid transit network selection Semantically incorrect message Invalid mandatory information Message non-existent/not implemented Message type not compatible with state IE non-existent/not implemented Conditional IE error Message not compatible with state Recovery on timer expiry Protocol error, unspecified Interworking, unspecified CS Network Reject IMSI unknown in HLR Illegal MS IMSI unknown in VLR IMEI not accepted Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 157 / 161 Illegal ME GPRS services not allowed GPRS and non GPRS services not allowed MS identity cannot be derived Implicitly detached PLMN not allowed Location area not allowed Roaming not allowed GPRS services not allowed in PLMN No suitable cells in location area MSC temporary not reachable Network failure MAC failure Synch failure Congestion GSM authentication unacceptable Service option not supported Requested service option not subscribed Service option temporary out of order Call cannot be identified No PDP context activated Semantically incorrect message Invalid mandatory information Message type non-existent Message type not compatible with state Information element non-existent Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 158 / 161 Message not compatible with state RR release indication RR random access failure RRC release indication RRC close session indication RRC open session failure Low level failure Low level failure no redial allowed Invalid SIM No service Timer T3230 expired No cell available Wrong state Access class blocked Abort message received Other causes Timer T303 expired No resources Release pending Invalid user data PS Internal Cause Invalid connection identifier Invalid NSAPI Invalid primary NSAPI PDP establish timeout Invalid field Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 159 / 161 SNDCP failure RAB setup failure No GPRS context PDP activate timeout PDP modify timeout PDP inactive max timeout PDP lower layer error PDP duplicate Access technology change PDP unknown reason CS PS Network Cause LLC or SNDCP failure Insufficient resources Missing or unknown APN Unknown PDP address or PDP type User authentication failed Activation rejected by GGSN Activation rejected, unspecified Service option not supported Requested service option not subscribed Service option temporary out of order NSAPI already used (not sent) Regular deactivation QoS not accepted Network failure Reactivation required Quectel_EG060V-EA_AT_Commands_Manual LTE-A Module Series EG060V-EA AT Commands Manual 160 / 161 Feature not supported Semantic error in the TFT operation Syntactical error in the TFT operation Unknown PDP context PDP context without TFT already activated Semantic errors in packet filter Syntactical errors in packet filter Invalid transaction identifier Semantically incorrect message Invalid mandatory information Message non-existent/not implemented Message type not compatible with state IE non-existent/not implemented Conditional IE error Message not compatible with state Protocol error, unspecified LTE-A Module Series EG060V-EA AT Commands Manual Quectel_EG060V-EA_AT_Commands_Manual 161 / 161
1.06 MB
RG50xQ&RM5xxQ 系列 AT 命令手册 5G 模块系列 版本:1.0 日期:2021-08-09 状态:受控文件 RG50xQ&RM5xxQ 系列 AT 命令手册 上海移远通信技术股份有限公司始终以为客户提供最及时、最全面的服务为宗旨。如需任何帮助,请随时 联系我司上海总部,联系方式如下: 上海移远通信技术股份有限公司 上海市闵行区田林路 1016 号科技绿洲 3 期(B 区)5 号楼 电话:+86 21 51086236 邮箱:info@quectel.com 邮编:200233 或联系我司当地办事处,详情请登录:http://www.quectel.com/cn/support/sales.htm。 如需技术支持或反馈我司技术文档中的问题,可随时登陆如下网址: http://www.quectel.com/cn/support/technical.htm 或发送邮件至:support@quectel.com。 前言 上海移远通信技术股份有限公司提供该文档内容用以支持其客户的产品设计。客户须按照文档中提供的规 范、参数来设计其产品。因未能遵守有关操作或设计规范而造成的损害,上海移远通信技术股份有限公司 不承担任何责任。在未声明前,上海移远通信技术股份有限公司有权对该文档进行更新。 免责声明 上海移远通信技术股份有限公司尽力确保开发中功能的完整性、准确性、及时性或效用,但不排除上述功 能错误或遗漏的可能。除非其他有效协议另有规定,否则上海移远通信技术股份有限公司对开发中功能的 使用不做任何暗示或明示的保证。在适用法律允许的最大范围内,上海移远通信技术股份有限公司不对任 何因使用开发中功能而遭受的损失或损害承担责任,无论此类损失或损害是否可以预见。 保密义务 除非上海移远通信技术股份有限公司特别授权,否则我司所提供文档和信息的接收方须对接收的文档和信 息保密,不得将其用于除本项目的实施与开展以外的任何其他目的。未经上海移远通信技术股份有限公司 书面同意,不得获取、使用或向第三方泄露我司所提供的文档和信息。对于任何违反保密义务、未经授权 使用或以其他非法形式恶意使用所述文档和信息的违法侵权行为,上海移远通信技术股份有限公司有权追 究法律责任。 版权申明 本文档版权属于上海移远通信技术股份有限公司,任何人未经我司允许而复制转载该文档将承担法律责任。 版权所有 ©上海移远通信技术股份有限公司 2021,保留一切权利。 Copyright © Quectel Wireless Solutions Co., Ltd. 2021. 上海移远通信技术股份有限公司 1 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 文档历史 修订记录 版本 日期 - 2020-12-08 1.0 2021-08-09 作者 变更表述 Amos ZHANG/ Yosef ZHANG/ Harden XU/ Gibson PAN/ Tako ZHANG/ Amos ZHANG/ Yosef ZHANG/ Harden XU/ Tako ZHANG/ Evan JIN/ Ozzy ANG/ Shaun DUAN/ Joseph WANG/ Pacifier WANG/ Bill ZHANG 文档创建 受控版本 上海移远通信技术股份有限公司 2 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 目录 文档历史 ........................................................................................................................................................ 2 目录 ............................................................................................................................................................... 3 表格索引 ........................................................................................................................................................ 9 1 引言 ...................................................................................................................................................... 10 1.1. 本章概要 .................................................................................................................................... 10 1.2. 定义 ........................................................................................................................................... 10 1.3. AT 命令语句.............................................................................................................................. 11 1.4. AT 命令响应.............................................................................................................................. 12 1.5. AT 示例声明............................................................................................................................... 12 1.6. 支持的字符集............................................................................................................................. 12 1.7. AT 命令端口............................................................................................................................... 13 1.8. 未经请求的结果码 ..................................................................................................................... 13 1.9. 关闭程序 .................................................................................................................................... 13 2 通用命令 ............................................................................................................................................... 14 2.1. ATI 显示 MT 的 ID 信息........................................................................................................... 14 2.2. AT+GMI 请求制造商信息 ........................................................................................................ 15 2.3. AT+GMM 请求 MT 型号 ID ..................................................................................................... 15 2.4. AT+GMR 请求 MT 固件版本 ID .............................................................................................. 16 2.5. AT+CGMI 请求制造商信息 ..................................................................................................... 16 2.6. AT+CGMM 请求 MT 型号 ID................................................................................................... 17 2.7. AT+CGMR 请求 MT 固件版本 ID............................................................................................ 17 2.8. AT+GSN 请求国际移动设备识别码(IMEI 号) ..................................................................... 18 2.9. AT+CGSN 请求国际移动设备识别码(IMEI 号) .................................................................. 19 2.10. AT&F 重置 AT 命令设置为出厂设置 ....................................................................................... 19 2.11. AT&V 显示当前配置................................................................................................................ 20 2.12. AT&W 存储当前设置到用户自定义配置文件 .......................................................................... 21 2.13. ATZ 从用户定义配置文件还原所有 AT 命令设置 .................................................................... 21 2.14. ATQ 设置结果码回显模式 ....................................................................................................... 22 2.15. ATV MT 响应格式 ................................................................................................................... 22 2.16. ATE 设置命令回显模式 ........................................................................................................... 24 2.17. A/ 重复上一个命令行 .............................................................................................................. 24 2.18. ATS3 设置命令行终止符 ......................................................................................................... 25 2.19. ATS4 设置响应格式字符 ......................................................................................................... 25 2.20. ATS5 设置命令行编辑字符 ..................................................................................................... 26 2.21. ATX 设置 CONNECT 结果码格式和检测呼叫进程 ................................................................. 26 2.22. AT+CFUN 设置功能模式 ........................................................................................................ 27 2.23. AT+CMEE 设置错误讯息格式................................................................................................. 29 2.24. AT+CSCS 选择 TE 字符集 ..................................................................................................... 30 2.25. AT+QURCCFG 配置 URC 指示选项 ...................................................................................... 31 2.26. AT+QMBNCFG 设置 MBN 文件配置 ...................................................................................... 32 上海移远通信技术股份有限公司 3 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 2.26.1. 2.26.2. 2.26.3. 2.26.4. 2.26.5. 2.26.6. AT+QMBNCFG='List' 查询 MBN 文件列表................................................................. 32 AT+QMBNCFG='Select' 选择导入的 MBN 文件 ........................................................ 33 AT+QMBNCFG='Deactivate' 去激活 MBN 文件......................................................... 34 AT+QMBNCFG='AutoSel' 自动选择是否激活 MBN 文件 ........................................... 34 AT+QMBNCFG='Delete' 删除 MBN 文件 ................................................................... 35 AT+QMBNCFG='Add' 添加 MBN 文件 ....................................................................... 35 3 状态控制命令........................................................................................................................................ 37 3.1. AT+CPAS 查询 MT 活动状态.................................................................................................. 37 3.2. AT+CEER 拓展错误上报 ........................................................................................................ 38 3.3. AT+QCFG 拓展配置 ............................................................................................................... 39 3.3.1. AT+QCFG='hsdpacat' 配置 HSDPA 类别................................................................... 40 3.3.2. AT+QCFG='hsupacat' 配置 HSUPA 类别................................................................... 40 3.3.3. AT+QCFG='rrc' 配置 RRC 版本.................................................................................. 41 3.3.4. AT+QCFG='pdp/duplicatechk' 使用相同 APN 建立多个 PDN.................................... 42 3.3.5. AT+QCFG='risignaltype' 设置 RI 信号输出载波 ......................................................... 43 3.3.6. AT+QCFG='data_interface' 通过 PCIe/USB 接口设置网络端口/诊断端口通信 ......... 44 3.3.7. AT+QCFG='pcie/mode' 设置 PCIe RC/EP 模式......................................................... 45 3.3.8. AT+QCFG='usbspeed' 设置 USB 速率模式 ............................................................... 46 3.4. AT+QINDCFG 控制 URC 上报 ............................................................................................... 47 4 (U)SIM 卡相关命令............................................................................................................................... 49 4.1. AT+CIMI 查询 IMSI ................................................................................................................. 49 4.2. AT+CLCK 功能锁定 ................................................................................................................ 50 4.3. AT+CPIN PIN 管理 ................................................................................................................. 51 4.4. AT+CPWD 修改密码............................................................................................................... 53 4.5. AT+CSIM (U)SIM 卡访问........................................................................................................ 55 4.6. AT+CRSM (U)SIM 卡受限访问............................................................................................... 56 4.7. AT+CCHO 打开逻辑信道........................................................................................................ 57 4.8. AT+CCHC 关闭逻辑信道 ........................................................................................................ 58 4.9. AT+CGLA 通用 UICC 逻辑信道访问....................................................................................... 59 4.10. AT+QPINC 获取 PIN 剩余重试次数........................................................................................ 60 4.11. AT+QINISTAT 查询(U)SIM 卡初始化状态............................................................................... 61 4.12. AT+QSIMDET (U)SIM 卡检测 ................................................................................................ 62 4.13. AT+QSIMSTAT (U)SIM 卡插拔状态上报 ................................................................................ 63 4.14. AT+QUIMSLOT 设置(U)SIM 卡槽 .......................................................................................... 65 5 网络服务命令........................................................................................................................................ 66 5.1. AT+COPS 选择运营商............................................................................................................ 66 5.2. AT+CREG CS 域注册状态...................................................................................................... 68 5.3. AT+CGREG GPRS 网络注册状态.......................................................................................... 69 5.4. AT+CEREG EPS 网络注册状态 ............................................................................................. 71 5.5. AT+C5GREG 5GS 网络注册状态........................................................................................... 73 5.6. AT+CGDCONT 定义 PDP 上下文 .......................................................................................... 74 5.7. AT+C5GNSSAI 设置 5GS NSSAI .......................................................................................... 78 5.8. AT+C5GNSSAIRDP 读取 5GS NSSAI 动态参数值................................................................ 79 上海移远通信技术股份有限公司 4 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 5.9. AT+CSQ 查询信号强度........................................................................................................... 81 5.10. AT+QRSRP 查询 RSRP 值..................................................................................................... 82 5.11. AT+QRSRQ 查询 RSRQ 值.................................................................................................... 83 5.12. AT+QSINR 查询 SINR 值 ....................................................................................................... 84 5.13. AT+CPOL 配置首选运营商列表.............................................................................................. 85 5.14. AT+COPN 查询运营商名称列表 ............................................................................................. 87 5.15. AT+CTZU 自动更新时区......................................................................................................... 87 5.16. AT+CTZR 上报时区变化......................................................................................................... 88 5.17. AT+QLTS 获取通过网络同步的最新时间................................................................................ 90 5.18. AT+QNWINFO 查询网络信息 ................................................................................................. 92 5.19. AT+QSPN 查询运营商名称 .................................................................................................... 94 5.20. AT+QENG 查询主小区和邻区信息 ......................................................................................... 95 5.21. AT+QCAINFO 查询载波聚合参数......................................................................................... 100 5.22. AT+QENDC 查询 EN-DC 状态 ............................................................................................. 101 5.23. AT+QSCAN 搜索邻近小区 ................................................................................................... 102 5.24. AT+QNWCFG 配置和查询网络参数 ..................................................................................... 103 5.24.1. AT+QNWCFG='csi_ctrl' 控制 LTE 和 5G NR CSI 获取 ............................................ 104 5.24.2. AT+QNWCFG='lte_csi' 查询 LTE CSI 信息.............................................................. 105 5.24.3. AT+QNWCFG='nr5g_csi' 查询 5G NR CSI 信息...................................................... 106 5.24.4. AT+QNWCFG='lte_cell_id' 查询 LTE 小区标识........................................................ 106 5.24.5. AT+QNWCFG='nr5g_cell_id' 查询 5G NR SA 小区标识.......................................... 107 5.24.6. AT+QNWCFG='WCDMA_cqi' 查询 WCDMA CQI 信息 ........................................... 108 5.24.7. AT+QNWCFG='up/down' 获取增量时间内平均上下行速率 ..................................... 109 5.24.8. AT+QNWCFG='data_path' 查询 NSA 网络下用户层下行数据路径.......................... 110 5.24.9. AT+QNWCFG='dss_enable' 启用/禁用 DSS 功能 ....................................................111 5.24.10. AT QNWCFG='lapi' 设置 UE 低优先级..................................................................... 112 5.25. AT+QNWPREFCFG 配置网络搜索偏好 ............................................................................... 113 5.25.1. AT+QNWPREFCFG='gw_band' 配置 WCDMA 频段 ............................................... 113 5.25.2. AT+QNWPREFCFG='lte_band' 配置 LTE 频段........................................................ 114 5.25.3. AT+QNWPREFCFG='nsa_nr5g_band' 配置 5G NR NSA 频段 ............................... 115 5.25.4. AT+QNWPREFCFG='nr5g_band' 配置 5G NR SA 频段.......................................... 116 5.25.5. AT+QNWPREFCFG='mode_pref' 配置网络搜索模式.............................................. 117 5.25.6. AT+QNWPREFCFG='srv_domain' 配置服务域 ....................................................... 118 5.25.7. AT+QNWPREFCFG='voice_domain' 配置语音域.................................................... 119 5.25.8. AT+QNWPREFCFG='roam_pref' 配置漫游偏好 ...................................................... 120 5.25.9. AT+QNWPREFCFG='ue_usage_setting' 配置 UE 使用模式................................... 121 5.25.10. AT+QNWPREFCFG='policy_band' 查询运营商策略频段 ........................................ 121 5.25.11. AT+QNWPREFCFG='ue_capability_band' 查询 UE 频段能力 ................................ 123 5.25.12. AT+QNWPREFCFG='rat_acq_order' 配置 RAT 优先级........................................... 124 5.25.13. AT+QNWPREFCFG='nr5g_disable_mode' 禁用 5G NR 配置................................. 125 6 呼叫相关命令...................................................................................................................................... 127 6.1. ATA 呼叫应答 ........................................................................................................................ 127 6.2. ATD 发起呼叫 ....................................................................................................................... 128 6.3. ATH 挂断现有连接 ................................................................................................................ 130 上海移远通信技术股份有限公司 5 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 6.4. AT+CVHU 控制语音通话挂断 ............................................................................................... 130 6.5. AT+CHUP 挂断通话.............................................................................................................. 131 6.6. ATS0 设置自动应答前振铃次数 ............................................................................................ 131 6.7. ATS6 设置盲拨前的等待时间................................................................................................ 132 6.8. ATS7 设置呼叫建立完成的等待时间..................................................................................... 133 6.9. ATS8 设置逗号修饰符等待时间 ............................................................................................ 134 6.10. ATS10 设置断开连接延迟时间.............................................................................................. 134 6.11. AT+CSTA 选择地址类型 ....................................................................................................... 135 6.12. AT+CLCC 查询当前 MT 呼叫 ............................................................................................... 136 6.13. AT+CR 控制服务上报 ........................................................................................................... 137 6.14. AT+CRC 设置来电指示扩展格式 .......................................................................................... 138 6.15. AT+CRLP 设置无线链路协议................................................................................................ 139 6.16. AT+QECCNUM 配置紧急电话号码 ...................................................................................... 140 6.17. AT^DSCI 指示呼叫状态 ........................................................................................................ 144 7 电话本相关命令 .................................................................................................................................. 147 7.1. AT+CNUM 查询本机号码...................................................................................................... 147 7.2. AT+CPBF 搜索电话本记录 ..................................................................................................... 148 7.3. AT+CPBR 读取电话本记录................................................................................................... 149 7.4. AT+CPBS 设置电话本存储器 ............................................................................................... 150 7.5. AT+CPBW 写入电话本记录 .................................................................................................. 151 8 短消息相关命令 .................................................................................................................................. 153 8.1. AT+CSMS 选择短消息服务类型 ........................................................................................... 153 8.2. AT+CMGF 配置短消息模式 .................................................................................................. 154 8.3. AT+CSCA 设置短消息服务中心地址 .................................................................................... 155 8.4. AT+CPMS 配置短消息首选存储位置.................................................................................... 156 8.5. AT+CMGD 删除短消息 ......................................................................................................... 158 8.6. AT+CMGL 按照状态读取短消息 ........................................................................................... 159 8.7. AT+CMGR 按照索引读取短消息 .......................................................................................... 161 8.8. AT+CMGS 发送短消息 ......................................................................................................... 165 8.9. AT+CMMS 发送多条短消息.................................................................................................. 166 8.10. AT+CMGW 存储短消息 ........................................................................................................ 167 8.11. AT+CMSS 从存储器发送短消息 ........................................................................................... 169 8.12. AT+CNMA 新短消息确认........................................................................................................ 171 8.13. AT+CNMI 设置新短消息上报方式......................................................................................... 172 8.14. AT+CSCB 选择小区广播消息类型........................................................................................ 174 8.15. AT+CSDH 设置文本模式下参数显示 .................................................................................... 175 8.16. AT+CSMP 设置短消息文本模式参数.................................................................................... 176 9 分组域命令 ......................................................................................................................................... 178 9.1. AT+CGATT PS 域附着或去附着 ........................................................................................... 178 9.2. AT+CGQREQ 服务质量参数(请求的) .............................................................................. 179 9.3. AT+CGQMIN 服务质量参数(最低可接受的) .................................................................... 182 9.4. AT+CGACT PDP 上下文激活/去激活 ................................................................................... 184 9.5. AT+CGDATA 进入数传状态 .................................................................................................. 185 上海移远通信技术股份有限公司 6 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 9.6. AT+CGPADDR 显示 PDP 地址............................................................................................. 186 9.7. AT+CGEREP 分组域事件上报 ............................................................................................. 187 9.8. AT+CGSMS 选择 MO 短消息服务........................................................................................ 190 9.9. AT+QGDCNT 流量统计 ........................................................................................................ 190 9.10. AT+QGDNRCNT 5G NR 流量统计....................................................................................... 192 9.11. AT+QAUGDCNT 自动保存流量统计 .................................................................................... 193 9.12. AT+QNETDEVSTATUS 查询 RmNet 设备状态.................................................................... 194 10 补充业务命令...................................................................................................................................... 197 10.1. AT+CCFC 呼叫转移.............................................................................................................. 197 10.2. AT+CCWA 呼叫等待控制...................................................................................................... 199 10.3. AT+CHLD 呼叫相关补充业务 ............................................................................................... 201 10.4. AT+CLIP 主动上报来电号码 ................................................................................................. 203 10.5. AT+CLIR 主叫号码限制 ........................................................................................................ 205 10.6. AT+COLP 被叫线路识别显示 ............................................................................................... 206 10.7. AT+CSSN 补充业务通知 ...................................................................................................... 207 10.8. AT+CUSD 非结构化补充数据业务........................................................................................ 208 11 音频命令 ............................................................................................................................................. 210 11.1. AT+CLVL 扬声器音量等级选择............................................................................................. 210 11.2. AT+CRSL 设置铃声音量 ....................................................................................................... 211 11.3. AT+CMUT 控制静音 ............................................................................................................. 211 11.4. AT+QAUDLOOP 控制音频循环测试..................................................................................... 212 11.5. AT+VTS 生成 DTMF 音 ........................................................................................................ 213 11.6. AT+VTD 设置 DTMF 音时长................................................................................................. 214 11.7. AT+QAUDMOD 设置音频模式 ............................................................................................. 215 11.8. AT+QDAI 配置数字音频接口 ................................................................................................ 216 11.9. AT+QSIDET 设置当前模式的侧音增益................................................................................. 218 11.10. AT+QMIC 设置麦克风的上行增益 ........................................................................................ 219 11.11. AT+QIIC 读写 IIC .................................................................................................................. 220 11.12. AT+QPCMV 启用/禁用 UAC 功能......................................................................................... 221 11.13. AT+QLDTMF 控制本地 DTMF 音的播放 .............................................................................. 222 11.14. AT+QAUDCFG 查询和配置音频调音流程 ............................................................................ 223 11.14.1. AT+QAUDCFG='slic/AudLoop' 开启/关闭模拟话机的回环音测试功能和拨号音...... 223 11.14.2. AT+QAUDCFG='slic/LF_Ring' 设置状态寄存器 ....................................................... 224 11.14.3. AT+QAUDCFG='slic_IndRep' 配置 SLIC 模拟话机的事件上报功能 ........................ 225 11.14.4. AT+QAUDCFG='slic_cid' 测试 SLIC 的来电显示功能.............................................. 226 11.14.5. AT+QAUDCFG='aif' 切换音频接口和传输协议......................................................... 227 11.14.6. AT+QAUDCFG='i2s/cfg' 配置 I2S ............................................................................ 228 11.15. AT+QSLIC 启用/禁用 SLIC................................................................................................... 229 12 硬件相关命令...................................................................................................................................... 232 12.1. AT+QPOWD 关闭模块.......................................................................................................... 232 12.2. AT+CCLK 实时时钟 .............................................................................................................. 232 12.3. AT+QADC 查询 ADC 值 ....................................................................................................... 233 12.4. AT+QSCLK 配置休眠模式 .................................................................................................... 234 上海移远通信技术股份有限公司 7 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 12.5. AT+QTEMP 查询 MT 温度值 ................................................................................................ 235 12.6. AT+QAGPIO 设置 AP 或 PMU 的 GPIO 输出电平 ............................................................... 236 12.7. AT+QETH RGMII 扩展配置 .................................................................................................. 237 12.7.1. AT+QETH='rgmii' 启用/禁用 RGMII.......................................................................... 238 12.7.2. AT+QETH='ipptmac' 设置 IP Passthrough-RGMII 模式的 MAC 地址 ...................... 240 12.7.3. AT+QETH='routing' 设置多路拨号的路由规则 ......................................................... 240 12.7.4. AT+QETH='mac_address' 查询 RGMII 接口的 MAC 地址....................................... 242 12.7.5. AT+QETH='speed' 设置 RGMII 速率........................................................................ 243 12.7.6. AT+QETH='an' 启用/禁用 RGMII 自动协商 .............................................................. 244 12.7.7. AT+QETH='dm' 设置 RGMII 双工模式 ..................................................................... 245 12.7.8. AT+QETH='eth_driver' 选择待加载以太网驱动 ........................................................ 245 12.7.9. AT+QETH='eth_at' 使能/禁止通过以太网口收发 AT 命令 ........................................ 246 12.8. AT+QGETCAPABILITY 获取 UE 支持的频段和 LTE 传输速率等级 ..................................... 247 13 附录 .................................................................................................................................................... 249 13.1. 术语缩写 .................................................................................................................................. 249 13.2. AT&F 影响到的 AT 命令及参数................................................................................................ 256 13.3. AT&W 影响到的 AT 命令及参数 .............................................................................................. 258 13.4. ATZ 影响到的 AT 命令及参数 .................................................................................................. 258 13.5. CME ERROR 错误码汇总 ....................................................................................................... 259 13.6. CMS ERROR 错误码汇总 ....................................................................................................... 261 13.7. URC 汇总 ................................................................................................................................ 262 13.8. SMS 字符集转换 ..................................................................................................................... 265 13.9. AT+CEER 扩展错误报告列表.................................................................................................. 271 上海移远通信技术股份有限公司 8 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 表格索引 表 1:适用模块 ........................................................................................................................................... 10 表 4:AT 命令类型.......................................................................................................................................11 表 3:AT&V 响应 ........................................................................................................................................ 20 表 4:ATV0&ATV1 结果代码数值等效项和简要说明 ................................................................................. 23 表 5:延迟类别 ......................................................................................................................................... 181 表 6:术语缩写 ......................................................................................................................................... 249 表 7:AT&F 影响到的 AT 命令及参数....................................................................................................... 256 表 8:AT&W 影响到的 AT 命令及参数 ..................................................................................................... 258 表 9:ATZ 影响到的 AT 命令及参数 ......................................................................................................... 258 表 10:+CME ERROR: 错误码描述 ................................................................................................ 259 表 11:+CMS ERROR: 错误码描述 ................................................................................................ 261 表 12:URC 汇总 ..................................................................................................................................... 262 表 13:SMS 文本输入和输出方式............................................................................................................ 265 表 14:输入转换表(DCS 为 GSM 7-bit 且 AT+CSCS='GSM') ........................................................... 265 表 15:输出转换表(DCS 为 GSM 7-bit 且 AT+CSCS='GSM') ........................................................... 266 表 16:GSM 扩展字符(GSM 编码)...................................................................................................... 267 表 17:输入转换表(DCS 为 GSM 7-bit 且 AT+CSCS='IRA') ............................................................. 267 表 18:IRA 扩展字符 ................................................................................................................................ 268 表 19:输出转换表(DCS 为 GSM 7-bit 且 AT+CSCS='IRA') ............................................................. 269 表 20:GSM 扩展字符(ISO-8859-1/Unicode) ..................................................................................... 270 表 21:AT+CEER 扩展错误报告列表....................................................................................................... 271 上海移远通信技术股份有限公司 9 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 1 引言 1.1. 本章概要 本文档介绍移远通信 5G 模块 RG50xQ 和 RM5xxQ 系列模块支持的 AT 命令集。 表 1:适用模块 模块系列 RG50xQ RM5xxQ 模块 RG500Q-EA RG500Q-CN RG501Q-EU RG502Q-EA RM500Q 系列 RM502Q 系列 RM510Q-GL RM505Q-AE 1.2. 定义 ⚫ ⚫ ⚫ ⚫ […] ⚫ 下划线 回车符。 换行符。 参数名称。实际命令行中不包含尖括号。 可选参数或 TA 信息响应的可选部分。实际命令行中不包含方括号。若无特别说明, 配置命令中的可选参数被省略时,将默认使用其之前已设置的值或其默认值。 参数的默认设置。 上海移远通信技术股份有限公司 10 / 277 RG50xQ&RM5xxQ 系列 AT 命令手册 1.3. AT 命令语句 前缀 AT 或 at 必须加在每个命令行的开头。输入 将终止命令行。通常,命令后面跟随形式为 的响应。在本文档中表现命令和响应的表格中,省略了 , 仅显示命令和响应。 RG50xQ 和 RM5xxQ 系列模块实现的 AT 命令可以在语法上分为两类:基础类、S 参数类和扩展类, 如下所列。 ⚫ 基础类 基础类 AT 命令的格式为 AT 或 AT&,其中 是命令, 是该命令的参数。 以 ATE 为例,DCE 会根据 的取值确定是否将接收到的字符回显给 DTE。若 为可 选参数,则其被省略时将使用其默认值。 ⚫ S 参数类 此类 AT 命令格式有 ATS=,其中是 S 寄存器的索引,是赋予的参数值。 ⚫ 扩展类 扩展类 AT 命令可以在多种模式下运行,如下表所示: 表 2:AT 命令类型 AT 命令类型 语句 测试命令 AT+=? 查询命令 AT+? 描述 测试是否存在相应的设置命令,并返回有关其参 数的类型、值或范围的信息。 查询相应设置命令的当前参数值。 设置命令 AT+=[,[,[...]]] 设置用户可定义的参数值。 执行命令 AT+ 返回特定的参数信息或执行特定的操作。 可以用分号(;)将多个命令放在同一行。此时只有第一个命令带有 AT 前缀。命令可以是大写或小写。 输入 AT 命令时,可以忽略空格。但以下情况除外: ⚫ 带引