MC52i作服务器用的命令和步骤

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

一、Configuration Commands配置命令

1、AT&F Set all current paramete rs to manufacturer defaults设置所有的当前参数到出厂设置

2、AT&V Display current configuration显示当前的配置

AT&V

ACTIVE PROFILE:

E1 Q0 V1 X4 &C1 &D2 &S0 \Q0

S0:000 S3:013 S4:010 S5:008 S6:000 S7:060 S8:000 S10:002 S18:000

+CBST: 7,0,1

+CRLP: 61,61,78,6

+CR: 0

+FCLASS: 0

+CRC: 0

+CMGF: 0

+CNMI: 0,0,0,0,1

+ILRR: 0

+IPR: 57600

+CMEE: 0

^SMGO: 0,0

+CSMS: 0,1,1,1

^SACM: 0,"000000","000000"

^SLCC: 0

^SCKS: 0,1

+CREG: 0,1

+CLIP: 0,2

+CAOC: 0

+COPS: 0,0,"CHN-CUGSM"

+CGSMS: 3

OK

3、AT&W Stores current configur ation to user defined profile存储当前的配置到用户定义的文件中

4、ATQ Result code presentation mode

ATQ0

ATQ1

5、ATV Result code format mode

ATV0 //第一行内容前没有回车和换行,但内容后有回车并换行了,//第二行返回码是用数据的行式,有回车,但没有换行

ATV1 //每行都有回车和换行,返回码是字符形式

总、程序中需要用到的命令

1、测试命令AT

AT

OK

2、查询信号强度AT+CSQ

AT+CSQ

+CSQ: 23,99

OK

3、关回显ATE

ATE0 //关回显

ATE1 //开回显

4、使能主动URC CREG状态上送AT+CREG=1 AT+CREG?

+CREG: 0,1

OK

AT+CREG=1

OK

AT+CREG?

+CREG: 1,1

OK

5、AT+CGREG GPRS Netw ork Registration Status

AT+CGREG?

+CGREG: 1,0 //还没有注册上GPRS ,要用at+cgatt=1

6、挂掉电话AT+CHUP

RING

RING

AT+CHUP

OK

7、波特率设置AT+IPR=57600

AT+IPR?

+IPR: 57600

OK

AT+IPR=9600

OK

AT+IPR?

+IPR: 9600

OK

8、AT+CFUN Set phone functionality设置电话的功能

9、AT\Q3

10、AT+CMEE=2设置错误输出冗长的字符串

11、AT+GMR Request revision identification of software status请求软件版本

AT+GMR

REVISION 01.200

OK

13、GPRS附着和离去AT+CGATT GPRS attach or detach AT+CGATT?

+CGATT: 0

OK

AT+CGATT=?

+CGATT: (0,1)

OK

AT+CGATT=1

OK

+CGREG: 1

AT+CGATT?

+CGATT: 1

OK

AT+CGREG?

+CGREG: 1,1

OK

AT^SISS?

^SISS: 0,"srvType",""

^SISS: 1,"srvType",""

^SISS: 2,"srvType",""

^SISS: 3,"srvType",""

^SISS: 4,"srvType",""

^SISS: 5,"srvType",""

^SISS: 6,"srvType",""

^SISS: 7,"srvType",""

^SISS: 8,"srvType",""

^SISS: 9,"srvType",""

OK

15、AT^SGCONF Configuration of GPRS related Parameters AT^SGCONF=?

^SGCONF: (0,140-1520),(1,2,4,8,10)

OK

AT^SGCONF?

^SGCONF: 1520,10

OK

at^siss?

^SISS: 0,"srvType",""

^SISS: 1,"srvType","Socket"

^SISS: 1,"conId","0"

^SISS: 1,"alphabet","0"

^SISS: 1,"address","socktcp://122.224.247.190:6800" ^SISS: 1,"tcpMR","10"

^SISS: 1,"tcpOT","6000"

^SISS: 2,"srvType","Socket"

^SISS: 2,"conId","0"

^SISS: 2,"alphabet","0"

^SISS: 2,"address","socktcp://122.224.247.183:30005" ^SISS: 2,"tcpMR","10"

^SISS: 2,"tcpOT","6000"

^SISS: 3,"srvType",""

^SISS: 4,"srvType",""

^SISS: 5,"srvType",""

^SISS: 6,"srvType",""

^SISS: 7,"srvType",""

^SISS: 8,"srvType",""

^SISS: 9,"srvType",""

OK

相关文档
最新文档