Syntax:
“AT”<command_name><string><CR><LF>
Where:
<command_name>,前边可以有一个”+”;
AT+CGMI
p; 获取manufacturer identification
AT+CGMM
获取模块型号
AT+CGMR
获取固件版本
AT+CGSN
获取IMEI(International Mobile Equipment Identity)
AT+CSCS=<chest> AT+CSCS? AT+CSCS=?
Select the TE character set.
AT+CIMI
获取IMSI(International Mobile Subscriber Identity)
AT+CCID
获取ICCID(Integrated Circuit Card ID)of the SIM-Card.
ICCID是SIM卡的串号
AT+GCAP
返回模块功能
AT+CSQ 查信号强度
AT+COPS? 强制尝试去选择并注册GSM网络
AT+CREG
AT+USOCL=<socket> 关闭socket
创建GPRS链接
AT+UPSD=0,1,"CMNET" 设置APN
AT+UPSDA=0,3 激活GPRS链接
AT+UPSND=0,0 检查动态IP
AT+USOCR=6 创建TCP链接
AT+USOCR=17 创建UDP链接
AT+USOCO=0,"123.138.77.84",10007 连接服务器
写数据
AT+USOWR=<socket>,<length>,<data>
AT+USOWR=<socket>,<length> // 等待@
data[length]
+USOWR:<socket>,<length>
OK
+UUSORD:<socket>,<length> 通知用户收到数据
读数据
AT+USORD=<socket>,<length>
+USORD:<socket>,<length>,”data[length]”
OK
文章评论(0条评论)
登录后参与讨论