内容发布更新时间 : 2024/11/5 13:42:26星期一 下面是文章的全部内容请认真阅读。
3G Modem AT指令集
1
2
3
4
常规命令 ....................................................................................................................... 4 1.1 AT .................................................................................................................................. 4 1.2 ATE ............................................................................................................................... 4 1.3 AT+CGSN ..................................................................................................................... 4 1.4 AT+CSCS ...................................................................................................................... 4 电话本 ........................................................................................................................... 5 2.1 AT+CPBS ...................................................................................................................... 5 2.2 AT+CPBR ..................................................................................................................... 6 2.3 AT+CPBW .................................................................................................................... 7 短消息 ........................................................................................................................... 8 3.1 AT+CSMS ..................................................................................................................... 8 3.2 AT+CPMS ..................................................................................................................... 9 3.3 AT+CMGF .................................................................................................................. 10 3.4 AT+CSCA ................................................................................................................... 11 3.5 AT+CMGL .................................................................................................................. 11 3.6 AT+CMGR .................................................................................................................. 13 3.7 AT+CMGS .................................................................................................................. 13 3.8 AT+CMGW ................................................................................................................. 14 3.9 AT+CMGD ................................................................................................................. 15 3.10 AT+CNMI ................................................................................................................... 15 3.11 +CMTI ........................................................................................................................ 17 3.12 +CMT .......................................................................................................................... 17 3.13 +CDSI ......................................................................................................................... 17 3.14 +CDS........................................................................................................................... 18 语音呼叫 ..................................................................................................................... 19 4.1 ATD ............................................................................................................................. 19 4.2 ATA ............................................................................................................................. 19 4.3 AT+CHUP ................................................................................................................... 19 4.4 AT+VTS ...................................................................................................................... 20 4.5 AT+CRC ..................................................................................................................... 20 4.6 AT+ CCFC .................................................................................................................. 21 4.7 AT+CLCC ................................................................................................................... 22 4.8 AT+CLIP ..................................................................................................................... 23 4.9 AT+CSQ ...................................................................................................................... 23 4.10 AT+CREG ................................................................................................................... 24 4.11 AT+CGREG ................................................................................................................ 24 4.12 AT+CPIN .................................................................................................................... 25 4.13 AT+CPWD .................................................................................................................. 26
5
4.14 AT+CLCK ................................................................................................................... 27 4.15 AT+ZPINPUK ............................................................................................................. 28 4.16 AT+CFUN ................................................................................................................... 28 4.17 AT+COPS ................................................................................................................... 29 网络 ............................................................................................................................. 30 5.1 AT+ZSNT ................................................................................................................... 30 5.2 AT+ZDON .................................................................................................................. 30 5.3 AT+ZPAS .................................................................................................................... 31
1 常规命令
1.1 AT
命令描述
空指令。ME回应OK。
1.2 ATE
Enable command echo ATE
1.3 AT+CGSN
IMEI查询命令 AT+CGSN AT+CGSN =?
该命令查询单板的IMEI。 取值说明
8 char TAC 6 char SNR 1 char Spare TAC 设备分配的类型码 SNR 设备序列号 Spare 备用
1.4 AT+CSCS
选择TE字符集
AT+CSCS=
该命令用于选择TE字符集。电话号码的传输将不按照CSCS设置的字符集,因为电话号码足以用7bit来表示,这就是说即使chset=USC2,号码还是按照IRA传输。其它文本(比如短消息内容,电话本姓名等)一律按照协议要求。命令引用自3GPP TS27.007。 取值说明
< chset >: “GSM” GSM默认字符 GSM Default Alphabet “HEX” 8bit 十六进制编码 “UCS2” 16bit Unicode
2 电话本
2.1 AT+CPBS
Select phone storage 选择电话本存储位置 AT+CPBS=? 返回所有支持的
选择电话本存储位置,其它的电话本操作将访问本条指令选择的存储位置。 取值说明
“MC” 最近未接电话 “RC” 最近已接电话 “ON” 本机电话号码列表 “ME” 手机上的NVRAM存贮器 “SM” SIM卡 “FD” SIM/USIM卡内固化的电话本 “AP” UICC应用电话本 “BD” SIM禁止的电话本,读取时需要输入PIN,写入时需要输入PIN2
注:某些存储区不支持返回
命令:AT+CPBS=?
回应:
命令:AT+CPBS?
回应:
2.2 AT+CPBR
读电话本记录 AT+CPBR=? 返回支持的记录号、电话号码长度、文本长度: +CPBR:(list of supported